[exim-dev] [Bug 1420] Exim is handled escaped by '>' strings…

Top Page
Delete this message
Reply to this message
Author: Todd Lyons
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 1420] Exim is handled escaped by '>' strings incorrectly
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1420

Todd Lyons <tlyons@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tlyons@???
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID





--- Comment #3 from Todd Lyons <tlyons@???> 2013-12-20 15:10:19 ---
If you are feeding it a message with that leading From, you are feeding it
invalid headers and Exim is "fixing" it for you. Strip that leading From, and
it works just fine. This is by design.

If you are asking us to kludge Exim to handle improperly formatted emails
because others do it too, that's worth considering, but thus far the answer has
been no to this specific question.

Look at this:

>From forum@??? Sat Dec 14 15:12:19 2013
>From Debian-exim Sat Dec 14 15:12:19 2013


That means that you originally gave it a message with an invalid From line, so
exim escaped it, and then put the From delivery line of the user that it
delivered the email to. The fix is to not give it a message with invalid
headers in the first place, ie make your client strip the mbox header, which
doesn't belong with message headers (essentially tail -n +2 the message file).

> I think the Exim must not to store ">From ..." lines in mailbox file or to
> ignore that line on receiving. Isn't it?


Configuring a mail server to drop or lose information is almost never the
correct thing to do.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email