Hi Prakash,

Googling "javax.mail.MessagingException: 504" and as karthik said, system seems to want a "Fully Qualified Domain Name" and not only a "Name".

Did you define in the config a <gateway> (smtp relay) as "name" and not "name.domain.com" ?

Tks,

Eric


On 07/13/2010 05:37 PM, Norman Maurer wrote:
Well hard to say... Maybe wireshark can help you there..

Bye,
Norman

2010/7/13 prakash<[email protected]>:
Norman, do you have any inputs on this? why this happens?

Thanks,
Prakash

On Tue, 2010-07-13 at 16:45 +0530, prakash wrote:

Hi,

I'm getting below exception in mailet.log which makes the mail delivery
failure. Do any one know what's this 504 exception is?

12/07/10 09:40:41 INFO  James.Mailet: RemoteDelivery: Permanent
exception delivering mail (Mail1278952840543-430-to-aexp.com:
javax.mail.MessagingException: 504

         at
com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1020)
         at
com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:716)
         at
com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:388)
         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)

I've also tried enabling RemoteDelivery logging to "DEBUG" mode by
altering "/apps/james/SAR-INF/config.xml" logging to "DEBUG"  mode but
it's not leaving the logging  in DEBUG mode for mailet.log while other
logs are in DEBUG mode.

I've also tried adding "<debug>true</debug>" in "RemoteDelivery" mailet,
but that too didn't worked?

Thanks,
Prakash


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to