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; --===============1019152059== Content-Type: multipart/alternative; boundary="----=_Part_5095_32595785.1204834623630" ------=_Part_5095_32595785.1204834623630 Content-Type: text/plain; charset=ISO-8859-1 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============1019152059==
Content-Type: multipart/alternative; boundary="----=_Part_5095_32595785.1204834623630" ------=_Part_5095_32595785.1204834623630 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Sam, I think there might be a small problem with courier. I'm only guessing here. Let me put out my information. Maybe you can make more sense of it since you are so much more familiar with the code and operations of courier than I am. First, I tried to manually connect and send an email to the relay. Here is the log of that. note: Recipient domain has been replaced with yyy. it's actually "dga" in the mail. -------------- CentOS root /root >telnet k2smtpout.secureserver.net 25 Trying 64.202.189.86... Connected to k2smtpout.secureserver.net. Escape character is '^]'. 220 k2smtpout04-01.prod.mesa1.secureserver.net ESMTP ehlo mail.longboys.net 250-k2smtpout04-01.prod.mesa1.secureserver.net 250-AUTH LOGIN PLAIN 250-8BITMIME 250 PIPELINING mail from:<bitman@longboys.net> 250 Sender accepted. rcpt to:<blong@yyy.org> 250 Recipient accepted. data 354 End your message with a period. To: Bill Long <blong@yyy.org> From: Bill Long <bill@longboys.net> Date: 3/6/08 11:42 am Subject: Test email from manual connect. This is a test. It will go through. .. 250 Accepted message qp 3226 bytes 335 quit 221 Good bye. Connection closed by foreign host. CentOS root /root > -------------------------------- This email did get delivered to my inbox. Now, immediately after, I set my esmtproutes to be :k2smtpout.secureserver.net then sent a mail from local mail client to blong@yyy.org. I captured a tcpdump of the traffic with host k2smtpout.secureserver.net First, is a dump of my maillog for that transaction. Mar 6 12:51:31 CentOS courieresmtpd: MAIL FROM:<bitman@longboys.net> SIZE=392 Mar 6 12:51:31 CentOS courieresmtpd: RCPT TO:<blong@.org> Mar 6 12:51:31 CentOS courieresmtpd: DATA Mar 6 12:51:32 CentOS courierd: newmsg,id=00158A9A.47D04B43.00000F3C: dns; [127.0.0.1] (firewall.telekenex.com [69.28.127.2]) Mar 6 12:51:32 CentOS courierd: started,id=00158A9A.47D04B43.00000F3C ,from=<bitman@longboys.net>,module=esmtp,host=dga. org,addr=<blong@dga.org> Mar 6 12:51:32 CentOS courierd: Waiting. shutdown time=none, wakeup time=none, queuedelivering=1, inprogress=1 Mar 6 12:51:32 CentOS courieresmtp: id=00158A9A.47D04B43.00000F3C,from=< bitman@longboys.net>,addr=<blong@dga.org>: 553 Sorry, that domain isn't in my list of allowed rcpthosts. Mar 6 12:51:32 CentOS courieresmtp: id=00158A9A.47D04B43.00000F3C,from=< bitman@longboys.net>,addr=<blong@dga.org>,status: failure Mar 6 12:51:32 CentOS courierd: completed,id=00158A9A.47D04B43.00000F3C Mar 6 12:51:32 CentOS courierd: started,id=00158A9A.47D04B43.00000F3C ,from=<>,module=dsn,host=,addr=<bitman@longboys.ne t> Mar 6 12:51:32 CentOS courierd: Waiting. shutdown time=none, wakeup time=none, queuedelivering=1, inprogress=1 It failed. Using the capture file, I opened it up in ethereal and did a follow stream. here's the output of that. 220 k2smtpout02-01.prod.mesa1.secureservEHLO mail.longboys.net 250-k2smtpout02-01.prod.mesa1.secureserv250-AUTH LOGIN PLAIN 250-8BITMIME 250 MAIL FROM:<bitman@longboys.net> BODY=7BI250 Sender accepted. RCPT TO:<blong@yyy.org> DATA 553 Sorry, that domain isn't in my list 503 You must send RCPT TO: first I noticed that the RCPT TO:<blong@yyy.org> had the DATA follow without a response from the k2smtpout server. I double checked the stream in ethereal and indeed courier did send the data command immediately after sending the RCPT TO without waiting for a 250 response from the server. This would actually be consistent with the error message. If courier was sending the DATA command while the server was still looking for a RCPT TO, then DATA would be part of the domain name, and would definitely show up as an invalid domain. any ideas? any help or ideas you can give would be most appreciated. On Wed, Mar 5, 2008 at 4:27 PM, Sam Varshavchik <mrsam@courier-mta.com> wrote: > Bill Long writes: > > > When I try to send emails, I get the following error in my maillog > > Mar 5 13:43:04 CentOS courieresmtp: > > id=002E6F36.47CF0337.000064F4,from=<EMAIL PROTECTED>,addr=<EMAIL > > PROTECTED>: 553 Sorry, that domain isn't in my list of allowed > rcpthosts. > > Mar 5 13:43:04 CentOS courieresmtp: > > id=002E6F36.47CF0337.000064F4,from=<EMAIL PROTECTED>,addr=<EMAIL > > PROTECTED>,status: failure > > > > any ideas? > > The recipient server does not like the receipient address, which you've > deleted. If you don't know why that mail server rejects the recipient > address, you'll need to ask its administrator. > > > ------------------------------------------------------------------------- > 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 > > ------=_Part_5095_32595785.1204834623630 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Sam,<br><br>I think there might be a small problem with courier. I'm only guessing here. Let me put out my information. Maybe you can make more sense of it since you are so much more familiar with the code and operations of courier than I am.<br> <br>First, I tried to manually connect and send an email to the relay. Here is the log of that.<br><br>note: Recipient domain has been replaced with yyy. it's actually "dga" in the mail.<br><br>--------------<br> CentOS root /root >telnet <a href="http://k2smtpout.secureserver.net">k2smtpout.secureserver .net</a> 25<br>Trying 64.202.189.86...<br>Connected to <a href="http://k2smtpout.secureserver.net">k2smtpout.secureserver .net</a>.<br> Escape character is '^]'.<br>220 <a href="http://k2smtpout04-01.prod.mesa1.secureserver.net">k2smtpout04-01.prod.mesa1.secureserver.net</a> ESMTP<br>ehlo <a href="http://mail.longboys.net">mail.longboys.net</a><br> <a href="http://250-k2smtpout04-01.prod.mesa1.secureserver.net">250-k2smtpout04-01.prod.mesa1.secureserver.net</a><br>250-AUTH LOGIN PLAIN<br>250-8BITMIME<br>250 PIPELINING<br>mail from:<<a href="mailto:bitman@longboys.net">bitman@longboys. net</a>><br> 250 Sender accepted.<br>rcpt to:<<a href="mailto:blong@yyy.org">blong@yyy.org</a>><br>250 Recipient accepted.<br>data<br>354 End your message with a period.<br>To: Bill Long <<a href="mailto:blong@yyy.org">blong@yyy.org</a>><br> From: Bill Long <<a href="mailto:bill@longboys.net">bill@longboys.net</a>><br>Date: 3/6/08 11:42 am<br>Subject: Test email from manual connect.<br><br>This is a test. It will go through.<br>.<br>250 Accepted message qp 3226 bytes 335<br> quit<br>221 Good bye.<br>Connection closed by foreign host.<br>CentOS root /root ><br>--------------------------------<br>This email did get delivered to my inbox.<br><br> Now, immediately after, I set my esmtproutes to be<br>:<a href="http://k2smtpout.secureserver.net">k2smtpout.secureserver .net</a><br>then sent a mail from local mail client to <a href="mailto:blong@yyy.org">blong@yyy.org</a>. I captured a tcpdump of the traffic with host <a href="http://k2smtpout.secureserver.net">k2smtpout.secureserver .net</a><br> <br>First, is a dump of my maillog for that transaction.<br>Mar 6 12:51:31 CentOS courieresmtpd: MAIL FROM:<<a href="mailto:bitman@longboys.net">bitman@longboys. net</a>> SIZE=392<br>Mar 6 12:51:31 CentOS courieresmtpd: RCPT TO:<blong@.org><br> Mar 6 12:51:31 CentOS courieresmtpd: DATA<br>Mar 6 12:51:32 CentOS courierd: newmsg,id=00158A9A.47D04B43.00000F3C: dns; [<a href="http://127.0.0.1">127.0.0.1</a>] (<a href="http://firewall.telekenex.com">firewall.telekenex.com</a> [<a href="http://69.28.127.2">69.28.127.2</a>])<br> Mar 6 12:51:32 CentOS courierd: started,id=00158A9A.47D04B43.00000F3C,from=<<a href="mailto:bitman@longboys.net">bitman@longboys. net</a>>,module=esmtp,host=<a href="http://dga.org">dga.org</a>,addr=<<a href="mailto:blong@dga.org">blong@dga.org</a>><br> Mar 6 12:51:32 CentOS courierd: Waiting. shutdown time=none, wakeup time=none, queuedelivering=1, inprogress=1<br>Mar 6 12:51:32 CentOS courieresmtp: id=00158A9A.47D04B43.00000F3C,from=<<a href="mailto:bitman@longboys.net">bitman@longboys. net</a>>,addr=<<a href="mailto:blong@dga.org">blong@dga.org</a>>: 553 Sorry, that domain isn't in my list of allowed rcpthosts.<br> Mar 6 12:51:32 CentOS courieresmtp: id=00158A9A.47D04B43.00000F3C,from=<<a href="mailto:bitman@longboys.net">bitman@longboys. net</a>>,addr=<<a href="mailto:blong@dga.org">blong@dga.org</a>>,status: failure<br> Mar 6 12:51:32 CentOS courierd: completed,id=00158A9A.47D04B43.00000F3C<br>Mar&nbs p; 6 12:51:32 CentOS courierd: started,id=00158A9A.47D04B43.00000F3C,from=<> ;,module=dsn,host=,addr=<<a href="mailto:bitman@longboys.net">bitman@longboys. net</a>><br> Mar 6 12:51:32 CentOS courierd: Waiting. shutdown time=none, wakeup time=none, queuedelivering=1, inprogress=1<br><br>It failed.<br><br>Using the capture file, I opened it up in ethereal and did a follow stream.<br>here's the output of that.<br> <br>220 k2smtpout02-01.prod.mesa1.secureservEHLO <a href="http://mail.longboys.net">mail.longboys.net</a><br>250-k2smtpout02-01.prod.mesa1.secureserv250-AUTH LOGIN PLAIN<br>250-8BITMIME<br>250 MAIL FROM:<<a href="mailto:bitman@longboys.net">bitman@longboys. net</a>> BODY=7BI250 Sender accepted.<br> RCPT TO:<<a href="mailto:blong@yyy.org">blong@yyy.org</a>><br>DATA<br>553 Sorry, that domain isn't in my list 503 You must send RCPT TO: first<br><br>I noticed that the RCPT TO:<<a href="mailto:blong@yyy.org">blong@yyy.org</a>> had the DATA follow without a response from the k2smtpout server. I double checked the stream in ethereal and indeed courier did send the data command immediately after sending the RCPT TO without waiting for a 250 response from the server.<br> <br>This would actually be consistent with the error message. If courier was sending the DATA command while the server was still looking for a RCPT TO, then DATA would be part of the domain name, and would definitely show up as an invalid domain.<br> <br>any ideas? any help or ideas you can give would be most appreciated.<br><br><div class="gmail_quote">On Wed, Mar 5, 2008 at 4:27 PM, Sam Varshavchik <<a href="mailto:mrsam@courier-mta.com" target="_blank">mrsam@courier-mta.com</a>> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div>Bill Long writes:<br> <br> > When I try to send emails, I get the following error in my maillog<br> > Mar 5 13:43:04 CentOS courieresmtp:<br> > id=002E6F36.47CF0337.000064F4,from=<EMAIL PROTECTED>,addr=<EMAIL<br> > PROTECTED>: 553 Sorry, that domain isn't in my list of allowed rcpthosts.<br> > Mar 5 13:43:04 CentOS courieresmtp:<br> > id=002E6F36.47CF0337.000064F4,from=<EMAIL PROTECTED>,addr=<EMAIL<br> > PROTECTED>,status: failure<br> ><br> > any ideas?<br> <br> </div>The recipient server does not like the receipient address, which you've<br> deleted. If you don't know why that mail server rejects the recipient<br> address, you'll need to ask its administrator.<br> <br> <br>-------------------------------------------------------------------------<br> This SF.net email is sponsored by: Microsoft<br> Defy all challenges. Microsoft(R) Visual Studio 2008.<br> <a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>____________________________________________ ___<br> courier-users mailing list<br> <a href="mailto:courier-users@lists.sourceforge.net" target="_blank">courier-users@lists.sourceforge.net</a><br> Unsubscribe: <a href="https://lists.sourceforge.net/lists/listinfo/courier-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/courier-users</a><br> <br></blockquote></div><br> ------=_Part_5095_32595785.1204834623630-- --===============1019152059== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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/ --===============1019152059== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users --===============1019152059==-- |