[exim-dev] [Bug 1420] New: Exim is handled escaped by '>' st…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Andrey A Moiseenko
日付:  
To: exim-dev
題目: [exim-dev] [Bug 1420] New: 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
           Summary: Exim is handled escaped by '>' strings incorrectly
           Product: Exim
           Version: 4.80.1
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Mail Receipt
        AssignedTo: nigel@???
        ReportedBy: support@???
                CC: exim-dev@???



Created an attachment (id=669)
--> (http://bugs.exim.org/attachment.cgi?id=669)
test letters source

Exim is adding escaped by '>' strings to a letter headed like:
>From Debian-exim Wed Dec 11 22:06:04 2013


I have Debian 7 x64 Linux VDS server with standard exim 4.80 from packets +
procmail + greylist + dovecot

Messages are stored in mailbox format.

When I receiving the letter by dovecot POP3 and use Redirect (not forward)
feature in "The Bat!" e-mail client (http://www.ritlabs.com/en/), then all
headers in message sent are original, including escaped string like
>From Debian-exim Wed Dec 11 22:06:04 2013


And Exim receive that redirected letters with errors: message header become
duplicated and appeared two times in letter, so message body is became
unexpected data and the message is displayed incorrectly (including message
subject) when received.

I have temporarily fix this problem today in my RusRoute firewall application
by removing '>' escaped strings on-the-fly from SMTP message DATA header.
All is working fine in that situation.

So the BUG is that exim is handled '>' escaped strings incorrectly in incomming
e-mails and the possible workaround for exim is to remove '>' escaped lines
from all incoming letters or do not duplicate message header or do not save
escaped strings to a mailbox files in appendfile transport and etc.

And I have seen that no problem was exist for the first redirected letter in
mail box when I just create e-mail account and so mailbox file is not exist at
that time.

The attached archive contains 3 files:
source_letter.msg - the test source letter which contains ">From " escaped
string
sent.msg - the message above is sent
redirected_with_error.msg - the received message with error which was sent.

The bug is exists some years along. I have think the problem is in e-mail
client used but the latest tests and the bugfix made shown that the exim is.

And I have try to remove escaped strings from the letters using
check_string = ">From "
escape_string = "XXFrom "
in exim4.conf - that had no effect on the letters.


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