Trouble with postfix
System is Debian potato 2.2r3 with Exim working fine.
OK here is what I did:
apt-get update
apt-get install postfix
(message about deinstalling exim and installing postfix) --> yes to
continue.
It asks me if I want to start postfix --> yes
tail /var/log/syslog:
postfix-script: starting the Postfix mail system
postfix/master[10452]: fatal: bind 127.0.0.1 port 25: Address already in
use
# netstat -a | grep LISTEN
tcp 0 0 *:printer *:*
LISTEN
tcp 0 0 *:time *:*
LISTEN
tcp 0 0 *:discard *:*
LISTEN
tcp 0 0 *:daytime *:*
LISTEN
tcp 0 0 *:sunrpc *:*
LISTEN
tcp 0 0 *:6000 *:*
LISTEN
unix 2 [ ACC ] STREAM LISTENING 46250 /dev/log
unix 2 [ ACC ] STREAM LISTENING 258 /dev/gpmctl
unix 2 [ ACC ] STREAM LISTENING 25771
/tmp/.X11-unix/X0
# lsof | grep smtp
(ie nothing)
Here is what is in /etc/inetd.conf:
#:INTERNAL: Internal services
#echo stream tcp nowait root internal
#echo dgram udp wait root internal
#chargen stream tcp nowait root internal
#chargen dgram udp wait root internal
discard stream tcp nowait root internal
discard dgram udp wait root internal
daytime stream tcp nowait root internal
#daytime dgram udp wait root internal
time stream tcp nowait root internal
#time dgram udp wait root internal
#:STANDARD: These are standard services.
#:BSD: Shell, login, exec and talk are BSD protocols.
#:MAIL: Mail, news and uucp services.
#disabled#smtp stream tcp nowait mail /usr/sbin/exim
exim -bs
#:INFO: Info services
#:BOOT: Tftp service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
#:RPC: RPC based services
#:HAM-RADIO: amateur-radio services
#:OTHER: Other services
Everytime I try:
# postfix start
I get the following in /var/log/syslog:
postfix-script: starting the Postfix mail system
postfix/master[10512]: fatal: bind 127.0.0.1 port 25: Address already in
use
I had to reinstall exim to post this email :-(
Cheers and thanks for help.
Mark.
Reply to: