postfix-users April 2012 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Address re-writes

Address re-writes

From: Daniel L. Miller <dmiller_at_nospam>
Date: Tue Apr 03 2012 - 16:47:23 GMT
To: postfix-users@postfix.org

I'm sure I've done something dumb as usual - I just don't see it.

My users are all virtual and stored in LDAP. I also have LDAP aliases.
I also have recipient, sender, canonical, and transport entries.

I have defined a particular alias in LDAP - this alias is mapped to two
users. If I send a message to that alias, using Hotmail as an external
test, it processes correctly.

 From main.cf:
smtpd_sender_restrictions =
     reject_unlisted_sender,
     check_sender_access hash:/etc/postfix/maps/fax-access

and fax-access:
message@inbound.efax.com REDIRECT thealias@amfes.com

It appears that the redirection occurs - but then is handed to the lda
for delivery, without resolving the alias. This used to work when I was
using a simple mailbox - but is now broken when using the alias.

-- Daniel