Bill Long wrote:
> I know why it's rejecting the mail. It's because courier is sending
> the DATA command immediately after sending the RCPT TO command and not
> waiting for the 250 response, and the k2 server is thinking the DATA
> command is part of the RCPT TO data.
That seems unlikely, since the server responds with an error to both the
RCPT TO and DATA commands.
If you think that's the problem, there are several things you can do to
demonstrate that. First, you can telnet to the server and issue the
exact commands that Courier does and see if you get the same responses.
You should make sure that you're sending CRLF, which isn't the default.
You'll need to use the escape character (Ctrl+]) and then type "toggle
crlf". When you hit enter, telnet will confirm the change and return
immediately to the session.
secureserver.net doesn't accept connections from me, and probably not
from anyone else on this list, so you need to do the debugging yourself.
> Regardless of whether that's proper behavior or not is irrelevant to
> me right now. I need my mail server running. So what I need to do is
> have courier NOT send the DATA command immediately after sending the
> RCPT TO command and to wait for the 250 response then send it. My,
> most likely incorrect, understanding, was that courier was doing this
> because the k2 server advertised PIPELINING capabilities and courier
> was playing.
You also never demonstrated to us that courier continued to use
pipelining after you disabled it in the source code.
You only need to comment out:
if (strcmp(hellobuf, "PIPELINING") == 0)
haspipelining=1;
> No worries though. I got it working by forwarding the courier mail to
> a postfix server running locally on a different port, then having the
> postfix server use the k2 server as a relay.
postfix also supports pipelining, AFAIK. Have you checked to see what's
different in the sessions?
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users