X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/b92c80599d51dd6d74c1ce31629e893503ceeecb..6b23ffe717416a4cf7ae4a11d7ae0a7cd66ef770:/procmail/normalise diff --git a/procmail/normalise b/procmail/normalise index b205694..bd8d0a7 100644 --- a/procmail/normalise +++ b/procmail/normalise @@ -1,5 +1,6 @@ -# add hostname if missing +# add hostname if missing, but only if ORIGINAL_TO is not empty :0 +* ORIGINAL_TO ?? . * ! ORIGINAL_TO ?? @ { ORIGINAL_TO="$ORIGINAL_TO@$HOSTNAME" }