Postfix (mail server) question

Jamon Camisso jamon.camisso-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Fri Jul 11 17:33:20 UTC 2008


Robert Brockway wrote:
> On Thu, 10 Jul 2008, 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).
> 
> Hi Evan.  You can do it the other way around with an "luser_relay", that 
> is deliver locally if the user exists otherwise send the mail elsewhere. 
> luser_relay is mentioned here: http://www.postfix.org/rewrite.html
> 
> Alternatively can can simply direct the users on a case by case basis as 
> William suggests.  My preference in this case would be to use the 
> virtual map.
> 
> Another option is to have Postfix do an LDAP lookup to see what to do 
> with the email.
> 
> luser_relay is nice because it is low maintenance.  If the user doesn't 
> exist locally send it off to another box to deal with.

If the user exists with the same name on both machines it won't be 
forwarded. Don't forget about just plain /etc/aliases or procmail too ;)

Jamon
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list