Inside Out

Posts Tagged ‘mail

Debugging Procmail Recipes

Posted by: arun on: August 12, 2009

Three steps to nirvana:

Modify mail fetch frequency in .fetchmailrc to a small value. E.g. In my .fetchmailrc, I forced fetchmail to query server every 30s:
set daemon 30
Set the LOGFILE and LOGABSTRACT variables in .procmailrc. The one liner here is, LOGFILE specified where procmail would log the rules processed and LOGABSTRACT controls the verbosity of information [...]

New mail notification with Procmail

Posted by: arun on: December 7, 2008

Problem: I have my local mail setup with mutt, fetchmail and procmail. And I would need a way to run an arbitrary script when new mail arrives and _not_ loose the mail from my inbox.
Solution: Procmail supports a nice feature called nesting. With nested blocks a procmail recipe can be assigned more than action.
e.g: Here’s [...]


Tweet tweet!

Visitor Stats

  • 444,663 Hitz

Disclaimer

All the opinions (text and images) expressed in this website are mine. They do not represent the opinion of any living/non-living individual/groups/institutions, I am associated with.

The comments belong to the ip-address they generate from.

Del.icio.us