PDA

View Full Version : Mac OS X Server 10.4 unable to send mail to self




GRMrGecko
Jan 23, 2009, 11:29 PM
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
Jan 24, 2009, 02:00 AM
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
Feb 3, 2009, 06:06 AM
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