Hi guru's,
I changed my sendmail/procmail for courier and am very happy. Alas, the dox on maildrop and maildropfilter are very poor. Most of my old procmailrc is translated, but I need some help for the next two parts. The first is drops a message into a special mailbox after three conditions (OR, OR, OR). I don't know how to translate this into .mailfilter.
The second is clear enough. I want to DROP some (local cron) messages. In linux I send them to /dev/null and they're gone ;-)) How do I get the same results in .mailfilter?
The simple statement 'exit'
See maildropfilter man page
=-=-=-.procmailrc examples-=-=-= ## first example :0 HB * ^Content-Type: multipart/(mixed|alternative) * ^Content-Type:.*(audio/x-|application|x-rasmol) * name=.*\.(scr|com|bat|pif|lnk|exe)
if (/^Content-Type: *(multipart/(mixed|alternative)|audio/x-|application|x-rasmol) \ || name=.*\.(scr|com|bat|pif|lnk|exe)) { ....
}
Note the continuation backslash.
pgp00000.pgp
Description: PGP signature
