From bec94709e708f087fe7fa456bec95d4e63edc3ed Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Wed, 24 Jun 2020 00:04:13 +0100 Subject: Handle quoted local_part input to ${srs_encode }. Bug 2607 --- test/mail/4620.CALLER | 4 ++++ test/mail/4620.fred[ | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 test/mail/4620.fred[ (limited to 'test/mail') 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 +To: "SRS0=ZZZZ=YY=test.ex=fred["@test.ex +References: +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: +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: +From: "fred["@test.ex +Date: Tue, 2 Mar 1999 09:44:33 +0000 + +Message body + +--NNNNNNNNNN-eximdsn-MMMMMMMMMM-- + -- cgit v1.2.3