1828119 Members
2659 Online
109974 Solutions
New Discussion

Re: sendmail error ...

 
K.C. Chan
Trusted Contributor

sendmail error ...

All,
I am getting this error:

Feb 22 05:52:08 myserver sendmail[27601]: k1MAg8L27601: collect: premature EOM: Error 0
Feb 22 05:52:08 myserver sendmail[27601]: k1MAg8L27601: collect: unexpected close on connection from

I don't know if this is a sendmail issue or TCP/IP issue. Any idea? Thanks.
Reputation of a thousand years can be determined by the conduct of an hour
6 REPLIES 6
Ivan Ferreira
Honored Contributor

Re: sendmail error ...

I think that this error is because the connection was dropped before the SMTP transaction finish. It should be a network problem or somebody is scanning your server ports.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
K.C. Chan
Trusted Contributor

Re: sendmail error ...

Scanning a the server ports produce this kind of error? I have not heard of this before. Please explain the technical reason why it behaves this way. Is there a work around for this, will setting iptables on the mail server help the situation? Thanks.
Reputation of a thousand years can be determined by the conduct of an hour
Ivan Ferreira
Honored Contributor

Re: sendmail error ...

It's more probable that is a connectivity problem.

Premature End Of Message means that the remote host started the SMTP transaction but did not finished correctly. It could happend if a large attachment (DATA) is sent and the connection is dropped.

I said port scanning because they can connect to the port 25 and do not issue any SMTP command, but the message for this should be different, like "did not issue MAIL/EXP/VRFY.."
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Vitaly Karasik_1
Honored Contributor

Re: sendmail error ...

does your mailserver work? (e.g. accepts other mails?)
Vipulinux
Respected Contributor

Re: sendmail error ...

Hi Mr Chan

The key here is collect: unexpected close on connection from

The SMTP Service could have been stopped at the time of transfer.

How big was the mail anyways as a HUGE mail could actually bring smtp down on a WEAK machine.

Cheers
K.C. Chan
Trusted Contributor

Re: sendmail error ...

Vipulinux,
I am nost sure what you mean weak mail server; I do not see it getting heavily loaded (cpu load wise).
Reputation of a thousand years can be determined by the conduct of an hour