[Pkg-exim4-users] Configuring smarthost based on the network

Mike Cardwell exim-users at lists.grepular.com
Mon Aug 10 08:45:39 UTC 2009


Norbert Preining wrote:

> Hi everyone,
> 
> (please Cc)
> 
> I guess that has been asked before, but I couldn't find any answer, which
> is strange since I guess many people have to fight with that:
> 
> I am working on a laptop and switching networks permanently, from 
> University to home (cable modem) to hotspots to wwan access.
> 
> All of these logins usually force me to use a different smart host for
> sending emails.
> 
> Most of the times I just circumvent that by fixing one smart host 
> (at the university) together with user authentication so that I can send
> from anywhere in the world via that smart host.
> 
> Unfortunately sometimes the port 25 is blocked (even outgoing) in some
> networks and smtp sending can *only* be done via their mail router.
> 
> Now, is there a solution to the changing smart host problem?
> 
> Best would be a solution that incorporates with e.g. wicd (which I am
> using), or NetworkManager (which I never touched), and of course with
> /etc/network/interfaces.
> 
> Thanks a lot for any suggestion and all the best

These days it is common for people who run mail servers that relay, to 
listen on port 587 as well as port 25 to deal with exactly this problem. 
587 has become the mail submission port. See the RFC description here: 
http://www.ietf.org/rfc/rfc2476.txt

If your smtp relay isn't listening on port 587 already, you could 
perhaps ask your IT department to add it?

-- 
Mike Cardwell - IT Consultant and LAMP developer
Cardwell IT Ltd. (UK Reg'd Company #06920226) http://cardwellit.com/



More information about the Pkg-exim4-users mailing list