OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: relayhost setting - can be domain customized ? pls help

From: Greg Hackney (hackneyswbell.net)
Date: Tue Apr 11 2006 - 09:48:07 CDT


Jack Verdel wrote:
hi,
 
i have postfix 2.2.4 with 30 virtual domains set and vm-pop3d;
all users belonging to these domains use the postfix server as a SMTP server in their outlook clients
distributed in various lans and wans.
--
i know that with relayhost parameter in main.cf i can set a different MTA (SMTP) server
in order to relay all outgoing mails to internet domains;
but, how can i make this setting only for a specific postfix domain ?
 
i mean, i wish that for one specific domain (es. domain1.ltd) set up as a virtual
domain in my postfix server, the realyhost parameter is active (es. relayhost = host_name_other_mta_server)
but for the remaining domain the relayhost is not active (so that postfix server is the SMTP server, that is for default)
 
Is there a way to do that ?
 
bye,
Jack.
 
p.s.: pls forgive my english..i'm italian

In the experimental snapshot version of Postfix as www.postfix.org, take a look at
sender_dependent_relayhost_maps.
--
Greg

p.s. Please forgive my english.. I'm an american