I've fixed up RemoteDelivery to give actually useful error messages. Previously the failure message would not include the recipient (very bad), and the error message contained lots of JavaMail exception/stacktrace stuff that made it rather ugly (kind of bad). Also, it was stupid in the sense that if there was a permanent error (like mailbox doesn't exist, etc...) it would continue to retry all the possible servers AND continue to retry for hours. It now tries to guess between permanent and temporary errors and only retries on temporary errors (generally connectivity errors). Here's what it looks like now.... ---------- Hi. This is the James mail server (we don't know where). I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED] 554 delivery error: dd This user doesn't have a yahoo.com account ([EMAIL PROTECTED]) - mta449.mail.yahoo.com The original message is attached. ---------- (I modeled it off of the error message qmail gives on apache.org.) One note... it seems MailetContext no longer has getServerNames(). I don't necessarily need all the server names, but it would be nice to report the name of this mail server (note the sarcastic "we don't know where" message where the hostname would go). Is there an alternate way to do this now? Serge Knystautas Loki Technologies http://www.lokitech.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
