in reply to Socket weirdness
If you're already using qmail-smtpd and friends, set up recordio to record all input and output to your mail server. Then you should be able to identify problem sessions, and see what went on.
Alternatively, use a packet sniffer like tcpdump to monitor all traffic with the hosts that are having problems, then review the logs after a problem happens.
A few random thoughts...One problem that seems to particularly plague Windows mail clients is not sending a proper CR/LF pair at the end of each SMTP line. Another possibility is that you're not flushing your socket's output buffer and don't have AutoFlush turned on for it. I had a problem with an SMTP wrapper for qmail-smtpd that turned out to be an improper PIPELINING implementation on my end. All of those are easy to test, and make sure that your system handles them properly.
If none of that helps, well, post some code. :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Socket weirdness
by dgaramond2 (Monk) on May 07, 2004 at 19:18 UTC | |
by sgifford (Prior) on May 07, 2004 at 19:23 UTC | |
by dgaramond2 (Monk) on May 07, 2004 at 19:49 UTC | |
by Anonymous Monk on May 07, 2004 at 21:50 UTC | |
by dgaramond2 (Monk) on May 08, 2004 at 05:22 UTC |