You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by J Malcolm <te...@malcolms.com> on 2003/09/25 17:51:41 UTC

James SMTP can't find target domain; Other SMTP servers can

I'm fairly new to James so bear with me.  My James server has been up and running, both inbound and outbound for a couple of weeks, and traffic appears to be flowing without problem.... until today.  I received a bounce of one particular email.  Here is the maillet log entry:

25/09/03 08:31:24 INFO  James.Mailet: RemoteDelivery: Attempting delivery of Mail1064496684018-556-to-mcd-co.com to host inbound.registeredsite.com. to addresses [xxxxxxxxx@mcd-co.com]
25/09/03 08:31:26 INFO  James.Mailet: RemoteDelivery: Permanent exception delivering mail (Mail1064496684018-556-to-mcd-co.com: javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
        class javax.mail.SendFailedException: 550 <unknown[24.153.218.11]>: Client host rejected: The domain you are trying to send mail to does not exist.

        at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:926)
        at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:389)
        at org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:346)
        at org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:797)
        at java.lang.Thread.run(Unknown Source)

=====================

In the first line, the "inbound.registeredsite.com" looks suspicious.  Is this possibly a DNS record error on their server?

But when I changed to use a different SMTP server other than my James server, the mail got through.

So should I assume that there are different ways to locate domain mail server names?  James uses one way which is broken on the target, and the other SMTP server I tried used a different way?

Can someone educate me on this?  Is there any way to make my server get this mail to its destination like the other SMTP server does (I don't have permanent access to the other SMTP).

Thanks a bunch.

J.



Re: James SMTP can't find target domain; Other SMTP servers can

Posted by Soeren Hilmer <so...@tietoenator.com>.
Which James version are you using?

If you are on a standard 2.1.3, the dnsjava used will not expire its internal 
dnscache. This means that if the mcd-co.com has changed their DNS entry James 
continues to use the old entry.
If this is the  problem a restart of James, should solve it.

--Søren

On Thursday 25 September 2003 17:51, J Malcolm wrote:
> I'm fairly new to James so bear with me.  My James server has been up
> and running, both inbound and outbound for a couple of weeks, and
> traffic appears to be flowing without problem.... until today.  I
> received a bounce of one particular email.  Here is the maillet log
> entry:
>
> 25/09/03 08:31:24 INFO  James.Mailet: RemoteDelivery: Attempting
> delivery of Mail1064496684018-556-to-mcd-co.com to host
> inbound.registeredsite.com. to addresses [xxxxxxxxx@mcd-co.com]
> 25/09/03 08:31:26 INFO  James.Mailet: RemoteDelivery: Permanent
> exception delivering mail (Mail1064496684018-556-to-mcd-co.com:
> javax.mail.SendFailedException: Invalid Addresses;
>   nested exception is:
>         class javax.mail.SendFailedException: 550
> <unknown[24.153.218.11]>: Client host rejected: The domain you are
> trying to send mail to does not exist.
>
>         at
> com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:926)
>         at
> com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:389)
>         at
> org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery
> .java:346)
>         at
> org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.jav
> a:797)
>         at java.lang.Thread.run(Unknown Source)
>
> =====================
>
> In the first line, the "inbound.registeredsite.com" looks suspicious.
> Is this possibly a DNS record error on their server?
>
> But when I changed to use a different SMTP server other than my James
> server, the mail got through.
>
> So should I assume that there are different ways to locate domain mail
> server names?  James uses one way which is broken on the target, and the
> other SMTP server I tried used a different way?
>
> Can someone educate me on this?  Is there any way to make my server get
> this mail to its destination like the other SMTP server does (I don't
> have permanent access to the other SMTP).
>
> Thanks a bunch.
>
> J.

-- 
Søren Hilmer, M.Sc.
R&D manager		Phone:	+45 70 27 64 00
TietoEnator IT+ A/S	Fax:	+45 70 27 64 40
Ved Lunden 12		Direct:	+45 87 46 64 57
DK-8230 Åbyhøj		Email:	soren.hilmer@tietoenator.com


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: James SMTP can't find target domain; Other SMTP servers can

Posted by "Noel J. Bergman" <no...@devtech.com>.
> I have forwarded the failure info to sysadmin for the recpient.  But no
> surprise... no response.

Any news, yet?

> 1) Is there any way to turn on more debug so I can get a better idea of
the
> steps James is taking and precisely what step is failing?

>From what you showed, the "step" was the transfer to the foreign MTA, which
explicitly rejected your message.

> 2) Can you decrypt the error message a little more?  ("client-host
> rejected"?? am I the 'client host'?

I would think so from context.  But it is not a standard message.

> 3) Which domain is it implying does not exist?  registered-site.com or
> mcd-co.com?

Heck if I can tell from their non-standard replies.  On the one hand, they
say "Client host rejected: The domain you are trying to send mail to does
not exist", but on the other hand, they seem to be complaining only when
they receive the message from you.

	--- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: James SMTP can't find target domain; Other SMTP servers can

Posted by J Malcolm <te...@malcolms.com>.
Noel,

Thanks for the info.  You are correct.  roadrunner business class, fixed ip.

I have forwarded the failure info to sysadmin for the recpient.  But no
surprise... no response.

A few brief questions----

1) Is there any way to turn on more debug so I can get a better idea of the
steps James is taking and precisely what step is failing?

2) Can you decrypt the error message a little more?  ("client-host
rejected"?? am I the 'client host'?  In my understanding I am always one or
the other (client or host) but not both(??)  Is this saying that my SMTP
server is being rejected?  Just trying to get the perspective on the error
message.)

3) Which domain is it implying does not exist?  registered-site.com or
mcd-co.com?

Just kinda frustrated.  I send tons of email, and this is the only one that
is continually bouncing.

Thanks again.

J.

> to host inbound.registeredsite.com. to addresses [xxxxxxxxx@mcd-co.com]
>
>  >nslookup
>  > set q=mx
>  > mcd-co.com
>  Non-authoritative answer:
>  mcd-co.com      MX preference = 5, mail exchanger =
> inbound.registeredsite.com
>
>  mcd-co.com      nameserver = b.ns.interland.net
>  mcd-co.com      nameserver = c.ns.interland.net
>  mcd-co.com      nameserver = a.ns.interland.net
>  a.ns.interland.net      internet address = 64.226.28.33
>
> Looks like mail is handled for them by inbound.registeredsite.com.
>
> > RemoteDelivery: Permanent exception delivering mail
> (Mail1064496684018-556-to-mcd-co.com: javax.mail.SendFailedException:
> Invalid Addresses;
> >  nested exception is:
> >        class javax.mail.SendFailedException: 550
<unknown[24.153.218.11]>:
> Client host rejected: The domain you are trying to send mail to does not
> exist.
>
>  >tracert 24.153.218.11
>  Tracing route to rrcs-sw-24-153-218-11.biz.rr.com [24.153.218.11]
>
> Hmmmm ... looks like you are using a RoadRunner account (business
account?).
> Dynamic IP or static IP?  I see the part about the domain you are sending
> mail to not existing, but they might be blocking because of your IP.  If
you
> have a real contact there, I could send an e-mail via my server.
>
> I did telnet into their mail server, and everything looked OK manually,
but
> I didn't have a person's address to try.
>
> --- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: James SMTP can't find target domain; Other SMTP servers can

Posted by "Noel J. Bergman" <no...@devtech.com>.
> RemoteDelivery: Attempting delivery of Mail1064496684018-556-to-mcd-co.com
to host inbound.registeredsite.com. to addresses [xxxxxxxxx@mcd-co.com]

 >nslookup
 > set q=mx
 > mcd-co.com
 Non-authoritative answer:
 mcd-co.com      MX preference = 5, mail exchanger =
inbound.registeredsite.com

 mcd-co.com      nameserver = b.ns.interland.net
 mcd-co.com      nameserver = c.ns.interland.net
 mcd-co.com      nameserver = a.ns.interland.net
 a.ns.interland.net      internet address = 64.226.28.33

Looks like mail is handled for them by inbound.registeredsite.com.

> RemoteDelivery: Permanent exception delivering mail
(Mail1064496684018-556-to-mcd-co.com: javax.mail.SendFailedException:
Invalid Addresses;
>  nested exception is:
>        class javax.mail.SendFailedException: 550 <unknown[24.153.218.11]>:
Client host rejected: The domain you are trying to send mail to does not
exist.

 >tracert 24.153.218.11
 Tracing route to rrcs-sw-24-153-218-11.biz.rr.com [24.153.218.11]

Hmmmm ... looks like you are using a RoadRunner account (business account?).
Dynamic IP or static IP?  I see the part about the domain you are sending
mail to not existing, but they might be blocking because of your IP.  If you
have a real contact there, I could send an e-mail via my server.

I did telnet into their mail server, and everything looked OK manually, but
I didn't have a person's address to try.

	--- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org