Re: [courier-users] can't get esmtproutes to work

This is a discussion on Re: [courier-users] can't get esmtproutes to work within the Courier-Imap forums, part of the Mail Servers and Related category; Bill Long wrote: > I know why it's rejecting the mail. It's because courier is sending > the ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-07-2008
Gordon Messmer
 
Posts: n/a
Default Re: [courier-users] can't get esmtproutes to work

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
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:20 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0