comparison CHANGES.ru @ 435:e2df123bbbe2

Mail: close session on smtp_greeting_delay violation. Server MUST send greeting before other replies, while before this change it sends 503 replies to commands received before greeting, then sends 220 greeting, and then accepts more commands. This patch is quick-fix and doesn't really rfc-complaint, since closing connection isn't allowed by RFC. The rfc-complaint options are: 1. Send 220 greeting and then process commands as valid. Probably make sense if information about violation will be available to spam filtering engine later. 2. Send 554 greeting and wait for the client to send a QUIT (see RFC 2821, section "3.1 Session Initiation").
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 10 Sep 2008 23:05:54 +0400
parents a2a3905c04ab
children a8e3f1441eec
comparison
equal deleted inserted replaced
434:375518f786db 435:e2df123bbbe2