INCLUDERC=$HOME/procmail/common.rc | |
# Fix gitgitgadget From, unless they started setting | |
# their own X-Original-From | |
:0 | |
* ^From: .*<gitgitgadget@gmail\.com> | |
* ! ^X-Original-From: | |
{ | |
:0 bw | |
INBODYFROM=| formail -xfrom: | |
:0 hfw | |
* INBODYFROM ?? . | |
| formail -I "From:$INBODYFROM" | |
} | |
:0 w | |
| $PARSEMAIL | |
# vim: ts=2 sw=2 sts=2 et syntax=procmail |