[Dovecot] mime support for pigeonhole

Tim Dickson dickson.tim at googlemail.com
Thu Jan 30 20:50:14 EET 2014

is there any chance of rfc5703 (mime support/extension) being added to 
I am trying to filter mail with .exe and .zip attachments, to no success.
I have tried
*header :contains "x-attached" [".zip", ".exe"]
*but emails i'm getting don't have x-attached.
a sample snippet is below.

Subject: testa1
Content-Type: multipart/mixed;

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

this has a compressed file added a1

Content-Type: application/x-zip-compressed;
Content-Transfer-Encoding: base64
Content-Disposition: attachment;

I have tried
*header :contains ["Content-Type","name","filename"] 

but that doesn't work either.

I can't use body because that doesn't include the mime headers, so the 
only way I can see is to use mime (aka rfc5703)
I am using dovecot 2.1.8 with pigeonhole 0.3.3  (and am about to use 
dovecot 2.2.9 with pigeonhole 0.4.2 on another server)
If I'm just missing the point, or there is already support, please point 
me in the right direction.

More information about the dovecot mailing list