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

Norbert Preining preining at logic.at
Mon Aug 10 10:49:23 UTC 2009


Hi Marc,

On Mo, 10 Aug 2009, Marc Haber wrote:
> If you have an /etc/network/interface entry per network, you just add
> an "exim4-smarthost" setting in the stanza and use this
> /etc/network/if-up.d/exim4-smarthost:

Ahh thanks a lot, that helps already. I didn't know what is the
relation between /e/n/interfaces stanzas and the files in /e/n/if-up.d/.

I had something similar with post-up or so, that tried to deduce
from the IP the correct smarthost and wrote it into a lsearch-able
file, but your solution is much better.

> I didn't find any Networkmanager docs which would allow me to
> understand it, so I do not have a solution for this.

I will check with wicd what can be done there. Would be nice.

Again, thanks a lot and all the best

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining at logic.at>        Vienna University of Technology
Debian Developer <preining at debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
HASTINGS (pl.n.)
Things said on the spur of the moment to explain to someone who comes
into a room unexpectedly precisely what it is you are doing.
			--- Douglas Adams, The Meaning of Liff



More information about the Pkg-exim4-users mailing list