[exim-dev] acl_smtp_notquit during submission?

Top Pagina
Delete this message
Reply to this message
Auteur: Jasen Betts
Datum:  
Aan: exim-dev
Onderwerp: [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?