Mark Waschkowski ha scritto: > Hi, > > I've looked around through the wiki and through the archived mailing list > and haven't been able to find information about this. My apologies if I > missed the information. > > My question is : how does James work with permanent errors? I am concerned > about yahoo and want to make sure that my James server isn't re-sending > emails when yahoo responds with some like the following:
No, when James Server receives 5xx errors does not retries, as this is a specification requirement. > James.Mailet: RemoteDelivery: Permanent exception delivering mail ( > Mail1179250955053-249-to-bigcranium.com: javax.mail.SendFailedException: > Invalid Addresses; > nested exception is: > class javax.mail.SendFailedException: 550 5.1.1 No such user > h38si19548208wxd > 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:448) > at org.apache.james.transport.mailets.RemoteDelivery.run( > RemoteDelivery.java:912) > at java.lang.Thread.run(Thread.java:595) > > or > > 15/05/07 14:14:25 INFO James.Mailet: RemoteDelivery: Invalid recipients: [ > [EMAIL PROTECTED] > 15/05/07 14:14:25 INFO James.Mailet: RemoteDelivery: Permanent exception > delivering mail (Mail1179250975557-462-to-sympatico.ca: > javax.mail.SendFailedException: Invalid Addresses; > 15/05/07 14:14:25 INFO James.Mailet: RemoteDelivery: Permanent exception > delivering mail (Mail1179250975557-462-to-sympatico.ca: > javax.mail.SendFailedException: Invalid Addresses; > nested exception is: > class javax.mail.SendFailedException: 501 #5.1.1 bad address > [EMAIL PROTECTED] > 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:448) > at org.apache.james.transport.mailets.RemoteDelivery.run( > RemoteDelivery.java:912) > at java.lang.Thread.run(Thread.java:595) > > Does James retry in these cases, or is it one send and done? > > Thanks! > > Mark > > PS. If I want custom error messages than I should just extends an existing > James class, make changes and rebuild, and then update my config to > refer to > my custom class? ie. no way to customize error messages is there? right. Stefano --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
