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