Skip to main content

Posts

How to fix postfix master dead but pid file exists

$ sudo service postfix status master dead but pid file exists One possible likely problem is that another process has already occupied the default port 25.



$ sudo -i lsof -i :25 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME sendmail 2607 root4uIPv4114060t0TCP localhost:smtp (LISTEN)

In /var/log/maillog you could get the line in the log:
Code: postfix/master[7240]: fatal: bind 127.0.0.1 port 25: Address already in use
You can fix it by:

$ sudo yum -y remove sendmail