Could you capture the traffic via wireshark or enable debug ?

Bye,
Norman


2010/12/29 vijay mamidi <vijaybhaskar.mam...@gmail.com>:
> I tried that configuration and it still fails with the below error:
> 29/12/10 09:27:53 INFO  James.Mailet: RemoteDelivery: Remotely delivering
> mail Mail1293643673087-0
> 29/12/10 09:27:53 INFO  James.Mailet: RemoteDelivery: Sending mail to
> [vijaybhaskar.mam...@gmail.com] via [smtp.gmail.com:25]
> 29/12/10 09:27:53 INFO  James.Mailet: RemoteDelivery: Remote delivery thread
> (0) will process mail Mail1293643673087-0
> 29/12/10 09:27:53 INFO  James.Mailet: RemoteDelivery: Attempting to deliver
> Mail1293643673087-0
> 29/12/10 09:27:53 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
> Mail1293643673087-0 to host smtp.gmail.com at 74.125.127.109 for addresses
> [vijaybhaskar.mam...@gmail.com]
> 29/12/10 09:27:53 INFO  James.Mailet: RemoteDelivery: Can't send command to
> SMTP host
> 29/12/10 09:27:53 INFO  James.Mailet: RemoteDelivery: Temporary exception
> delivering mail (Mail1293643673087-0: javax.mail.MessagingException: No mail
> server(s) available at this time.
>         at
> org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:776)
>         at
> org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:1139)
>         at java.lang.Thread.run(Thread.java:655)
>
> 29/12/10 09:27:53 INFO  James.Mailet: RemoteDelivery: Storing message
> Mail1293643673087-0 into outgoing after 0 retries
> Thanks,
> Vijay
> On Wed, Dec 29, 2010 at 4:41 AM, Norman Maurer <nor...@apache.org> wrote:
>>
>> Hi there,
>>
>> I think this should work:
>>
>>  <mailet match="HostIs=gmail.com" class="RemoteDelivery">
>>               <outgoing> file://var/mail/relay/ </outgoing>
>>               <delayTime> 21600000 </delayTime>
>>               <maxRetries> 5 </maxRetries>
>>               <debug> true </debug>
>>               <deliveryThreads> 1 </deliveryThreads>
>>                <gateway> smtp.gmail.com </gateway>
>>               <gatewayPort>25</gatewayPort>
>>               <gatewayusername>username</gatewayusername>
>>               <gatewayPassword>password</gatewayPassword>
>>               <!-- enable starttls -->
>>               <mail.smtp.starttls.enable>true</mail.smtp.starttls.enable>
>>       </mailet>
>>
>> Let me know if it works...
>>
>> Bye,
>> Norman
>>
>> mail.smtp.starttls.enable=true
>>
>> 2010/12/29 vijayabhaskar mamidi <vijayabhaskar_mam...@yahoo.com>:
>> > Hi,
>> >
>> > I want to use james as relay server and to start with i am trying to use
>> > gmail
>> > as the smtp server and it fails with the following error:
>> >
>> >
>> > 28/12/10 19:05:41 INFO  James.Mailet: RemoteDelivery: Sending failure
>> > message
>> > Mail1293591940502-2
>> >
>> > ==> mailet-2010-12-28-19-09.log <==
>> > 28/12/10 19:09:31 INFO  James.Mailet: RemoteDelivery: Permanent
>> > exception
>> > delivering mail (Mail1293592170730-0:
>> > com.sun.mail.smtp.SMTPSendFailedException:
>> > 530 5.7.0 Must issue a STARTTLS command first. f13sm7707112yhf.33
>> >
>> >        at
>> >
>> > com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1515)
>> >        at
>> > com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1054)
>> >        at
>> > com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:634)
>> >        at
>> >
>> > org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:562)
>> >
>> >        at
>> >
>> > org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:1139)
>> >        at java.lang.Thread.run(Thread.java:655)
>> >
>> > here is my configuration :
>> >
>> >  <mailet match="HostIs=gmail.com" class="RemoteDelivery">
>> >                <outgoing> file://var/mail/relay/ </outgoing>
>> >                <delayTime> 21600000 </delayTime>
>> >                <maxRetries> 5 </maxRetries>
>> >                <debug> true </debug>
>> >                <deliveryThreads> 1 </deliveryThreads>
>> >                 <gateway> smtp.gmail.com </gateway>
>> >                <gatewayPort>25</gatewayPort>
>> >                <gatewayusername>username</gatewayusername>
>> >                <gatewayPassword>password</gatewayPassword>
>> >        </mailet>
>> >
>> > Can you please help me with this ?
>> >
>> > Thanks,
>> > Vijay
>
>

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

Reply via email to