[Exim] Re: Detect attachments

Pàgina inicial
Delete this message
Reply to this message
Autor: Michelle Konzack
Data:  
A: exim-users
Assumpte: [Exim] Re: Detect attachments
Am 2003-11-20 17:39:24, schrieb Hunte Swee:
>How to detect an email whether has one or more attachments?


I use ~/.procmailrc to extract Attachments...
You can modify it to your needs:

:0 ci
* ^To.*binaries4michelle@???
* ^Content-type.*multipart/mixed
* B ?? Content-transfer-encoding.*(x-uuencode|base64)
| /usr/bin/munpack -q -C ~/Maildir/Binaries_files/


:0
* ^To.*binaries4michelle@???
Binaries/

Or use a filter-rule to add a new Header

>Hunte


Greetings
Michelle

--
Registered Linux-User #280138 with the Linux Counter, http://counter.li.org.