Postfix wasn’t starting
root@suse11sp2:~ # /etc/init.d/postfix start
Starting mail service (Postfix) failed
I ran in debug mode and found out which is the line to start postfix manually. I ran and it gave me the following error
root@suse11sp2:~ # /usr/sbin/postfix start
postsuper: fatal: scan_dir_push: open directory defer: Permission denied
postfix/postfix-script: fatal: Postfix integrity check failed!
To fix this error, run the following command
root@suse11sp2:~ # postfix -c /etc/postfix set-permissions
chown: cannot access `/usr/share/doc/packages/postfix-doc/README_FILES’: No such file or directory
I’m running Suse Linux 11 SP2 on this server
root@suse11sp2:~ # cat /etc/*release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 2
LSB_VERSION=”core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64″
It was not installed the package postfix-doc so I installed
root@suse11sp2:~ # rpm -Uvh postfix-doc-2.5.13-0.17.4.x86_64.rpm
Preparing… ########################################### [100%]
1:postfix-doc ########################################### [100%]
With the package installed, it didn’t give any error messages
root@suse11sp2:~ # postfix -c /etc/postfix set-permissions
And started successfully
root@suse11sp2:~ # /etc/init.d/postfix start
Starting mail service (Postfix) done