]> git.deb.at Git - pkg/abook.git/blob - contrib/whitelist/whitelist.rc
fc9e51d4fb06cf041aad99d42479833e8fc24644
[pkg/abook.git] / contrib / whitelist / whitelist.rc
1 # Test if the email's sender is in the whitelist
2  :0
3  * ? formail -x"From" -x"From:" -x"Sender:" \
4      -x"Reply-To:" -x"Return-Path:" -x"To:" \
5          | egrep -is -f ~/.procmail/white.lst
6 {
7  :0 fwh
8       | formail -a"X-Match: whitelist"
9 }