nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] whom(1) Violates RFC 5321: Closes SMTP After RSET.

2017-09-07 13:26:54
I think a QUIT should be sent after the RSET.  I suspect if a QUIT was
sent instead then Postfix might then log that a QUIT occurred mid-flow.

I had a look at making the fix, but the mts code copes with several
back-ends, and it wasn't obvious what the impact might be.

So ... hm.  As I read it, this happens because in verify_all_addresses()
sm_end() is being called with an argument of DONE, instead of OK.  I think
we can change the sm_end() in verify_all_addresses() to be this:

        sm_end (whomsw ? OK : DONE);

And that should do what you want?

--Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>