Ilja Booij wrote:
I've found another error in the ringbuf code.
It does not terminate when sending a message with an empty body. There's
no problem when using dbmail-smtp, only using lmtp.
Found it!
We do a check for
"\n.\r\n"
to find the end of the message. But, when sending an empty body, we get
".\r\n"
after which we wait for more input.
So, we only need to check if we're at the beginning of a message. If
we're at the beginning, we accept ".\r\n" as message ending, otherwise
we only accept "\n.\r\n"
I'll commit it to CVS asap
Ilja