Re: [Exim] malformed recipients vs. set sender

Top Page
Delete this message
Reply to this message
Author: John Dalbec
Date:  
To: exim-users
Subject: Re: [Exim] malformed recipients vs. set sender

Philip Hazel wrote:
>
> On Mon, 7 Jan 2002, John Dalbec wrote:
>
> > I've attached the bounce messages, hopefully this will prove enlightening.
> > Exim bounces the mail correctly IMO. My concern is that one bounce is sent to
> > the set sender and two are sent to the web server user. Shouldn't all the
> > bounces go to the set sender?
>
> Is "apache" a trusted user? If not, the first two bounces are exactly
> what I would expect from a process running as "apache" that submitted
> the bad message, because an untrusted caller cannot set a sender.


trusted_users = exim:jpdalbec:apache:sympa

>
> The third bounce is mysterious. The mystery is that the headers quoted
> in the copy of the message do not contain the Received: header that Exim
> adds to all messages.
>
> > From: Mail Delivery System <Mailer-Daemon@???>
> > To: jpdalbec@???
> > Subject: Mail failure - malformed recipient address
> > Date: Mon, 07 Jan 2002 08:44:25 -0500
> >
> > A message that you sent contained a recipient address that was incorrectly
> > constructed:
> >
> > UNEXPECTED_DATA_AFTER_ADDRESS@.SYNTAX-ERROR. domain missing or malformed
> >
> > Recipient addresses must not end with a '.' character.
> >
> > The message has not been delivered to any recipients.
> >
> > ------ This is a copy of your message, including all the headers. ------
> >
> >
> > Subject: test
> > Message-ID: <1010411065.3c39a63949f58@???>
> > Date: Mon, 07 Jan 2002 08:44:25 -0500 (EST)
> > From: John Dalbec <jpdalbec@???>
> > MIME-Version: 1.0
> > Content-Type: text/plain
> > Content-Transfer-Encoding: 7bit
> > User-Agent: IMP/PHP IMAP webmail program 2.2.7
> > X-Originating-IP: 150.134.8.36
>
> I don't understand this at all. Does it show up on the Exim log? Without
> a Received: header, there's no record of the Exim message-id which could
> be used to identify it.


It looks like it was sent before exim assigned a message ID.

2002-01-07 08:44:25 16Na4f-0002Xc-00 <= <> U=exim P=local S=1031
2002-01-07 08:44:25 16Na4f-0002Xf-00 <= <> R=16Na4f-0002Xe-00 U=exim P=local
S=1275
2002-01-07 08:44:25 16Na4f-0002Xe-00 <= apache@??? U=apache P=local S=5
11 id=1010411065.3c39a63949f58@???
2002-01-07 08:44:25 16Na4f-0002Xe-00 ** jp@dalbec: unrouteable mail domain
"dalbec"
2002-01-07 08:44:25 16Na4f-0002Xk-00 <= <> R=16Na4f-0002Xe-00 U=exim P=local
S=1291
2002-01-07 08:44:25 16Na4f-0002Xe-00 Error message sent to apache@???
2002-01-07 08:44:25 16Na4f-0002Xe-00 Completed
2002-01-07 08:44:25 16Na4f-0002Xf-00 => apache@??? R=virtual_domains
T=remote_smtp H=mail.ysu.edu [150.134.10.203] X=TLSv1:DES-CBC3-SHA:168
2002-01-07 08:44:25 16Na4f-0002Xf-00 Completed
2002-01-07 08:44:25 16Na4f-0002Xk-00 => apache@??? R=virtual_domains
T=remote_smtp H=mail.ysu.edu [150.134.10.203] X=TLSv1:DES-CBC3-SHA:168
2002-01-07 08:44:25 16Na4f-0002Xk-00 Completed
2002-01-07 08:44:26 16Na4f-0002Xc-00 => jpdalbec@??? R=lookuphost
T=remote_smtp H=UNIX1.cc.ysu.edu [150.134.10.33]
2002-01-07 08:44:26 16Na4f-0002Xc-00 Completed

>
> --
> Philip Hazel            University of Cambridge Computing Service,
> ph10@???      Cambridge, England. Phone: +44 1223 334714.