On Wed, 27 Dec 2017, admin@??? wrote:
> https://bugs.exim.org/show_bug.cgi?id=2214
>
> Bug ID: 2214
> Summary: acl_smtp_mime failures cause invalid DATA responses
> Product: Exim
> Version: 4.86
> Hardware: x86
> OS: Linux
> Status: NEW
> Severity: bug
> Priority: medium
> Component: ACLs
> Assignee: jgh146exb@???
> Reporter: bugzilla.exim.simon@???
> CC: exim-dev@???
>
> Use the following acl_smtp_mime (type intentional):
> acl_mime:
> accept
> decode = $mime_filenmae
Does the problem go away if this is spelt $mime_filename ?
> condition = ${if !eq{$mime_filename}{}}
> logwrite = :main:MIME Filename = "$mime_filename"
> ("$mime_decoded_filename")
>
> accept
>
> Send a message with any MIME part and you'll get two responses to the end of
> DATA:
>
> DATA
> 354 Enter message, ending with "." on a line by itself
> Content-Type: multipart/mixed; boundary=83a67d18c01ffbe8d5ba929c0f4d083a
> MIME-Version: 1.0
> Subject: Test
>
> --83a67d18c01ffbe8d5ba929c0f4d083a
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> Content-Type: text/html; charset="UTF-8"
>
> <p>Test
>
> --83a67d18c01ffbe8d5ba929c0f4d083a
> Content-Disposition: attachment; filename*=UTF-8''invoice.pdf.jar
> Content-Transfer-Encoding: base64
> Content-Type: application/java-archive
>
> AAA=
>
> --83a67d18c01ffbe8d5ba929c0f4d083a--
> .
> 451 Temporary local problem - please try later
> 250 OK id=
>
> The following appears in the log:
> 2017-12-27T21:03:44.499+00:00 1eUIrT-0001tf-Je H=* [*]:46338 F=<> temporarily
> rejected during MIME ACL checks: failed to expand ACL string "$mime_filenmae":
> unknown variable name "mime_filenmae"
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
> --
> ## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
>