1822494 Members
2422 Online
109642 Solutions
New Discussion юеВ

Sendmail Error

 
Chan Choth PUTH
Advisor

Sendmail Error

Dear Sir or Madam,

I am using SuSe 7.0 and sendmail version 8.10
(sendmail8.10.2-26) and I sometimes receive this error and I do not know why? The error is like the following:
-------- Original Message --------
Subject: Returned mail: see transcript for details
Date: Wed, 11 Sep 2002 12:33:39 GMT
From: Mail Delivery Subsystem
To:
The original message was received at Wed, 11 Sep 2002 11:17:42 GMT
from ofix.forum.org.kh [203.189.130.163]
----- The following addresses had permanent fatal errors -----

(reason: 552 Put ,E=\r\n at the end of Mether, Mtcp, or Msmtp in
sendmail.cf if you are using Solaris 2.5 (fi... cannot accept messages
with stray newlines. Many SMTP servers will time out waiting for
\r\n.\r\n.)
----- Transcript of session follows -----
451 4.4.1 ... reply: read error from
mx01.hotmail.com.
451 4.4.1 ... reply: read error from
mx05.hotmail.com.
451 4.4.1 ... reply: read error from
mx17.hotmail.com.
451 4.4.1 ... reply: read error from
mx02.hotmail.com.
451 4.4.1 ... reply: read error from
mx07.hotmail.com.
451 4.4.1 ... reply: read error from
mx04.hotmail.com.
451 4.4.1 ... reply: read error from
mx16.hotmail.com.
... while talking to mx2.mail.yahoo.com.:
>>> DATA
<<< 552 Put ,E=\r\n at the end of Mether, Mtcp, or Msmtp in sendmail.cf
if you are using Solaris 2.5 (fixed in 2.5.1). I cannot accept messages
with stray newlines. Many SMTP servers will time out waiting for
\r\n.\r\n.
554 5.0.0 ... Service unavailable
Reporting-MTA: dns; mailgw.forum.org.kh
Received-From-MTA: DNS; ofix.forum.org.kh
Arrival-Date: Wed, 11 Sep 2002 11:17:42 GMT
Final-Recipient: RFC822; beautifulangkor@yahoo.com
Action: failed
Status: 5.2.2
Remote-MTA: DNS; mx2.mail.yahoo.com
Diagnostic-Code: SMTP; 552 Put ,E=\r\n at the end of Mether, Mtcp, or Msmtp in sendmail.cf if you are using Solaris 2.5
(fixed in 2.5.1). I cannot accept messages with stray newlines. Many SMTP servers will time out waiting for \r\n.\r\n.
Last-Attempt-Date: Wed, 11 Sep 2002 12:33:39 GMT

Would you mind telling me how can I resolve this problem? Thank you so much for your assistance.

Regards,

Choth
Sharing IT knowledge and Information
9 REPLIES 9
I_M
Honored Contributor

Re: Sendmail Error

Hi

Check # cat /proc/sys/net/ipv4/tcp_ecn

It is Explicit Congestion Notification.
If this value is 1, some router failed to transfer the packet.

echo 0 > /proc/sys/net/ipv4/tcp_ecn
to change it to 0.

This function was added from linux kernel 2.4. I don't know the SuSE, but on RH, the default value is 1.

Good luck
Chan Choth PUTH
Advisor

Re: Sendmail Error

Dear Sir,
Thank you so much for your response. I do not see the file named /proc/sys/net/ipv4/tcp_ecn
So how can I do? When I go to the directory /proc/sys/net/ipv4 and I fire the command ls > filename it gives me like the following:
.
..
conf
icmp_destunreach_rate
icmp_echo_ignore_all
icmp_echo_ignore_broadcasts
icmp_echoreply_rate
icmp_ignore_bogus_error_responses
icmp_paramprob_rate
icmp_timeexceed_rate
igmp_max_memberships
ip_always_defrag
ip_autoconfig
ip_default_ttl
ip_dynaddr
ip_forward
ip_local_port_range
ip_masq_debug
ip_masq_udp_dloose
ip_no_pmtu_disc
ipfrag_high_thresh
ipfrag_low_thresh
ipfrag_time
neigh
route
tcp_fin_timeout
tcp_keepalive_probes
tcp_keepalive_time
tcp_max_ka_probes
tcp_max_syn_backlog
tcp_retrans_collapse
tcp_retries1
tcp_retries2
tcp_rfc1337
tcp_sack
tcp_stdurg
tcp_syn_retries
tcp_syncookies
tcp_timestamps
tcp_window_scaling
So what will I do next? Thank you so much for your assistance.

Regards,

Chot
Sharing IT knowledge and Information
I_M
Honored Contributor

Re: Sendmail Error

Hello again,

Use cat or more to see the file.

/proc is virtual filesystem.
The directory and files are not on the HD, but on the memory.

cat /proc/sys/net/ipv4/tcp_ecn

====
My case, my sendmail could communicate with some sendmails, but failed to communicate a few sites.
If your sendmail failed to send ALL other sites, this may not be the one you are looking for.

Good luck
U.SivaKumar_2
Honored Contributor

Re: Sendmail Error

Hi,
Edit /etc/sendmail.cf and add E=\r\n option to these lines like this

Msmtp, P=[IPC], F=mDFMuX, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\rn, L=990,
T=DNS/RFC822/SMTP,
A=TCP $h
Mesmtp, P=[IPC], F=mDFMuXa, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r
\n, L=990,
T=DNS/RFC822/SMTP,
A=TCP $h
Msmtp8, P=[IPC], F=mDFMuX8, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r
\n, L=990,
T=DNS/RFC822/SMTP,
A=TCP $h
Mdsmtp, P=[IPC], F=mDFMuXa%, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=r\n, L=990,
T=DNS/RFC822/SMTP,
A=TCP $h
Mrelay, P=[IPC], F=mDFMuXa8, S=EnvFromSMTP/HdrFromSMTP, R=MasqSMTP, E=\r
\n, L=2040,
T=DNS/RFC822/SMTP,
A=TCP $h

regards,
U.SivaKumar
Innovations are made when conventions are broken
U.SivaKumar_2
Honored Contributor

Re: Sendmail Error

Hi,
Edit /etc/sendmail.cf and add E=\r\n option to these lines like this

Msmtp, P=[IPC], F=mDFMuX, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\rn, L=990,
T=DNS/RFC822/SMTP,
A=TCP $h
Mesmtp, P=[IPC], F=mDFMuXa, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r
\n, L=990,
T=DNS/RFC822/SMTP,
A=TCP $h
Msmtp8, P=[IPC], F=mDFMuX8, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r
\n, L=990,
T=DNS/RFC822/SMTP,
A=TCP $h
Mdsmtp, P=[IPC], F=mDFMuXa%, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=r\n, L=990,
T=DNS/RFC822/SMTP,
A=TCP $h
Mrelay, P=[IPC], F=mDFMuXa8, S=EnvFromSMTP/HdrFromSMTP, R=MasqSMTP, E=\r
\n, L=2040,
T=DNS/RFC822/SMTP,
A=TCP $h
And save it. Now restart the sendmail process.
you problem is solved now.
sorry for double posting.
regards,
U.SivaKumar
Innovations are made when conventions are broken
Chan Choth PUTH
Advisor

Re: Sendmail Error

Dear Sir,

Thank you so much for your reply. When I fire the command vi /etc/sendmail.cf, I see like the following (I extract some parts from this file):
#####################################
### SMTP Mailer specification ###
#####################################




Msmtp, P=[IPC], F=mDFMuX, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Mesmtp, P=[IPC], F=mDFMuXa, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Msmtp8, P=[IPC], F=mDFMuX8, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Mdsmtp, P=[IPC], F=mDFMuXa%, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Mrelay, P=[IPC], F=mDFMuXa8, S=EnvFromSMTP/HdrFromSMTP, R=MasqSMTP, E=\r\n, L=2040,
T=DNS/RFC822/SMTP,
A=IPC $h

So you said that I have to edit /etc/sendmail.cf and add E=\n\r, but I have already seen that it has already had in this file so need for me to add this line. Would you mind telling that I have to add or delete E=\n\r? Thank you so much for your assistance.

Best regards,

Choth
Sharing IT knowledge and Information
U.SivaKumar_2
Honored Contributor

Re: Sendmail Error

Hi,
Remove this E=\r\n from those lines and restart
sendmail and get back with results.

regards,
U.SivaKumar
Innovations are made when conventions are broken
Chan Choth PUTH
Advisor

Re: Sendmail Error

 
Sharing IT knowledge and Information
U.SivaKumar_2
Honored Contributor

Re: Sendmail Error

Hi,
Choth , your sendmail expert is right. That's why i too asked you to add this E=\r\n . The
reason why I asked you to delete this and try
is to see whether it makes any difference.

please attach /etc/sendmail.cf file. I can help
you in adjusting timeout. Before that please try deleting E=\r\n and restarting sendmail.

regards,
U.SivaKumar
Innovations are made when conventions are broken