Tony Baldwin wrote:
> I installed postfix+dovcot on my server at linode, per instructions here:
> http://library.linode.com/email/postfix/dovecot-mysql-debian-6-squeeze
> and I'm having several issues.

The 'apt-get install postfix' part seems okay to me.  This should
have pushed out any conflicting packages.

> when I telnet localhost 25 > ehlo localhost

Please don't paraphrase.  When asking for a second brain to review
please instead show us exactly what you are doing and seeing.  We
might see something that you already read and discounted.

> I do not see 250-STARTTL
> connections to the smtp server are refused (perhaps because of this?).

What shows up in /var/log/mail.log during this time?  You should at
the least see the connection being logged.

> 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

Then you already know that you need to kill this other process and
restart postfix.

> but according to lsof and netstat, as far as I can tell, the only thing using 
> port 25 is the smtp server.
> 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)

You need the full name of the process 10742.  What is:

  ps -fp 10742

That is the process you need to find and kill.  And you need to
prevent it from being started again ever.  And you need to understand
why it is running now in the first place.

Bob

Attachment: signature.asc
Description: Digital signature

Reply via email to