Subject: | $mailcfg{from} does not set the from header |
$mailcfg{from} is parsed for the envelope sender but is never actually copied into a From header. The receiving mail server typically creates the From header using the envelope sender if it is not present. The "Mailing script" portion of the example is simply lost.