ietf-smtp
[Top] [All Lists]

Re: [ietf-smtp] SMTP Reply code 500

2020-03-05 03:23:02
On 05/03/2020 02:39, Geethapriya Liyanage wrote:
Thank you very much for the reply.

My doubt was, how client should handle receiving an out of rage code (Eg 600).    Now it is clear, client should gently drop the connection with QUIT.

Yes - there is no clue what a response code of '600' would mean. I'd assume it failed, and give up.

But, don't take it too far. If you got a response code such as 492 that's not listed in any SMTP documentation, I'd treat that as any other 4xx code and treat it as a temporary failure. Strictly, it's invalid because the second digit is supposed to be 0-5 according to RFC 5321, but the first digit is sufficient for most processing, so I'd go with that.



--


Paul Smith Computer Services
Tel: 01484 855800
Vat No: GB 685 6987 53

Sign up for news & updates at http://www.pscs.co.uk/go/subscribe

_______________________________________________
ietf-smtp mailing list
ietf-smtp(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/ietf-smtp