these are the the changes i made to
/etc/exim4/conf.d/acl/40_exim4-config_check_data:

deny
message = Questa mail contiene un allegato di tipo .$found_extension che non e' 
accettato dal server poiche' potrebbe contenere virus. Se dovete assolutamente 
inviare questo allegato, modificate l'estensione del file, es.: da exe a exo, 
oppure comprimetelo in formato bz o tar.gz - This mail contains an attachment 
of a type wich we do not accept ($found_extension) because it could contain 
some virus. If you absolutely need to send this file, plese rename its 
extension, ex: from exe to exo, or compress it as bz or tar.gz
demime = 
bat:com:exe:pif:prf:vbs:cpl:hta:cmd:js:jse:vbe:wsf:wsh:wswh:como:hqx:bhx:mim:uue:uu:b64:xxe:asx:mht:scr

this an example email, i removed my email address and ip:

Return-path: <[email protected]>
Envelope-to: [email protected]
Delivery-date: Tue, 26 Feb 2013 11:46:12 +0100
Received: from [192.168.153.151]
        by mail.xxx.it with esmtp (Exim 4.71)
        (envelope-from <[email protected]>)
        id 1UAI32-0001tE-FG
        for [email protected]; Tue, 26 Feb 2013 11:46:12 +0100
Message-ID: <[email protected]>
Date: Tue, 26 Feb 2013 11:46:12 +0100
From: Max Franco <[email protected]>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 
Thunderbird/17.0.2
MIME-Version: 1.0
To: [email protected]
Content-Type: multipart/mixed;
 boundary="------------090701040008010405060908"
X-SA-Exim-Connect-IP: 192.168.153.151
X-SA-Exim-Rcpt-To: [email protected]
X-SA-Exim-Mail-From: [email protected]
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.csc.it
X-Spam-Level: 
X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00
        autolearn=ham version=3.3.1
Subject: launchpad bug #1129029 test email
X-SA-Exim-Version: 4.2.1 (built Sun, 08 Nov 2009 07:31:22 +0000)
X-SA-Exim-Scanned: Yes (on mail.csc.it)

This is a multi-part message in MIME format.
--------------090701040008010405060908
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Just a test email to verify the bug in subject


-- 
*Massimiliano Franco*


--------------090701040008010405060908
Content-Type: application/x-msdos-program;
 name="test =?ISO-8859-15?Q?=A4=2Ebat?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename*=ISO-8859-15''%74%65%73%74%20%A4%2E%62%61%74

dGVzdAo=
--------------090701040008010405060908--

** Changed in: exim4 (Ubuntu)
       Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1129029

Title:
  ACL not respected if an attachment file name contains the € character

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/exim4/+bug/1129029/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to