On 3/19/07, Justin Zygmont <justin(_at_)cityfone(_dot_)net> wrote:
Does anyone know of a way so the email attachments are not searched in a
recipe?
Procmail doesn't know about attachment formats, only about the
distinction between message header and message body. So if you're
searching the message body, you search the attachments.
The workaround is to first extract the interesting part of the message
body, and then search that. For example, download
http://www.well.com/user/barts/email/mimepart.txt
Then in your procmailrc, do
INCLUDERC=/your/path/to/mimepart.txt
:0:
* BODY_PART ?? (QCPC|HPGI)
/var/mail/spambox
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail