I'm not sure what I've done wrong, but aliases for virtual users is not 
working.  A postmap -q <key> <map> returns what it should, but when I send a 
test message, the alias address is passed to the downstream system, instead of 
the result of the lookup.

I'm setting up Postfix as a frontend to Dovecot on another box, thus deliver is 
via LMTP. This works, Postfix maintains the list of valid addresses.  


I've followed http://www.postfix.org/VIRTUAL_README.html#virtual_mailbox  
(Non-Postfix mailbox store) or at least I've tried to follow it. :)


virtual_transport = lmtp:192.168.7.61:24
virtual_mailbox_domains = 
hash:/opt/local/etc/postfix/maps/virtual-mailbox-domains
virtual_mailbox_maps = hash:/opt/local/etc/postfix/maps/virtual-mailbox-users
virtual_alias_maps = hash:/opt/local/etc/postfix/maps/virtual-mailbox-aliases

[root@smtprelay /opt/local/etc/postfix/maps]# cat virtual-mailbox-domains
philologer.com  OK

[root@smtprelay /opt/local/etc/postfix/maps]# cat virtual-mailbox-users  
# Enter here valid virtual mailboxes, only the LHS matters, postfix
# ignores the right column

c...@philologer.com     whatever
grandp...@philologer.com        watever

[root@smtprelay /opt/local/etc/postfix/maps]# cat virtual-mailbox-aliases
# We can add aliases for virtual accounts in here
postmas...@philologer.com       grandp...@philologer.com
webmas...@philologer.com        grandp...@philologer.com
hostmas...@philologer.com       grandp...@philologer.com
ab...@philologer.com    grandp...@philologer.com
r...@philologer.com     grandp...@philologer.com


2014-08-24T16:19:40+00:00 localhost postfix/lmtp[43065]: [ID 197553 mail.info] 
3hh1rW6x8YzFJg: to=<hostmas...@philologer.com>, 
relay=192.168.7.61[192.168.7.61]:24, delay=0.62, delays=0.54/0.02/0.03/0.04, 
dsn=5.1.1, status=bounced (host 192.168.7.61[192.168.7.61] said: 550 5.1.1 
<hostmas...@philologer.com> User doesn't exist: hostmas...@philologer.com (in 
reply to RCPT TO command))


I'm looking for pointers to where I've gone wrong.

Thank you,
Chad

Reply via email to