You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by colinlai <co...@meritocrat.org> on 2005/10/28 16:37:10 UTC

Can not send emails out

Hi all,

I installed James2.2 in my linux box. It can receive emails from outside but can not send emails out.
I got the following msg in the mailet log file.

28/10/05 20:39:16 INFO  James.Mailet: RemoteDelivery: Could not connect to SMTP host: 64.233.185.27, port: 25;
  nested exception is:
        java.net.ConnectException: connection to 64.233.185.27 timed out
28/10/05 20:39:16 INFO  James.Mailet: RemoteDelivery: Attempting delivery of Mail1130502832744-0-to-gmail.com to host gsmtp83-2.google.com. at 66.249.83.114 to addresses [<gmail.account>]
28/10/05 20:40:16 INFO  James.Mailet: RemoteDelivery: Could not connect to SMTP host: 66.249.83.114, port: 25;
  nested exception is:
        java.net.ConnectException: connection to 66.249.83.114 timed out
28/10/05 20:40:16 INFO  James.Mailet: RemoteDelivery: Attempting delivery of Mail1130502832744-0-to-gmail.com to host gsmtp185-2.google.com. at 64.233.185.114 to addresses [<gmail.account>]
28/10/05 20:41:16 INFO  James.Mailet: RemoteDelivery: Could not connect to SMTP host: 64.233.185.114, port: 25;
  nested exception is:
        java.net.ConnectException: connection to 64.233.185.114 timed out
28/10/05 20:41:16 INFO  James.Mailet: RemoteDelivery: Temporary exception delivering mail (Mail1130502832744-0-to-gmail.com: javax.mail.MessagingException: No mail server(s) available at this time.
        at org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:617)
        at org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:912)
        at java.lang.Thread.run(Thread.java:595)

but i can ping the ip 66.249.83.114 when the mails can't go out.
any advices?

thanks and cheers,
colin

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


Re: Can not send emails out

Posted by Bernd Fondermann <bf...@brainlounge.de>.
Does the problem still exist? I was able to connect to 64.233.185.27:25 
right now. Maybe you are behind a (corporate) firewall blocking SMTP but 
allowing PING. Or the service experienced downtime at the time you tried.
A fast check can be performed using
    telnet <IP> 25
which should give you the mail server greeting.


colinlai wrote:
> Hi all,
> 
> I installed James2.2 in my linux box. It can receive emails from outside but can not send emails out.
> I got the following msg in the mailet log file.
> 
> 28/10/05 20:39:16 INFO  James.Mailet: RemoteDelivery: Could not connect to SMTP host: 64.233.185.27, port: 25;
>   nested exception is:
>         java.net.ConnectException: connection to 64.233.185.27 timed out
> 28/10/05 20:39:16 INFO  James.Mailet: RemoteDelivery: Attempting delivery of Mail1130502832744-0-to-gmail.com to host gsmtp83-2.google.com. at 66.249.83.114 to addresses [<gmail.account>]
> 28/10/05 20:40:16 INFO  James.Mailet: RemoteDelivery: Could not connect to SMTP host: 66.249.83.114, port: 25;
>   nested exception is:
>         java.net.ConnectException: connection to 66.249.83.114 timed out
> 28/10/05 20:40:16 INFO  James.Mailet: RemoteDelivery: Attempting delivery of Mail1130502832744-0-to-gmail.com to host gsmtp185-2.google.com. at 64.233.185.114 to addresses [<gmail.account>]
> 28/10/05 20:41:16 INFO  James.Mailet: RemoteDelivery: Could not connect to SMTP host: 64.233.185.114, port: 25;
>   nested exception is:
>         java.net.ConnectException: connection to 64.233.185.114 timed out
> 28/10/05 20:41:16 INFO  James.Mailet: RemoteDelivery: Temporary exception delivering mail (Mail1130502832744-0-to-gmail.com: javax.mail.MessagingException: No mail server(s) available at this time.
>         at org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:617)
>         at org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:912)
>         at java.lang.Thread.run(Thread.java:595)
> 
> but i can ping the ip 66.249.83.114 when the mails can't go out.
> any advices?
> 
> thanks and cheers,
> colin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
> 
> 


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