"Victor Duchovni" <victor.ducho...@morganstanley.com> wrote in message news:20091105225922.gi27...@np305c2n2.ms.com... > On Thu, Nov 05, 2009 at 05:34:46PM -0500, Eric B. wrote: > >> pickup 5509 postfix rtd DIR 253,0 4096 >> 1762695 /var/spool/postfix >> qmgr 5510 postfix rtd DIR 253,0 4096 >> 1762695 /var/spool/postfix >> >> So it seems as though Postfix is not chroot'ing at all. > > No, at least "pickup" and "qmgr" are chrooted. Were you running any > smtp(8) processes at the time? On a low volume server, there may not be > any for most of the time. You need to send an SMTP message shortly (< > 100s) > before running "lsof".
Ok - this time I sent a mail and ran lsof right afterwards and found the following: master 6153 root cwd DIR 253,0 4096 1762695 /var/spool/postfix master 6153 root 9uW REG 253,0 33 1762715 /var/spool/postfix/pid/master.pid master 6153 root 15u FIFO 253,0 1762579 /var/spool/postfix/public/pickup master 6153 root 21u FIFO 253,0 1762582 /var/spool/postfix/public/qmgr pickup 6155 postfix cwd DIR 253,0 4096 1762695 /var/spool/postfix pickup 6155 postfix rtd DIR 253,0 4096 1762695 /var/spool/postfix pickup 6155 postfix 6u FIFO 253,0 1762579 /var/spool/postfix/public/pickup qmgr 6156 postfix cwd DIR 253,0 4096 1762695 /var/spool/postfix qmgr 6156 postfix rtd DIR 253,0 4096 1762695 /var/spool/postfix qmgr 6156 postfix 6u FIFO 253,0 1762582 /var/spool/postfix/public/qmgr cleanup 7884 postfix cwd DIR 253,0 4096 1762695 /var/spool/postfix cleanup 7884 postfix rtd DIR 253,0 4096 1762695 /var/spool/postfix cleanup 7884 postfix 8uW REG 253,0 0 1762744 /var/spool/postfix/pid/unix.cleanup cleanup 7884 postfix 11u REG 253,0 684 1762735 /var/spool/postfix/incoming/CFC261AE5AF trivial-r 7885 postfix cwd DIR 253,0 4096 1762695 /var/spool/postfix trivial-r 7885 postfix rtd DIR 253,0 4096 1762695 /var/spool/postfix smtp 7886 postfix cwd DIR 253,0 4096 1762695 /var/spool/postfix smtp 7886 postfix rtd DIR 253,0 4096 1762695 /var/spool/postfix smtp 7886 postfix 8uW REG 253,0 0 1762747 /var/spool/postfix/pid/unix.smtp smtp 7886 postfix 11u REG 253,0 684 1762735 /var/spool/postfix/active/CFC261AE5AF bounce 7887 postfix cwd DIR 253,0 4096 1762695 /var/spool/postfix bounce 7887 postfix rtd DIR 253,0 4096 1762695 /var/spool/postfix bounce 7887 postfix 8u REG 253,0 0 1762748 /var/spool/postfix/pid/unix.bounce bounce 7888 postfix cwd DIR 253,0 4096 1762695 /var/spool/postfix bounce 7888 postfix rtd DIR 253,0 4096 1762695 /var/spool/postfix bounce 7888 postfix 8uW REG 253,0 0 1762748 /var/spool/postfix/pid/unix.bounce local 7889 postfix cwd DIR 253,0 4096 1762695 /var/spool/postfix local 7889 postfix 8uW REG 253,0 0 1762746 /var/spool/postfix/pid/unix.local However, the same excercise, but grepping against /var/spool/postfix/lib returns 0 entries. Similarly, if I delete the /var/spool/postfix/lib* directories, everything runs exactly the same. lsof displays the exact same data. So if these deamons are actually running chroot, wouldn't they need the lib dirs? Wouldn't this imply that they aren't? Thanks, Eric