Re: [exim] Exim not sending NMS FormMail messages

Página Inicial
Delete this message
Reply to this message
Autor: David Woodhouse
Data:  
Para: Bruce Kallick
CC: exim-users, Phil Pennock
Assunto: Re: [exim] Exim not sending NMS FormMail messages
On Wed, 2004-09-08 at 02:38 -0500, Bruce Kallick wrote:
> On 9/8/04, at 7:40 AM +0100, David Woodhouse wrote:
>
> > That will make your machine accept it, but what if there's anyone else
> > out there who also does the same check? I suspect this outgoing mail is
> > missing a From: header, which is why I suggested that you use
> > 'control=submission' to make Exim add one, rather than simply bypassing
> > the checks.
>
> The messages are sent with a From: postmaster@??? header and, if I
> understand this correctly, the line
>
> require verify = sender
>
> which is part of the RCPT-time ACL would reject a message that lacked a
> From: header, so I thought the 'control=submission' was unnecessary.


'require verify=sender' checks the reverse-path; the address given in
the 'MAIL FROM:<...>' command in the SMTP transaction. That's why it can
be done as you say at RCPT time. You couldn't check the From: header at
RCPT time because you haven't _seen_ the mail itself yet, so you can't
yet tell whether it will have a From: header or not.

I'm _guessing_ that it doesn't have a From: header, because you said
that 'require verify=header_sender' failed and complained that it
couldn't find a valid sender in _any_ headers.

> I don't understand what you mean by "anyone else out there who also does
> the same check" -- would you please try to clarify that for me because
> it has me worried. Does adding "accept hosts = 127.0.0.1" incur some risk,
> do you think?


If you are sending mail without a From: header, then it will fall foul
of anyone else doing sanity checks on the mail. Setting your own mailer
to accept it isn't sufficient -- you need to make your own mailer _fix_
it so that the rest of the world will accept it too. That's what
'control=submission' does.

But I'm only guessing that there's no From: header in the mail itself.
Can you confirm that?

What happened when you tried 'control=submission'? What version of Exim
are you using?


--
dwmw2