Problems with postfix aliases

Discussion in 'Mac OS X Server, Xserve, and Networking' started by Analog Kid, Aug 31, 2012.

  1. macrumors 68030

    Analog Kid

    Mar 4, 2003
    I can't figure out what's misconfigured. I can send and receive email fine. I've added a line to /etc/aliases:

    baz: user@domain.tld

    Where user exists and has been confirmed to receive mail. When I send to baz@domain.tld, postfix expands the alias but then bounces back to sender saying user@domain.tld is unknown. If I just click the "unknown" address in the bounce message, Mail creates a message to that sender, and it delivers without an issue.

    I've been pulling my hair out over this for days. Eventually baz should have multiple destinations, but I can't even get this simple case to fire.

    Any ideas what I'm doing wrong?
  2. macrumors newbie

    Jul 17, 2012
  3. thread starter macrumors 68030

    Analog Kid

    Mar 4, 2003
    Thanks. Yeah, I did-- and checked that the timestamp on aliases.db updated as well, which it does.

    I think I found part of the problem. Turns out I wasn't using the users's system user name, but one of the aliases in's "Advanced Options" for Users.

    I believe if you alias to another alias, postfix recursively expands those, but I might have that wrong. It doesn't appear that Server's aliases are taken into account there. Any ideas how to make postfix search that alias list?

    In fact, I can't figure out how postfix recognizes the Server's aliases at all.

    The main reason I'm trying to do this is to better understand how postfix does its job, but I'd also like to avoid exposing the user name over email-- I'd prefer to have everything go through at least one level of alias so that those aliases can be changed when the spam gets out of hand.

Share This Page