[Pkg-exim4-users] Configuring smarthost based on the network
Marc Haber
mh+pkg-exim4-users at zugschlus.de
Mon Aug 10 13:46:23 UTC 2009
On Mon, Aug 10, 2009 at 12:49:23PM +0200, Norbert Preining wrote:
> 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/.
What you write in an interface stanze into /e/n/i, gets put
capitalized and IF_-prefixed in the environment of the scripts that
get called from /e/n/if-(pre-)?(up|down).d.
exim4-smarthost => IF_EXIM4_SMARTHOST.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
More information about the Pkg-exim4-users
mailing list