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 prakash <pr...@collab.net> on 2010/07/13 13:15:31 UTC

RemoteDelivery MessagingException: 504?

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

Re: RemoteDelivery MessagingException: 504?

Posted by Norman Maurer <no...@apache.org>.
Well hard to say... Maybe wireshark can help you there..

Bye,
Norman

2010/7/13 prakash <pr...@collab.net>:
> 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: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: RemoteDelivery MessagingException: 504?

Posted by Eric Charles <er...@apache.org>.
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<pr...@collab.net>:
>    
>> 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: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>    


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


Re: RemoteDelivery MessagingException: 504?

Posted by prakash <pr...@collab.net>.
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



Re: RemoteDelivery MessagingException: 504?

Posted by karthik <ka...@collab.net>.
I think, it's because the hostname is not set to the FQDN (Fully 
Qualified Domain Name). Could you please check that ?


Regards,
Karthik

On Tuesday 13 July 2010 04:45 PM, prakash wrote:
> javax.mail.MessagingException: 504
>    

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