Re: smtp/postfix/sasl/openssh headaches
11.01.2012 18:51, Tony Baldwin:
> when I telnet localhost 25 > ehlo localhost
> I do not see 250-STARTTL
> connections to the smtp server are refused (perhaps because of this?).
>
> I see the following from tail /var/log/mail.err:
> Jan 11 02:26:03 vulcan postfix/master[15403]: fatal: bind 0.0.0.0 port 25: Address already in use
> Jan 11 11:30:30 vulcan postfix/master[16665]: fatal: bind 0.0.0.0 port 25: Address already in use
>
> but according to lsof and netstat, as far as I can tell, the only thing using port 25 is the smtp server.
"The" smtp server is obviously not "the" stmp server you think it is.
> sudo lsof -i :25
> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
> sendmail- 10742 root 3u IPv4 14207 0t0 TCP localhost.localdomain:smtp (LISTEN)
Stop and/or uninstall sendmail (or whatever this process might belong to).
--
Regards
mks
Reply to: