[imapfilter-devel] filter by attachement

Lefteris Chatzibarbas lefcha at hellug.gr
Wed Sep 24 16:05:02 EEST 2003


On Mon, Sep 22, 2003 at 08:30:39AM +0200, jan wrote:
> i have a little question: is there a possibility to filter mails 
> depending on the existence or name of an attachement?

Searching the "Content-Disposition" header (described in RFC 2183)
would make sense, by using "mask header" or "mask body".  Unfortunately
it seems IMAP4rev1 servers do not find this header when searching in the
message's headers, and ignore it when searching in the body of the
message.  I don't if there are any servers that handle this properly.

You could always try searching and see if it works.

> and if not, how big is my chance finding it in one of the next
> versions?

Not much.  As described above, the problem is a limitation/incorrect
behaviour of the servers.




More information about the Imapfilter-devel mailing list