Tommy Wareing wrote on Thu, Oct 10, 2002 at 11:26:56PM +0100 :
> > everything Postfix needs has to duplicated in /var/spool/postfix/etc. More 
> > secure but more setup needed.
> Anybody know how to make this work with linuxconf profiles? I move my
> laptop between my home and office, and need different DNS
> configurations at both. Linuxconf handles this adequately. Or it used
> to, until this change to postfix, which now drops dead until I update
> the /var/spool files by hand, and restart the service.

Untested, so you're my guinea pi^W^W tester:

cp /etc/hosts /var/spool/postfix/etc
rm /etc/hosts
cd /etc
ln -s ../var/spool/postfix/etc/hosts hosts

Don't know if linuxconf will complain about that being a link, but if it
doesn't, it should work.  The question is, does linuxconf copy files
around or does it modify the file in place?  If it copies them, it
probably won't work the way you want.  But if it modifies the files in
place, it probably will work the way you want.

Blue skies...                   Todd
-- 
| MandrakeSoft USA             | Security is like an onion.  It's made |
| http://www.mandrakesoft.com  | made up of several layers and makes   |
| http://www.mandrakelinux.com | you cry.              --Howard Chu    |
   Cooker Version mandrake-release-9.1-0.1mdk Kernel 2.4.19-16mdk

Attachment: msg59257/pgp00000.pgp
Description: PGP signature

Reply via email to