On 4/27/2010 8:36 AM, Guillaume Rousse wrote:
Le 27/04/2010 14:20, Noel Jones a écrit :
Otherwise, transport_maps entries are required to override relayhost.
My point is, why should I have to override relayhost for email adresses
inside my local domain, whereas I do have in my configuration:
mydestination =
   smtp.$mydomain
   $myhostname
   $mydomain


mydestination is for mail delivered on the local machine; just this one box.


The 'Postfix on a local network' section, in
http://www.postfix.org/STANDARD_CONFIGURATION_README.html

just uses an alias files on the mailhost for sending mails to internal
machines:
/etc/aliases:
     joe:    [email protected]
     jane:   [email protected]

Only if you don't set relayhost.
http://www.postfix.org/postconf.5.html#relayhost

Anyway, if I really need a transport map, is there a way to have a
global entry, instead of explicitely declaring each internal machine:

x.subdomain.domain.com: smtp:[x.subdomain.domain.com]
y.subdomain.domain.com: smtp:[y.subdomain.domain.com]

Yes, see my previous email and also read
http://www.postfix.org/transport.5.html

  -- Noel Jones

Reply via email to