X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/5af333ca3b83425e5cb3aa704b37654d576856c1..f3fec83725bb87ebfd59a5c8f728cc600403a0b7:/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" }