Created
December 23, 2010 05:34
-
-
Save waffle2k/752611 to your computer and use it in GitHub Desktop.
sample_fbl_procmail.rc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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