Following bug #3967, I'd like to add a
/usr/share/doc/postfix-2.0.12/MANDRAKE.SPECIFIC.CHROOT_README
file. I'd write something like the following. Please share with
me your wise comments on it.

-----8<----------8<----------8<----------8<----------8<-----
In Postfix's default configuration of MandrakeSoft's RPM package,
we're running chroot'ed. That means that the mail server is
running in /var/spool/postfix, not in the usual root filesystem,
/. The mail server has no access to files outside this location.

Therefore, copies of some of your configuration files are put in
the chroot. Some of them may change over the time, if you modify
them, or, for example, if you're running a laptop, when you start
the network or you move from office to home.

For example, if your /etc/resolv.conf is updated when you launch
the network on your laptop, you will want to create a file named
/etc/sysconfig/network-scripts/ifup.d/postfix containing:

-=-=---=-=---=-=---=-=---=-=---=-=--
#!/bin/sh
# update resolv.conf in postfix chroot environment
cp -f /etc/resolv.conf /var/spool/postfix/etc/resolv.conf > /dev/null
-=-=---=-=---=-=---=-=---=-=---=-=--

You may want to update also other files depending on your
configuration.
-----8<----------8<----------8<----------8<----------8<-----

thanks :).

-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/

Reply via email to