diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2020-06-24 00:04:13 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2020-06-24 15:23:33 +0100 |
commit | bec94709e708f087fe7fa456bec95d4e63edc3ed (patch) | |
tree | ff17ef17917c21e12e023a58244dbdae4ec3f135 /test/mail | |
parent | 99bfcf2b678e7bd8125a7eb44409e46549bfc111 (diff) |
Handle quoted local_part input to ${srs_encode }. Bug 2607
Diffstat (limited to 'test/mail')
-rw-r--r-- | test/mail/4620.CALLER | 4 | ||||
-rw-r--r-- | test/mail/4620.fred[ | 60 |
2 files changed, 64 insertions, 0 deletions
diff --git a/test/mail/4620.CALLER b/test/mail/4620.CALLER index 8daaeed5f..f42604b3c 100644 --- a/test/mail/4620.CALLER +++ b/test/mail/4620.CALLER @@ -1,4 +1,8 @@ From MAILER-DAEMON Tue Mar 02 09:44:33 1999 +Received: from localhost ([127.0.0.1] helo=the.local.host.name) + by the.local.host.name with esmtp (Exim x.yz) + id 10HmbA-0005vi-00 + for SRS0=ZZZZ=YY=the.local.host.name=CALLER@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 Received: from EXIMUSER by the.local.host.name with local (Exim x.yz) id 10HmaZ-0005vi-00 for SRS0=ZZZZ=YY=the.local.host.name=CALLER@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 diff --git a/test/mail/4620.fred[ b/test/mail/4620.fred[ new file mode 100644 index 000000000..3a6cf1f46 --- /dev/null +++ b/test/mail/4620.fred[ @@ -0,0 +1,60 @@ +From MAILER-DAEMON Tue Mar 02 09:44:33 1999 +Received: from localhost ([127.0.0.1] helo=the.local.host.name) + by the.local.host.name with esmtp (Exim x.yz) + id 10HmbE-0005vi-00 + for "SRS0=ZZZZ=YY=test.ex=fred["@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 +Received: from EXIMUSER by the.local.host.name with local (Exim x.yz) + id 10HmbD-0005vi-00 + for "SRS0=ZZZZ=YY=test.ex=fred["@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 +X-Failed-Recipients: remote_user@remote.ex +Auto-Submitted: auto-replied +From: Mail Delivery System <Mailer-Daemon@the.local.host.name> +To: "SRS0=ZZZZ=YY=test.ex=fred["@test.ex +References: <E10HmbB-0005vi-00@the.local.host.name> +Content-Type: multipart/report; report-type=delivery-status; boundary=NNNNNNNNNN-eximdsn-MMMMMMMMMM +MIME-Version: 1.0 +Subject: Mail delivery failed: returning message to sender +Message-Id: <E10HmbD-0005vi-00@the.local.host.name> +Date: Tue, 2 Mar 1999 09:44:33 +0000 + +--NNNNNNNNNN-eximdsn-MMMMMMMMMM +Content-type: text/plain; charset=us-ascii + +This message was created automatically by mail delivery software. + +A message that you sent could not be delivered to one or more of its +recipients. This is a permanent error. The following address(es) failed: + + remote_user@remote.ex + account disabled + +--NNNNNNNNNN-eximdsn-MMMMMMMMMM +Content-type: message/delivery-status + +Reporting-MTA: dns; the.local.host.name + +Action: failed +Final-Recipient: rfc822;remote_user@remote.ex +Status: 5.0.0 + +--NNNNNNNNNN-eximdsn-MMMMMMMMMM +Content-type: message/rfc822 + +Return-path: <"SRS0=ZZZZ=YY=test.ex=fred["@test.ex> +Received: from localhost ([127.0.0.1] helo=the.local.host.name) + by the.local.host.name with esmtp (Exim x.yz) + (envelope-from <"SRS0=ZZZZ=YY=test.ex=fred["@test.ex>) + id 10HmbC-0005vi-00 + for remote_user@remote.ex; Tue, 2 Mar 1999 09:44:33 +0000 +Received: from root by the.local.host.name with local (Exim x.yz) + (envelope-from <"fred["@test.ex>) + id 10HmbB-0005vi-00 + for redirect@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 +Message-Id: <E10HmbB-0005vi-00@the.local.host.name> +From: "fred["@test.ex +Date: Tue, 2 Mar 1999 09:44:33 +0000 + +Message body + +--NNNNNNNNNN-eximdsn-MMMMMMMMMM-- + |