[exim-dev] acl_smtp_notquit during submission?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jasen Betts
Date:  
À: exim-dev
Sujet: [exim-dev] acl_smtp_notquit during submission?
it seems that acl_smtp_notquit does not if the connection is dropped some time
between "<< DATA" and ">> 250" (duting SMTP message body submission)

eg: "SMTP connection lost after final dot"

is there a reason for that?





it seems like I just need edit receive.c:receive_msg() to add

smtp_notquit_exit('connection-lost', NULL,NULL);

after

uschar *msg = US"SMTP connection lost after final dot";
...
log_write(0, LOG_MAIN, "%s", s);


and also before "return;" in receive.c:handle_lost_connection()

or is this likely to break something?