Mail forwarding doesn't work (10.6.3 Server)

Discussion in 'Mac OS X Server, Xserve, and Networking' started by shesmu, May 26, 2010.

  1. macrumors newbie

    Jul 26, 2009

    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 from my Gmail account:

    [SIZE="2"]May 26 23:09:13 example postfix/smtpd7351: connect from
    May 26 23:09:14 example postfix/smtpd7351: 3ACB55172E:
    May 26 23:09:14 example postfix/cleanup7358: 3ACB55172E: message-id=<>
    May 26 23:09:14 example postfix/qmgr5213: 3ACB55172E: from=<>, 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=<>, orig_to=<>, 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[/SIZE]
    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
  2. macrumors newbie

    Jun 17, 2010
    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.

  3. macrumors newbie

    Jun 21, 2010
    You need to add the line to your aliases file:
    Then run the newaliases command in terminal
  4. thread starter macrumors newbie

    Jul 26, 2009

Share This Page