Skip to content

Instantly share code, notes, and snippets.

@lancechentw
Created June 30, 2012 18:10
Show Gist options
  • Save lancechentw/3024900 to your computer and use it in GitHub Desktop.
Save lancechentw/3024900 to your computer and use it in GitHub Desktop.
procmailrc examples
VERBOSE=on
LOGFILE=$HOME/.procmail.log/procmail.`date +%Y%m%d`.log
LOGABSTRACT=yes
:0:
* ^To: [email protected]
$DEFAULT
:0
* ^From: [email protected]
* ^Subject.*(security|daily|weekly|monthly) run output
{
:0 c
! [email protected]
:0:
$DEFAULT
}
:0
* ^From: [email protected]
* ^Subject.*Logwatch for
{
:0 c
! [email protected]
:0:
$DEFAULT
}
:0:
* ^X-Spam-Flag: Yes
Mail/Spam
:0
{
:0 c
! [email protected]
:0:
$DEFAULT
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment