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 Josip Almasi <jo...@vrspace.org> on 2003/03/06 12:40:58 UTC

uknown smtp host - virtual server?

Hi,

When my James 2.1.2 sends to game.mtonline.org, I get
javax.mail.MessagingException: Unknown SMTP host: 193.95.196.170.;
java.net.UnknownHostException: 193.95.196.170.

But, I _can_ connect to it on smtp.
It's a virtual server there, so reverse query will not return 
game.mtonline.org.

In spoolmanager.log is DEBUG spoolmanager: Result was ghost

In short - can I send to virtual servers?

Thanks!

Josip


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


RE: uknown smtp host - virtual server?

Posted by "Noel J. Bergman" <no...@devtech.com>.
Kenny,

> Isn't the problem here simply that the DNS lookup
> doesn't expect that trailing dot to be on there?

Not according to my test program, nor Bill Shannon.  We're still trying to
figure out the cause of the problem.

The trailing '.' is an artifact of the dnsjava lookup, but if you execute
the test code that I wrote (see james-dev@), you'll see that there is no
exception tossed.

Next up may be a test driver that exercises JavaMail directly.  I'm waiting
for the next reply from Bill before making that effort.

	--- Noel


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


Re: uknown smtp host - virtual server?

Posted by Kenny Smith <ja...@journalscape.com>.
Hi all,

Isn't the problem here simply that the DNS lookup doesn't expect that 
trailing dot to be on there?

Kenny Smith

Noel J. Bergman wrote:
> Josip,
> 
> Good question.  I can reproduce the results, but I'm not sure what is going
> wrong inside of JavaMail for that one.  Have sent of an inquiry.
> 
> 	--- Noel
> 
> -----Original Message-----
> From: Josip Almasi [mailto:joe@vrspace.org]
> Sent: Thursday, March 06, 2003 6:41
> To: james-user@jakarta.apache.org
> Subject: uknown smtp host - virtual server?
> 
> 
> Hi,
> 
> When my James 2.1.2 sends to game.mtonline.org, I get
> javax.mail.MessagingException: Unknown SMTP host: 193.95.196.170.;
> java.net.UnknownHostException: 193.95.196.170.
> 
> But, I _can_ connect to it on smtp.
> It's a virtual server there, so reverse query will not return
> game.mtonline.org.
> 
> In spoolmanager.log is DEBUG spoolmanager: Result was ghost
> 
> In short - can I send to virtual servers?
> 
> Thanks!
> 
> Josip
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-user-help@jakarta.apache.org
> 
> 



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


Re: uknown smtp host - virtual server?

Posted by Kenny Smith <ja...@journalscape.com>.
Hi,

Isn't the problem that since that trailing really shouldn't be there 
from JavaMail's perspective that it's not going to look up the host 
correctly?

Kenny


Noel J. Bergman wrote:
> Josip,
> 
> Good question.  I can reproduce the results, but I'm not sure what is going
> wrong inside of JavaMail for that one.  Have sent of an inquiry.
> 
> 	--- Noel
> 
> -----Original Message-----
> From: Josip Almasi [mailto:joe@vrspace.org]
> Sent: Thursday, March 06, 2003 6:41
> To: james-user@jakarta.apache.org
> Subject: uknown smtp host - virtual server?
> 
> 
> Hi,
> 
> When my James 2.1.2 sends to game.mtonline.org, I get
> javax.mail.MessagingException: Unknown SMTP host: 193.95.196.170.;
> java.net.UnknownHostException: 193.95.196.170.
> 
> But, I _can_ connect to it on smtp.
> It's a virtual server there, so reverse query will not return
> game.mtonline.org.
> 
> In spoolmanager.log is DEBUG spoolmanager: Result was ghost
> 
> In short - can I send to virtual servers?
> 
> Thanks!
> 
> Josip
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-user-help@jakarta.apache.org
> 
> 



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


RE: uknown smtp host - virtual server?

Posted by "Noel J. Bergman" <no...@devtech.com>.
Josip,

Good question.  I can reproduce the results, but I'm not sure what is going
wrong inside of JavaMail for that one.  Have sent of an inquiry.

	--- Noel

-----Original Message-----
From: Josip Almasi [mailto:joe@vrspace.org]
Sent: Thursday, March 06, 2003 6:41
To: james-user@jakarta.apache.org
Subject: uknown smtp host - virtual server?


Hi,

When my James 2.1.2 sends to game.mtonline.org, I get
javax.mail.MessagingException: Unknown SMTP host: 193.95.196.170.;
java.net.UnknownHostException: 193.95.196.170.

But, I _can_ connect to it on smtp.
It's a virtual server there, so reverse query will not return
game.mtonline.org.

In spoolmanager.log is DEBUG spoolmanager: Result was ghost

In short - can I send to virtual servers?

Thanks!

Josip


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


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