Procmail

From Wiki
Jump to: navigation, search

Sample procmailrc:

MAILDIR="/home/user1/Maildir/"
DEFAULT=$MAILDIR
LOGFILE="/home/user1/procmail_log.txt"

:0:
* ^X-Spam-Status: yes
.spam/

:0:
* ^X-ACL-Warn: X-Blacklisted
/dev/null

:0:
* ^To: fulldisclosure@seclists.org
.Full\ Disclosure/

:0:
* ^Subject: .*\[lustre-discuss\].*
.Lustre/

:0 B
* unsubscribe
.spam/