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 Samuel Sadek <sa...@hotmail.com> on 2002/04/17 00:56:19 UTC

Problem with sending a mail message to a remote mail server

Hi all,

I'm currently reviewing the IMAP proposal code and have a problem whenever I 
attempt to send a simple text/plain mail message to remote mail account at 
Hotmail.com and have found the following error:


1018997243890 [INFO   ] (James.Mailet): ToProcessor: Sending mail 
org.apache.james.core.MailImpl@39ef3a to transport
1018997245187 [INFO   ] (James.Mailet): RemoteDelivery: Remotely delivering 
mail Mail1018997243718-0-!21833932
1018997245187 [INFO   ] (James.Mailet): RemoteDelivery: sending mail to 
[Samuel_Sadek@Hotmail.com] on hotmail.com
1018997245218 [INFO   ] (James.Mailet): RemoteDelivery: Remote delivery 
thread (0) will process mail Mail1018997243718-0-!21833932-to-hotmail.com
1018997245218 [INFO   ] (James.Mailet): RemoteDelivery: attempting to 
deliver Mail1018997243718-0-!21833932-to-hotmail.com
1018997245468 [INFO   ] (James.Mailet): RemoteDelivery: attempting delivery 
of Mail1018997243718-0-!21833932-to-hotmail.com to host Hotmail.com to 
[Samuel_Sadek@Hotmail.com]
1018997266562 [INFO   ] (James.Mailet): RemoteDelivery: Exception delivering 
message (Mail1018997243718-0-!21833932-to-hotmail.com) - Could not connect 
to SMTP host: Hotmail.com, port: 25;
  nested exception is:
	java.net.ConnectException: Operation timed out: connect
1018997266562 [INFO   ] (James.Mailet): RemoteDelivery: Temporary exception 
delivering mail (Mail1018997243718-0-!21833932-to-hotmail.com: 
javax.mail.MessagingException: Could not connect to SMTP host: Hotmail.com, 
port: 25;
  nested exception is:
	java.net.ConnectException: Operation timed out: connect
	at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:867)
	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:156)
	at javax.mail.Service.connect(Service.java:234)
	at javax.mail.Service.connect(Service.java:135)
	at javax.mail.Service.connect(Service.java:87)
	at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:93)
	at 
org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:191)
	at 
org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:400)
	at java.lang.Thread.run(Thread.java:484)

1018997266562 [INFO   ] (James.Mailet): RemoteDelivery: Storing message 
Mail1018997243718-0-!21833932-to-hotmail.com into outgoing after 0 retries

Why hasn't it attempted to resend the message? Isn't there any reattempts 
allowed or configured within James to achieve this?

Appreciate your prompt replies on this matter.

Thanks in advance.

Sam.


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Problem with sending a mail message to a remote mail server

Posted by Serge Knystautas <se...@lokitech.com>.
I'd guess the IMAP proposal has an old copy of the remote delivery 
mailet.  Not really sure... I didn't think the IMAP proposal was even 
functional enough to get to that point.
-- 
Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com/

Samuel Sadek wrote:
> Hi all,
> 
> I'm currently reviewing the IMAP proposal code and have a problem 
> whenever I attempt to send a simple text/plain mail message to remote 
> mail account at Hotmail.com and have found the following error:
> 
> 
> 1018997243890 [INFO   ] (James.Mailet): ToProcessor: Sending mail 
> org.apache.james.core.MailImpl@39ef3a to transport
> 1018997245187 [INFO   ] (James.Mailet): RemoteDelivery: Remotely 
> delivering mail Mail1018997243718-0-!21833932
> 1018997245187 [INFO   ] (James.Mailet): RemoteDelivery: sending mail to 
> [Samuel_Sadek@Hotmail.com] on hotmail.com
> 1018997245218 [INFO   ] (James.Mailet): RemoteDelivery: Remote delivery 
> thread (0) will process mail Mail1018997243718-0-!21833932-to-hotmail.com
> 1018997245218 [INFO   ] (James.Mailet): RemoteDelivery: attempting to 
> deliver Mail1018997243718-0-!21833932-to-hotmail.com
> 1018997245468 [INFO   ] (James.Mailet): RemoteDelivery: attempting 
> delivery of Mail1018997243718-0-!21833932-to-hotmail.com to host 
> Hotmail.com to [Samuel_Sadek@Hotmail.com]
> 1018997266562 [INFO   ] (James.Mailet): RemoteDelivery: Exception 
> delivering message (Mail1018997243718-0-!21833932-to-hotmail.com) - 
> Could not connect to SMTP host: Hotmail.com, port: 25;
>  nested exception is:
>     java.net.ConnectException: Operation timed out: connect
> 1018997266562 [INFO   ] (James.Mailet): RemoteDelivery: Temporary 
> exception delivering mail (Mail1018997243718-0-!21833932-to-hotmail.com: 
> javax.mail.MessagingException: Could not connect to SMTP host: 
> Hotmail.com, port: 25;
>  nested exception is:
>     java.net.ConnectException: Operation timed out: connect
>     at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:867)
>     at 
> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:156)
>     at javax.mail.Service.connect(Service.java:234)
>     at javax.mail.Service.connect(Service.java:135)
>     at javax.mail.Service.connect(Service.java:87)
>     at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:93)
>     at 
> org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:191) 
> 
>     at 
> org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:400) 
> 
>     at java.lang.Thread.run(Thread.java:484)
> 
> 1018997266562 [INFO   ] (James.Mailet): RemoteDelivery: Storing message 
> Mail1018997243718-0-!21833932-to-hotmail.com into outgoing after 0 retries
> 
> Why hasn't it attempted to resend the message? Isn't there any 
> reattempts allowed or configured within James to achieve this?
> 
> Appreciate your prompt replies on this matter.
> 
> Thanks in advance.
> 
> Sam.
> 
> 
> _________________________________________________________________
> Join the world?s largest e-mail service with MSN Hotmail. 
> http://www.hotmail.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Problem with sending a mail message to a remote mail server

Posted by Danny Angus <da...@thought.co.uk>.
Sam,
Please don't cross post, we are all volunteers, we have many things to do,
if your email isn't answered it is not because we havent seen it.

d.

> -----Original Message-----
> From: Samuel Sadek [mailto:samuel_sadek@hotmail.com]
> Sent: 16 April 2002 23:56
> To: james-user@jakarta.apache.org
> Cc: james-dev@jakarta.apache.org
> Subject: Problem with sending a mail message to a remote mail server
>
>
> Hi all,
>
> I'm currently reviewing the IMAP proposal code and have a problem
> whenever I
> attempt to send a simple text/plain mail message to remote mail
> account at
> Hotmail.com and have found the following error:
>
>
> 1018997243890 [INFO   ] (James.Mailet): ToProcessor: Sending mail
> org.apache.james.core.MailImpl@39ef3a to transport
> 1018997245187 [INFO   ] (James.Mailet): RemoteDelivery: Remotely
> delivering
> mail Mail1018997243718-0-!21833932
> 1018997245187 [INFO   ] (James.Mailet): RemoteDelivery: sending mail to
> [Samuel_Sadek@Hotmail.com] on hotmail.com
> 1018997245218 [INFO   ] (James.Mailet): RemoteDelivery: Remote delivery
> thread (0) will process mail Mail1018997243718-0-!21833932-to-hotmail.com
> 1018997245218 [INFO   ] (James.Mailet): RemoteDelivery: attempting to
> deliver Mail1018997243718-0-!21833932-to-hotmail.com
> 1018997245468 [INFO   ] (James.Mailet): RemoteDelivery:
> attempting delivery
> of Mail1018997243718-0-!21833932-to-hotmail.com to host Hotmail.com to
> [Samuel_Sadek@Hotmail.com]
> 1018997266562 [INFO   ] (James.Mailet): RemoteDelivery: Exception
> delivering
> message (Mail1018997243718-0-!21833932-to-hotmail.com) - Could
> not connect
> to SMTP host: Hotmail.com, port: 25;
>   nested exception is:
> 	java.net.ConnectException: Operation timed out: connect
> 1018997266562 [INFO   ] (James.Mailet): RemoteDelivery: Temporary
> exception
> delivering mail (Mail1018997243718-0-!21833932-to-hotmail.com:
> javax.mail.MessagingException: Could not connect to SMTP host:
> Hotmail.com,
> port: 25;
>   nested exception is:
> 	java.net.ConnectException: Operation timed out: connect
> 	at
> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:867)
> 	at
> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:156)
> 	at javax.mail.Service.connect(Service.java:234)
> 	at javax.mail.Service.connect(Service.java:135)
> 	at javax.mail.Service.connect(Service.java:87)
> 	at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:93)
> 	at
> org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDe
> livery.java:191)
> 	at
> org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelive
> ry.java:400)
> 	at java.lang.Thread.run(Thread.java:484)
>
> 1018997266562 [INFO   ] (James.Mailet): RemoteDelivery: Storing message
> Mail1018997243718-0-!21833932-to-hotmail.com into outgoing after 0 retries
>
> Why hasn't it attempted to resend the message? Isn't there any reattempts
> allowed or configured within James to achieve this?
>
> Appreciate your prompt replies on this matter.
>
> Thanks in advance.
>
> Sam.
>
>
> _________________________________________________________________
> Join the world’s largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Problem with sending a mail message to a remote mail server

Posted by Danny Angus <da...@thought.co.uk>.
Sam,
reading this last entry in your log extract...

> 1018997266562 [INFO   ] (James.Mailet): RemoteDelivery: Storing message
> Mail1018997243718-0-!21833932-to-hotmail.com into outgoing after 0 retries
>
> Why hasn't it attempted to resend the message? Isn't there any reattempts
> allowed or configured within James to achieve this?


... makes me wonder what the problem is, this (I think) indicates that the
mail has been pushed back into the spool.
James will attempt to send it the first time it processes the spool after
the wait between retries interval has elapsed.

d.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Problem with sending a mail message to a remote mail server

Posted by Danny Angus <da...@thought.co.uk>.
Sam,
Please don't cross post, we are all volunteers, we have many things to do,
if your email isn't answered it is not because we havent seen it.

d.

> -----Original Message-----
> From: Samuel Sadek [mailto:samuel_sadek@hotmail.com]
> Sent: 16 April 2002 23:56
> To: james-user@jakarta.apache.org
> Cc: james-dev@jakarta.apache.org
> Subject: Problem with sending a mail message to a remote mail server
>
>
> Hi all,
>
> I'm currently reviewing the IMAP proposal code and have a problem
> whenever I
> attempt to send a simple text/plain mail message to remote mail
> account at
> Hotmail.com and have found the following error:
>
>
> 1018997243890 [INFO   ] (James.Mailet): ToProcessor: Sending mail
> org.apache.james.core.MailImpl@39ef3a to transport
> 1018997245187 [INFO   ] (James.Mailet): RemoteDelivery: Remotely
> delivering
> mail Mail1018997243718-0-!21833932
> 1018997245187 [INFO   ] (James.Mailet): RemoteDelivery: sending mail to
> [Samuel_Sadek@Hotmail.com] on hotmail.com
> 1018997245218 [INFO   ] (James.Mailet): RemoteDelivery: Remote delivery
> thread (0) will process mail Mail1018997243718-0-!21833932-to-hotmail.com
> 1018997245218 [INFO   ] (James.Mailet): RemoteDelivery: attempting to
> deliver Mail1018997243718-0-!21833932-to-hotmail.com
> 1018997245468 [INFO   ] (James.Mailet): RemoteDelivery:
> attempting delivery
> of Mail1018997243718-0-!21833932-to-hotmail.com to host Hotmail.com to
> [Samuel_Sadek@Hotmail.com]
> 1018997266562 [INFO   ] (James.Mailet): RemoteDelivery: Exception
> delivering
> message (Mail1018997243718-0-!21833932-to-hotmail.com) - Could
> not connect
> to SMTP host: Hotmail.com, port: 25;
>   nested exception is:
> 	java.net.ConnectException: Operation timed out: connect
> 1018997266562 [INFO   ] (James.Mailet): RemoteDelivery: Temporary
> exception
> delivering mail (Mail1018997243718-0-!21833932-to-hotmail.com:
> javax.mail.MessagingException: Could not connect to SMTP host:
> Hotmail.com,
> port: 25;
>   nested exception is:
> 	java.net.ConnectException: Operation timed out: connect
> 	at
> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:867)
> 	at
> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:156)
> 	at javax.mail.Service.connect(Service.java:234)
> 	at javax.mail.Service.connect(Service.java:135)
> 	at javax.mail.Service.connect(Service.java:87)
> 	at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:93)
> 	at
> org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDe
> livery.java:191)
> 	at
> org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelive
> ry.java:400)
> 	at java.lang.Thread.run(Thread.java:484)
>
> 1018997266562 [INFO   ] (James.Mailet): RemoteDelivery: Storing message
> Mail1018997243718-0-!21833932-to-hotmail.com into outgoing after 0 retries
>
> Why hasn't it attempted to resend the message? Isn't there any reattempts
> allowed or configured within James to achieve this?
>
> Appreciate your prompt replies on this matter.
>
> Thanks in advance.
>
> Sam.
>
>
> _________________________________________________________________
> Join the world’s largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>