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:<[EMAIL PROTECTED]>
250 Sender accepted.
rcpt to:<[EMAIL PROTECTED]>
250 Recipient accepted.
data
354 End your message with a period.
To: Bill Long <[EMAIL PROTECTED]>
From: Bill Long <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED] 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:<[EMAIL PROTECTED]>
SIZE=392
Mar  6 12:51:31 CentOS courieresmtpd: RCPT TO:<[EMAIL PROTECTED]>
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=<[EMAIL PROTECTED]>,module=esmtp,host=dga.org,addr=<[EMAIL PROTECTED]>
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=<
[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>: 553 Sorry, that domain isn't in
my list of allowed rcpthosts.
Mar  6 12:51:32 CentOS courieresmtp: id=00158A9A.47D04B43.00000F3C,from=<
[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>,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=<[EMAIL PROTECTED]>
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:<[EMAIL PROTECTED]> BODY=7BI250 Sender accepted.
RCPT TO:<[EMAIL PROTECTED]>
DATA
553 Sorry, that domain isn't in my list 503 You must send RCPT TO: first

I noticed that the RCPT TO:<[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
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/listinfo/courier-users
>
>
-------------------------------------------------------------------------
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/listinfo/courier-users

Reply via email to