Matus UHLAR - fantomas via Postfix-users:
> On 07.03.24 12:14, Wietse Venema via Postfix-users wrote:
> >The Postfix SMTP server counts only the recipients that it accepts,
> >not the ones that it rejects.
> >
> >That is, a DATA or BDAT command after all recipients are rejected
> >will result in a "554 5.5.1 Error: no valid recipients".
> 
> So I guess there is no way for a milter/policy server to know about 
> rejected recipients (other than parsing log file)?
> 
> e.g. the DCC milter would report total count of recipients (including 
> rejected/non-existing) to DCC servers.

Basic principle: Postfix sends only the SMTP commands and message
content that Postfix has not rejected. The exception is the "unknown
command" event in the Milter protocol.

This prevents that Postfix and Milter get out of step, for example
when Postfix rejects something and the Milter accepts it. Both
Postfix and Milters (or the libmilter library) have ideas of what
to expect next, and I control only the Postfix expectations. Changing
this on the Postfix side after almost 20 years is risky. There must
be Milters that have only talked to Postfix.

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to