[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] whom(1) Violates RFC 5321: Closes SMTP After RSET.
From: |
Ken Hornstein |
Subject: |
Re: [Nmh-workers] whom(1) Violates RFC 5321: Closes SMTP After RSET. |
Date: |
Thu, 07 Sep 2017 14:26:31 -0400 |
>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