View Full Version : Mail forwarding doesn't work (10.6.3 Server)

May 26, 2010, 04:07 PM

I can't get mail forwarding to work on 10.6.3 Server.
This is my first server setup experience, so please tell me if my post lacks some info.
I've set up DNS, Open Directory master etc. and everything seems to work properly.
Using Workgroup Manager, I've set up several user accounts for mail, and they seem to work as well, at least messages sent to and from these accounts is delivered without problems.

Then I wanted to set up a postmaster account. All mail sent to it should be forwarded to a 'third-party' email. I've created 'postmaster' user in Workgroup Manager, selected 'Forward' in Mail tab for this user, and entered email address to forward to. Here's what I see in /var/log/mail after sending a message to postmaster@example.com from my Gmail account:

May 26 23:09:13 example postfix/smtpd7351: connect from mail-wy0-f171.google.com
May 26 23:09:14 example postfix/smtpd7351: 3ACB55172E: client=mail-wy0-f171.google.com
May 26 23:09:14 example postfix/cleanup7358: 3ACB55172E: message-id=<AANLkTimc4evHF8t2gi_VoxSEpKHixz42R3Nj7DHgFl9d@mail.gmail.com>
May 26 23:09:14 example postfix/qmgr5213: 3ACB55172E: from=<example@gmail.com>, size=1763, nrcpt=1 (queue active)
May 26 23:09:14 example postfix/local7359: odgetpwnam_ext: no attribute dsAttrTypeStandard:MailAttribute in record for user root
May 26 23:09:14 example postfix/local7359: 3ACB55172E: to=<root@example.com>, orig_to=<postmaster@example.com>, relay=local, delay=0.24, delays=0.23/0.01/0/0, dsn=2.0.0, status=sent (delivered to file: /dev/null)
May 26 23:09:14 example postfix/qmgr5213: 3ACB55172E: removed
May 26 23:09:44 example postfix/smtpd7351: disconnect from mail-wy0-f171.google.com

As far as I can understand, the mail is
1) delivered to root instead of postmaster;
2) delivered to /dev/null instead of being forwarded.

I've restarted all services and even rebooted the server without success.

If there is any additional info regarding server setup I should provide, please let me know.

Thanks in advance!

Mac Mini Server 2.53GHz, Mac OS X Server 10.6.3

Jun 17, 2010, 10:22 AM
I would just suggest you avoid use the postmaster account.

Postmaster is known to be reserved by system and, possibly it is reserved for root in fact. ( can not be 100% sure).

But just create a email account with any non-reserved name, try it and wish you good luck.


Jun 21, 2010, 03:32 PM
You need to add the line to your aliases file:


Then run the newaliases command in terminal

Jun 21, 2010, 09:09 PM
Thanks guys.
I've already got a reply at Apple's forum, here's the link: