Nick Tait via Postfix-users: > $ ( echo -en "EHLO foo.local\r\nSTARTTLS\r\n" ; sleep 0 ; echo -en "QUIT\r\n" > ) | nc mx.tait.net.nz 25 > > Note the "sleep 0" (which does nothing). For me, running the command > above terminates 50% of the time and hangs 50% of the time, but it all > depends on whether Postscreen receives the QUIT in the same read as the > EHLO+STARTTLS. If I replace the "sleep 0" with "sleep 1", then it works > 100% of the time.
Ah, that is a bug. The PREGREET detector reads all available input, instead of stopping at the first line break. It should still *log* all available input but *read* only the first line. Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org