When I installed postfix-2.0.16-r1 using emerge postfix, the installation went well. After the installation, I tried to start postfix service using following command "/etc/init.d/postfix restart". Postfix service did not start. I inspected /var/log/mail/current and found following log - Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by root: /var/spool/postfix Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by postfix: /var/spool/postfix/active Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by postfix: /var/spool/postfix/bounce Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by postfix: /var/spool/postfix/corrupt Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by postfix: /var/spool/postfix/defer Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by postfix: /var/spool/postfix/deferred Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by postfix: /var/spool/postfix/flush Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by postfix: /var/spool/postfix/hold Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by postfix: /var/spool/postfix/incoming Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by postfix: /var/spool/postfix/private Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by postfix: /var/spool/postfix/public Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by group postdrop: /var/spool/postfix/public Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by group postdrop: /var/spool/postfix/maildrop Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by postfix: /var/spool/postfix/maildrop Oct 23 13:06:39 [postfix/postsuper] fatal: scan_dir_push: open directory defer: Permission denied Oct 23 13:06:40 [postfix/postfix-script] fatal: Postfix integrity check failed! I changed the ownership of the dir using "chown -R postfix:postfix /var/spool/postfix/" and postfix service got started successfully. Reproducible: Always Steps to Reproduce: 1. emerge postfix 2. /etc/init.d/postfix restart Actual Results: localhost root # /etc/init.d/postfix restart * Starting postfix... [ !! ] localhost root # cat /var/log/mail/current Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by root: /var/spool/postfix Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by postfix: /var/spool/postfix/active Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by postfix: /var/spool/postfix/bounce Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by postfix: /var/spool/postfix/corrupt Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by postfix: /var/spool/postfix/defer Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by postfix: /var/spool/postfix/deferred Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by postfix: /var/spool/postfix/flush Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by postfix: /var/spool/postfix/hold Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by postfix: /var/spool/postfix/incoming Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by postfix: /var/spool/postfix/private Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by postfix: /var/spool/postfix/public Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by group postdrop: /var/spool/postfix/public Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by group postdrop: /var/spool/postfix/maildrop Oct 23 13:06:39 [postfix/postfix-script] warning: not owned by postfix: /var/spool/postfix/maildrop Oct 23 13:06:39 [postfix/postsuper] fatal: scan_dir_push: open directory defer: Permission denied Oct 23 13:06:40 [postfix/postfix-script] fatal: Postfix integrity check failed! Expected Results: localhost root # /etc/init.d/postfix restart * Starting postfix... [ ok ]
Fixed in CVS. Try emerging postfix 2.0.16-r1 again and please verify that your spool directory (and all the subdirs) contain proper permissions. Feel free to post the results of ls -l /var/spool/postfix ... or whereever your postfix queue happens to be.