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 Javier Storni <ja...@512konline.com.ar> on 2003/02/18 15:21:49 UTC

James don't send a "Faliure delivery" message.

If I send a mail to a non existent mailbox ( any domain ), never get a
faliure delivery message, but in mailet log:

****************************************************************************
***********
18/02/03 11:07:33 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1045577252741-71-to-512konline.com.ar to host ns2.terranet.com.ar. to
addresses [asklhdfjas@512konline.com.ar]
18/02/03 11:07:34 INFO  James.Mailet: RemoteDelivery: Exception delivering
message (Mail1045577252741-71-to-512konline.com.ar) - Invalid Addresses;
  nested exception is:
 class javax.mail.SendFailedException: 550 5.1.1
<as...@512konline.com.ar>... User unknown

18/02/03 11:07:34 INFO  James.Mailet: RemoteDelivery: Temporary exception
delivering mail (Mail1045577252741-71-to-512konline.com.ar:
javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
 class javax.mail.SendFailedException: 550 5.1.1
<as...@512konline.com.ar>... User unknown

 at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:848)
 at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:323)
 at
org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.jav
a:239)
 at
org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:59
0)
 at java.lang.Thread.run(Thread.java:536)

18/02/03 11:07:34 INFO  James.Mailet: RemoteDelivery: Storing message
Mail1045577252741-71-to-512konline.com.ar into outgoing after 0 retries
****************************************************************************
***********

Why trigger a exception ?
James work like this scenario ? I don't think so, but i can't figure what's
the problem here.


Thanks.

Javier Storni




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


RE: James don't send a "Faliure delivery" message.

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

Thank you for the report.  I went to reproduce your results, and was able to
find a bug in the code that was relatively recent.  Actually, the bug may
have been latent, although I haven't gone back to check, since the
underlying messaging exceptions are not precisely defined by the JavaMail
specification, and James v2.1.1 uses a newer version of JavaMail.  In any
event, I have a patch that works:

RemoteDelivery: Attempting delivery of
Mail1045689607288-1-to-512konline.com.ar to host ns2.terranet.com.ar. to
addresses [invalid550@512konline.com.ar, invalid550-2@512konline.com.ar]
RemoteDelivery: Exception delivering message
(Mail1045689607288-1-to-512konline.com.ar) - Invalid Addresses;
  nested exception is:
	class javax.mail.SendFailedException: 550 5.1.1
<in...@512konline.com.ar>... User unknown
;
  nested exception is:
	class javax.mail.SendFailedException: 550 5.1.1
<in...@512konline.com.ar>... User unknown

RemoteDelivery: Permanent exception delivering mail
(Mail1045689607288-1-to-512konline.com.ar: javax.mail.SendFailedException:
Invalid Addresses;
  nested exception is:
	class javax.mail.SendFailedException: 550 5.1.1
<in...@512konline.com.ar>... User unknown
;
  nested exception is:
	class javax.mail.SendFailedException: 550 5.1.1
<in...@512konline.com.ar>... User unknown

	at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:848)
	at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:323)
	at
org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.jav
a:239)
	at
org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:62
5)
	at java.lang.Thread.run(Thread.java:536)

RemoteDelivery: Sending failure message
Mail1045689607288-1-to-512konline.com.ar

I'll do a clean build and upload 2.1.2a1 later today.

	--- Noel


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


Re: James don't send a "Faliure delivery" message.

Posted by Javier Storni <ja...@512konline.com.ar>.
Version: james-2.1.1a7

So, Can I get a Faliure Message notice to the sender ?

Thanks

Javier Storni

----- Original Message ----- 
From: "Noel J. Bergman" <no...@devtech.com>
To: "James Users List" <ja...@jakarta.apache.org>
Sent: Tuesday, February 18, 2003 11:46 PM
Subject: RE: James don't send a "Faliure delivery" message.


> > RemoteDelivery: Exception delivering message
> (Mail1045577252741-71-to-512konline.com.ar)
> > - Invalid Addresses; nested exception is:
> > class javax.mail.SendFailedException: 550 5.1.1
> <as...@512konline.com.ar>... User unknown
> 
> What version of James?  The current version of James should treat a 5xx
> error as permanent.
> 
> --- Noel
> 
> 
> ---------------------------------------------------------------------
> 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: James don't send a "Faliure delivery" message.

Posted by "Noel J. Bergman" <no...@devtech.com>.
> RemoteDelivery: Exception delivering message
(Mail1045577252741-71-to-512konline.com.ar)
> - Invalid Addresses; nested exception is:
> class javax.mail.SendFailedException: 550 5.1.1
<as...@512konline.com.ar>... User unknown

What version of James?  The current version of James should treat a 5xx
error as permanent.

	--- Noel


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