|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Andrew Noonan (anoonan
indeed.com)
Date: Fri Jul 27 2007 - 17:41:06 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all,
I am trying to figure out how to set up a server that will allow a few addresses that the server is not a destination for to instead be delivered to a local, aliased account. In sendmail, this was done as a virtual domain with just these few addresses, but in Postfix, this results in User Unknown for the other addresses. As an example:
/etc/postfix/main.cf:
mydestination = localhost, localhost.example.com
virtual_alias_domains = example.com
virtual_alias_maps = hash:/etc/postfix/virtual
/etc/postfix/virtual:
bob
example.com bob-local
localhost
/etc/aliases:
bob-local /var/spool/mail/bob-local-mail
With this setup, bob
example.com gets mail locally, but jim
example.com gets rejected. I'm trying to get jim to get sent out to the MX of example.com. Ultimately, I don't know that I need to do this as a virtual alias, per se, I just need a few address dealt with locally and the rest sent on their merry way as normal. When I remove the virtual aliases and try to do this through the generic rewrite, it sends it to the example.com MX instead of reprocessing the mail locally (which seems in line with what the man page says anyway).
Thanks,
Andrew
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]