Postfix (mail server) question
William O'Higgins Witteman
william.ohiggins-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Fri Jul 11 00:23:46 UTC 2008
On Thu, Jul 10, 2008 at 07:48:56PM -0400, Evan Leibovitch wrote:
>
>What I'd like to have is a list of users for whom mail is punted to a
>different SMTP host on the local network. For all other users, mail is
>delivered locally (via a Courier IMAP server).
I think the easiest mechanism is to have an alias file redirect the
mails you want punted. Here's a possible setup (this is rigged for
virtual domains, but that my be appropriate):
In main.cf:
virtual_alias_maps = hash:/etc/postfix/valias-maps
valias-maps:
email-5uGgS2SXJz0 at public.gmane.org email-xSk6NArqQz7hqhT0DG1rBA at public.gmane.org
Remember to run postmap on the valias-maps file to generate a
valias-maps.db file.
This only requires that the main mail box knows how to resolve the
to.punt.address.
Hope that helps.
--
yours,
William
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://gtalug.org/pipermail/legacy/attachments/20080710/b26fa140/attachment.sig>
More information about the Legacy
mailing list