.procmailrc

What's in your .procmailrc

Are there any handy general items you put in your .procmailrc file? ...

Want procmail to run a custom python script, everytime a new mail shows up

I have a pretty usual requirement with procmail but I am unable to get the results somehow. I have procmailrc file with this content: :0 * ^To.*@myhost | /usr/bin/python /work/scripts/privilege_emails_forward.py Wherein my custom python script(privilege_emails_forward.py) will be scanning through the email currently received and do so...

"OR" rules in .procmailrc with body search

According to http://lipas.uwasa.fi/~ts/info/proctips.html#orrules , you can make basic "or" rules in .procmailrc with something like: :0: * ^From:.*reriksso@([-a-z0-9_]+\.)*helsinki\.fi|\ ^From:.*era@iki\.fi ${DEFAULT} Normally, you can make a condition checks the body with a condition like * B ?? search_body_for_this However, th...

I can't make procmail to process my mails

While this question sounds probably too general, there's not much I can say. I'm in a kind of hurry and can't browse like 666 pages of manuals, for procmail and stmp clients. What I've checked so far is that: manual execution of: procmail -m .procmailrc < /var/mail/mymails is working, but every time it processes the same mail. When I...