https://bugs.exim.org/show_bug.cgi?id=1832
--- Comment #4 from Sander Hoentjen <[email protected]> --- I created an expect script to reproduce: # cat smtp_server.expect ================ #!/usr/bin/expect spawn nc -l <some_ip> 25 #stty -echo exp_internal 1 expect -re ".*" {send -- "200 blabla.example.com ESMTP\r"} expect { timeout {puts "timed out"; exit 42} eof {puts "eof"; exit 99} -re "EHLO*" {send -- "421 5.5.0 Your IP has been blacklisted.\r"} -re "HELO*" {send -- "421 5.5.0 Your IP has been blacklisted.\r"} } set timeout 1 expect { timeout {puts "timed out"; exit 42} } ================ I can reproduce the problem with above script. Exim connects, script sends "200 blabla.example.com ESMTP" exim sends EHLO, script replies with 421 and disconnects a second later I guess one option would be to always log the reply to the EHLO, before continuing to try the HELO. -- You are receiving this mail because: You are on the CC list for the bug. -- ## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
