"Wietse Venema" <wie...@porcupine.org> wrote in message 
news:20091105214748.ad1b71f3...@spike.porcupine.org...
> Daniel L'Hommedieu:
>> > I definitley have chroot set to Y in my master.cf file, and have
>> > done a
>> > postfix restart.  I do get a warning on restart that
>
> Run LSOF and see what it says for the process root directory
> (indicated with the rtd field).

Am not the most expeirenced with lsof, but a simply lsof grepping on 
/var/spool/postfix shows me the folloiwng:

[r...@spike /]# lsof | grep /var/spool/postfix
master    5507      root  cwd       DIR              253,0     4096 
1762695 /var/spool/postfix
master    5507      root    9uW     REG              253,0       33 
1762715 /var/spool/postfix/pid/master.pid
master    5507      root   15u     FIFO              253,0 
1762579 /var/spool/postfix/public/pickup
master    5507      root   21u     FIFO              253,0 
1762582 /var/spool/postfix/public/qmgr
pickup    5509   postfix  cwd       DIR              253,0     4096 
1762695 /var/spool/postfix
pickup    5509   postfix  rtd       DIR              253,0     4096 
1762695 /var/spool/postfix
pickup    5509   postfix    6u     FIFO              253,0 
1762579 /var/spool/postfix/public/pickup
qmgr      5510   postfix  cwd       DIR              253,0     4096 
1762695 /var/spool/postfix
qmgr      5510   postfix  rtd       DIR              253,0     4096 
1762695 /var/spool/postfix
qmgr      5510   postfix    6u     FIFO              253,0 
1762582 /var/spool/postfix/public/qmgr


Similarly, grepping on postfix and lib or postfix and lib64 doesn't show me 
anything open in /var/spool/postfix/lib or lib64 directories.

So it seems as though Postfix is not chroot'ing at all.  Any way to further 
debug / investigate?  Am I forgetting to do something simple?  With 
sendmail, you have to recompile your .cf files.  I know you don't have to 
for main.cf, but is there anything that I need to do special for master.cf 
after modifying it?

Thanks,

Eric




Reply via email to