On Sun, Feb 11, 2024 at 07:13:38PM +1300, Peter via Postfix-users wrote:

> Right, and further to that a 554 response at connection time is a rejection
> of the *connection*.  No attempt was ever made to send the *message*, so in
> a manner of speaking the message is still valid and a different connection
> might accept it (e.g. by attempting a different MX).  An MTA that wants to
> reject the message should should wait until after the RCPT TO command to
> reject the actual message.

Rejection is equally valid after "MAIL FROM", since that the start of
the "mail transaction".  The receiving system then can't log which
recipients did not get the message, but perhaps that's OK in some cases.

Bottom line the message can be rejected by rejecting:

    - MAIL FROM
    - RCPT TO (for each recipient)
    - DATA
    - END OF DATA (a.k.a. "dot").

With BDAT one can reject all the chunks after some first chunk that is
sufficient grounds to do that.  Because of PIPELINING, one needs to be
willing to receive and reject some subsequent chunks.

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

Reply via email to