[Gllug] postfix: ip address for outgoing mail

Alex Sayle alexs at alphacomplex.info
Wed Mar 1 12:23:46 UTC 2006


On 1 Mar 2006, at 11:51GMT, t.clarke wrote:

> Maybe I am being stupid,   but I was under the impression that an  
> MTA (whether
> postfix, exim, qmail or m-mouse !) simply sent out its mail over  
> the 'default
> route' and accordingly is unaware of what the 'source' ip address  
> actually is !!
>
> So, if your default route is via the main IP address thats where  
> the emails
> will appear to have come from as far as the destination SMTP  
> machine is
> concerned ??

Routes are set to interfaces not IPs so if you have single interface  
with multiple IPs then which one it choses is not overtly obvious.

man  bind (2) and getaddrinfo (3) can give you the gory details if  
your that way inclined.


--
[----------------------------------------------------------------------]
  Alex Sayle                                     alexs at alphacomplex.info


-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list