Skip to content

Instantly share code, notes, and snippets.

@waffle2k
Created December 23, 2010 05:34
Show Gist options
  • Save waffle2k/752611 to your computer and use it in GitHub Desktop.
Save waffle2k/752611 to your computer and use it in GitHub Desktop.
sample_fbl_procmail.rc
TIME=`date +%Y-%m-%d-%H`
# Yahoo!'s FBL
:0
* ^To: redacted\.yahoo\.address@domain
{
:0
/home/fbl/yahoo/$TIME/.
}
# AOL / SCOMP reports
:0
* ^From: scomp@aol\.net
{
:0
/home/fbl/aol/$TIME/.
}
# microsoft
:0
* ^To: redacted\.microsoft@domain
{
# Note that MS doesn't send ARFs, so we must first
# convert it, and output the ARF to the stdout
# which will then be consumed by the following statement
:0 wfc
| perl /home/fbl/bin/hotmail-arf-convert.pl
:0
/home/fbl/ms/$TIME/.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment