OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: Configure Postfix for several profiles under Linux Mandrake 7.2
From: Wietse Venema (wietseporcupine.org)
Date: Wed Jan 03 2001 - 07:54:10 CST


Giuseppe Angilella:
> Hi everybody.
>
> I've just upgraded Mandrake Linux to release 7.2 on my laptop.
>
> Among its features, Mandrake Linux 7.2 allows to issue several "system
> profiles", that can be chosen at boot time. In particular, different
> identity and network (ISP, LAN, ... ) definitions can be specified for each
> profile.

My (non-linux) laptop runs Postfix and it changes (network) location
several times a day.

> My question is whether and how it is possible to associate a different
> configuration (masquerading etc) of Postfix to different system profiles
> under Mandrake Linux.

You can change Postfix personality in several ways:

- Execute the appropriate "postconf -e 'name=value'" commands. This
edits the main.cf file only.

- Copy the appropriate files into /etc/postfix. This is what I use.

        Wietse