Mailing List Archive

Solaris specific problem?
The sysadmin doing secondary MX (Using Sendmail on SunOS) sent me this
warning that appears to be a problem in delivering mail to my server
(qmail .96 running under Solaris 2.5). It looks like it offers a solution
for Sendmail, but what to do for Qmail?

Any ideas?

>>> DATA
<<< 451 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.
<sages@pil.net>... Deferred: 451 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.
Warning: message still undelivered after 8 hours


James Smallacombe Internet Access for Bucks County
james@pil.net And Philadelphia, PA.
PlantageNet Internet Ltd. http://www.pil.net
"I'll plant Plantagenet, root him up who dares." 3Henry Vi, I,i
Re: Solaris specific problem? [ In reply to ]
James Smallacombe <james@pil.net> writes:

> The sysadmin doing secondary MX (Using Sendmail on SunOS) sent me this
> warning that appears to be a problem in delivering mail to my server
> (qmail .96 running under Solaris 2.5). It looks like it offers a solution
> for Sendmail, but what to do for Qmail?
>
> Any ideas?
>
> >>> DATA
> <<< 451 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.

[snip]

Qmail does the Right Thing, and is complaining (with the text above)
about your secondary MX's sendmail doing the Wrong Thing, so you don't
need to do anything with qmail. The sysadmin should follow the
instructions in the error message, or otherwise fix things. (Well,
you could patch qmail-smtpd.c if you don't believe Sun got it wrong.)

--
Carey Evans <*> c.evans@clear.net.nz

"Linux and Linux-like systems such as UNIX(R) and FreeBSD..."
- Yggdrasil Computing, <pgpmoose.199702180607.14425@liw.clinet.fi>
Re: Solaris specific problem? [ In reply to ]
On 2 Mar 1997, Carey Evans wrote:

> James Smallacombe <james@pil.net> writes:
>
> > The sysadmin doing secondary MX (Using Sendmail on SunOS) sent me this
> > warning that appears to be a problem in delivering mail to my server
> > (qmail .96 running under Solaris 2.5). It looks like it offers a solution
> > for Sendmail, but what to do for Qmail?
> >
> > Any ideas?
> >
> > >>> DATA
> > <<< 451 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.
>
> [snip]
>
> Qmail does the Right Thing, and is complaining (with the text above)
> about your secondary MX's sendmail doing the Wrong Thing, so you don't
> need to do anything with qmail. The sysadmin should follow the
> instructions in the error message, or otherwise fix things. (Well,
> you could patch qmail-smtpd.c if you don't believe Sun got it wrong.)

As it turns out, the Sysadmin in question is running Linux, not Solaris
(although I am, coincidentally), and says he has the following in his
sendmail.cf file:

Msmtp, P=[IPC], F=mDFMuX, S=11/31, R=21, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h

IOW, his .cf file already has what Qmail says it needs. Coincidentally, I
just saw the same thing happen using a .tcl script, until we put the /r
and /n in it. I'm told Sendmail doesn't protest this.

Perhaps this could be changed in a future release?

Thanks for all the replies,

James Smallacombe Internet Access for Bucks County
james@pil.net And Philadelphia, PA.
PlantageNet Internet Ltd. http://www.pil.net
"I'll plant Plantagenet, root him up who dares." 3Henry Vi, I,i
Re: Solaris specific problem? [ In reply to ]
> Msmtp, P=[IPC], F=mDFMuX, S=11/31, R=21, E=\r\n, L=990,

Does the error occur for all messages, or just for one message? Either
way, you should trace what sendmail is sending over the network. There
are several bugs in various versions of sendmail that will cause bad
line endings for MIME messages, messages with long lines, messages with
partial final lines, etc.

---Dan
Let your users manage their own mailing lists. http://pobox.com/~djb/qmail.html