Christophe Kalt via Postfix-devel:
> Hi all,
>
> I realize needing this might be unusual, but others may benefit.
Thanks. The code is generally OK but I am making two changes to
avoid mixing up 'empty original recipient' and 'no original recipient'.
1 - For the past 24 years, The cleanup daemon ensures that every
recipient comes after its original recipient.
If there is no original recipient, as is the case with maildrop
queue files from Posifix sendmail command-line submission, then
the cleanup daemon copies the reipient to the original recipient.
We should do that in showq too.
2 - The Postfix SMTP server rejects a null recipient address in
SMTP. In all other cases, the Postfix cleanup daemon rewrites
a null recipient to $empty_address_recipient (MAILER-DAMEON),
while leaving the original recipient value emtpy. So, no need
to treat an empty original recipient as 'no original recipient'
in postqueue.c.
Wietse
_______________________________________________
Postfix-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]