brian <briane@xxxxxxxxxx> writes:
[...]
> Before: We were getting the bare lf error message. So I thought no > problem, I'll just strip out the \n.\n and send it later, or convert > it to \r\n.\r\n.
qmail expects all lines to end with \r\n, not just the final one with the lone dot. Fixing your program to do that might take care of the problem. If not, look in the logs for qmail-smtpd and/or in the response qmail is sending before it disconnects you. There should be some clues there.
---ScotG.