postfix not easy to install
I am having trouble getting postfix to install on my potato 2.2r3
system.
It did work initially but then after rebooting the computer, it won't
start again.
I get the following in my mail.log file:
postfix-script: warning: /var/spool/postfix/etc/resolv.conf and
/etc/resolv.conf differ
postfix-script: starting the Postfix mail system
postfix/master[1011]: fatal: bind 127.0.0.1 port 25: Address already in
use
The first error seemed weird since both
/var/spool/postfix/etc/resolv.conf and /etc/resolv.conf were essentially
the same but not exactly:
# cat /etc/resolv.conf
nameserver 61.9.128.13
nameserver 61.9.128.16
# cat /var/spool/postfix/etc/resolv.conf
nameserver 61.9.128.13
nameserver 61.9.128.16
Note the difference in spacing. So I copied the /etc/resolv.conf to
/var/spool/postfix/etc/resolv.conf and then this error dissappeared -
but I think this will recur every time I reboot - so how do I fix this
permanently?
But still the other error remained about port 25 already in use. I did
ps aux and no exim running. I have never had any other smtp daemon on
this system other than exim. I even tried stopping inetd and starting
postfix but still no worky and same error: fatal: bind 127.0.0.1 port
25: Address already in use.
I had to reinstall exim to post this email but would really like to give
postfix a go.
Any ideas people using postfix?
Thanks.
Mark.
Reply to: