Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

GRMrGecko

macrumors member
Original poster
Jun 7, 2008
89
0
Nowhere and everywhere
Hello I just installed Mac OS X server and everything is going fine, the only problem I can't find out is that when I send email to myself using mail function in php, it would not send and say this in the logs
Jan 23 22:11:35 hostname postfix/pipe[560]: E7B1B717D1: to=<support@example.com>, relay=cyrus, delay=1, status=bounced (data format error. Command output: support: Mailbox does not exist )
Jan 23 22:11:35 hostname postfix/cleanup[554]: E9EEF717D4: message-id=<20090124041135.E9EEF717D4@example.com>
Jan 23 22:11:35 hostname postfix/qmgr[92]: E9EEF717D4: from=<>, size=2929, nrcpt=1 (queue active)
Jan 23 22:11:35 hostname postfix/qmgr[92]: E7B1B717D1: removed
Jan 23 22:11:36 hostname postfix/local[559]: E9EEF717D4: to=<root@example.com>, orig_to=<daemon@example.com>, relay=local, delay=1, status=sent (delivered to file: /dev/null)
Jan 23 22:11:36 hostname postfix/qmgr[92]: E9EEF717D4: removed

From that message I see that it can't find a mailbox and it's not going to the relay server. There for it deletes it by making the bytes null.
I'm not using the built in mail because my internet provider blocks the port 25 and make you relay your out going mail to their smtp server, and if they block it, I can't receive email (Unless I'm wrong about email being receive at port 25).

If you need me too I can attach main.cf and master.cf.

Any help? Thanks,
Mr. Gecko
 

GRMrGecko

macrumors member
Original poster
Jun 7, 2008
89
0
Nowhere and everywhere
Finally figured it out. My problem was the hostname I needed it to be mail.example.com instead of example.com, and now I can get emails from my server.
 

ziad-for-mac

macrumors newbie
Feb 3, 2009
3
0
Finally figured it out. My problem was the hostname I needed it to be mail.example.com instead of example.com, and now I can get emails from my server.

go to mail>> settings>>general>>domain name : example.com , host name : example.com
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.