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 Amit Verma <am...@agnity.com> on 2010/04/16 11:58:59 UTC

Remote delivery mails

 

Hi 

I am new to james and I am unable to send mails to domains eg gmail/yahoo
etc.I am getting the following exception in mailet*.log

 

16/04/10 15:16:07 INFO  James.Mailet: RemoteAddrNotInNetwork: Authorized
addresses: [127.0.0.1/255.255.255.255]

16/04/10 15:16:07 INFO  James.Mailet: RemoteDelivery: maxRetries is larger
than total number of attempts specified. Increasing last delayTime with 19
attempts 

16/04/10 15:16:07 INFO  James.Mailet: RemoteDelivery: Delay of 21600000
msecs is now attempted: 20 times

16/04/10 15:16:08 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1271409826040-0 to host smtp.gmail.com at 74.125.95.109 for addresses
[amitverma.info@gmail.com]

16/04/10 15:19:09 INFO  James.Mailet: RemoteDelivery: Exception reading
response

16/04/10 15:19:09 INFO  James.Mailet: RemoteDelivery: Temporary exception
delivering mail (Mail1271409826040-0: 

16/04/10 15:19:09 INFO  James.Mailet: RemoteDelivery: Storing message
Mail1271409826040-0 into outgoing after 2 retries

16/04/10 15:19:10 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1271411180125-0 to host smtp.gmail.com at 74.125.95.109 for addresses
[amitverma.info@gmail.com]

 

 

I have made following changes in default config.xml

 

1) Added my dns server name in 

 

<dnsserver>

      <servers>

         <!--Enter ip address of your DNS server, one IP address per server
-->

         <!-- element. -->

         <server>127.0.0.1</server>

         <server>My DNS server name</server>

      </servers>

<dnsservers>

 

2) I am using gmail's smpt so  I have added its  gateway info in Remote
delivery.

 

<gateway>smtp.gmail.com</gateway>

            <gatewayPort>465</gatewayPort>

             <gatewayusername>Myusername</gatewayusername>

            <gatewayPassword>password</gatewayPassword>

</gateway>

            

 

Message remains in my outgoing box for ever.Also,I have already tried
connecting to gmail's smtp gateway through telnet,it works find.

 

 

Please let me know what else needs to be done to resolve this.

 

Thanks in advance

Amit


Re: Integration with Jboss

Posted by Eric Charles <er...@u-mangate.com>.
Hi Amit,

I found http://wiki.apache.org/james/Embedded on the wiki, but it goes 
on phoenix container which is not used anymore.

I integrated james 2.3 in tomcat 2 years ago with a 
ServletContextListener responsible to launch the main class of the 
spring intregration (now the org.apache.james.container.spring.Main class).
It was quite straighforward (put jars found in the james lib directory 
in WEB-INF/lib).  The only difficulty I had was the way james was 
loading the file ressources from its conf directory: sometimes like a 
disk file, sometimes like a classpath resource. That obliged me to 
integrate some files in the jars I had in WEB-INF/lib (the classpath 
loading), and other files in /conf directory (the file loading). I also 
had to care about the directoy from where the process was launched (if 
launched from /etc/init.d/james on linux, the conf directory had to be 
in the /).

I did the integration to have access on the user repository, and also to 
allow some mailets access some ressources provided by the local tomcat 
container.

I think to remember having read about apache geronimo integrating james, 
but can't find back the links...

Maybe you could tell use a bit more about your goals: do you want jboss 
serve smtp/pop/imap protocol and control the traffic by application 
deployed in jboss, are you willing to have a kind of "admin-console",...

Tks,
Eric

On 04/20/2010 09:26 AM, Norman Maurer wrote:
> Hi amit,
>
> as we use Spring in current development Version for DI and maven2 for
> Building it should not be a big Task to create an ear or war file for
> James. Anyway noone did it yet. Maybe you want to help out here ?
>
> Bye
> Norman
>
> 2010/4/20, Amit Verma<am...@agnity.com>:
>    
>> Hi
>>
>>
>>
>> I want to integrate James with Jboss Server version 5.0 . Please let me know
>> what I all I need to change in my Jboss server or james for their
>> integration.
>>
>>
>>
>>
>>
>> Amit
>>
>>
>>      
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>    


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


Re: Integration with Jboss

Posted by Norman Maurer <no...@apache.org>.
Hi amit,

as we use Spring in current development Version for DI and maven2 for
Building it should not be a big Task to create an ear or war file for
James. Anyway noone did it yet. Maybe you want to help out here ?

Bye
Norman

2010/4/20, Amit Verma <am...@agnity.com>:
> Hi
>
>
>
> I want to integrate James with Jboss Server version 5.0 . Please let me know
> what I all I need to change in my Jboss server or james for their
> integration.
>
>
>
>
>
> Amit
>
>

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


Re: Integration with Jboss

Posted by Norman Maurer <no...@apache.org>.
Hi amit,

as we use Spring in current development Version for DI and maven2 for
Building it should not be a big Task to create an ear or war file for
James. Anyway noone did it yet. Maybe you want to help out here ?

Bye
Norman

2010/4/20, Amit Verma <am...@agnity.com>:
> Hi
>
>
>
> I want to integrate James with Jboss Server version 5.0 . Please let me know
> what I all I need to change in my Jboss server or james for their
> integration.
>
>
>
>
>
> Amit
>
>

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


Integration with Jboss

Posted by Amit Verma <am...@agnity.com>.
Hi

 

I want to integrate James with Jboss Server version 5.0 . Please let me know
what I all I need to change in my Jboss server or james for their
integration.

 

 

Amit


Integration with Jboss

Posted by Amit Verma <am...@agnity.com>.
Hi

 

I want to integrate James with Jboss Server version 5.0 . Please let me know
what I all I need to change in my Jboss server or james for their
integration.

 

 

Amit


Re: Remote delivery mails

Posted by Norman Maurer <no...@googlemail.com>.
Maybe your isp is blocking port 25 outgoing ?

And no I don'T know any gateway which is usable without user/auth on
port 25 (this would be a open relay..)

Bye,
Norman

2010/4/16 Amit Verma <am...@agnity.com>:
> Its not working.Do u have info about some smtp gateway which is accessible
> on port 25 and doesn’t uses TLS?I need it for testing purpose.
>
> Thanks
> Amit
> -----Original Message-----
> From: Norman Maurer [mailto:norman.maurer@googlemail.com]
> Sent: Friday, April 16, 2010 4:21 PM
> To: Amit Verma
> Cc: James Users List
> Subject: Re: Remote delivery mails
>
> Does this work:
>
> # telnet smtp.gmai.com 25
>
> ?
> Bye,
> Norman
>
> 2010/4/16 Amit Verma <am...@agnity.com>:
>> Hi Norman
>>
>> I have tried changing port from 465 to 25.Please find below the log
>>
>> 16/04/10 15:40:59 INFO  James.Mailet: RemoteAddrNotInNetwork: Authorized
>> addresses: [127.0.0.1/255.255.255.255]
>> 16/04/10 15:40:59 INFO  James.Mailet: RemoteDelivery: maxRetries is larger
>> than total number of attempts specified. Increasing last delayTime with 19
>> attempts
>> 16/04/10 15:40:59 INFO  James.Mailet: RemoteDelivery: Delay of 21600000
>> msecs is now attempted: 20 times
>> 16/04/10 15:42:29 INFO  James.Mailet: RemoteDelivery: Attempting delivery
> of
>> Mail1271412712236-0 to host smtp.gmail.com at 74.125.95.109 for addresses
>> [amitverma.info@gmail.com]
>> 16/04/10 15:42:50 INFO  James.Mailet: RemoteDelivery: Could not connect to
>> SMTP host: smtp.gmail.com, port: 25
>> 16/04/10 15:42:50 INFO  James.Mailet: RemoteDelivery: Temporary exception
>> delivering mail (Mail1271412712236-0:
>> 16/04/10 15:42:50 INFO  James.Mailet: RemoteDelivery: Storing message
>> Mail1271412712236-0 into outgoing after 0 retries
>>
>>
>> Now it is unable to connect on Port 25...Can you please tell me other what
>> other things needs to be done?
>>
>> -----Original Message-----
>> From: Norman Maurer [mailto:norman.maurer@googlemail.com]
>> Sent: Friday, April 16, 2010 3:36 PM
>> To: Amit Verma
>> Cc: James Users List
>> Subject: Re: Remote delivery mails
>>
>> Hi.
>>
>> smtp.gmail.com is using TLS on port 465. If you want to use it as
>> gateway with normal smtp use port 25 ..
>>
>> Bye,
>> Norman
>>
>>
>> 2010/4/16 Amit Verma <am...@agnity.com>:
>>>
>>>
>>> Hi
>>>
>>> I am new to james and I am unable to send mails to domains eg gmail/yahoo
>>> etc.I am getting the following exception in mailet*.log
>>>
>>>
>>>
>>> 16/04/10 15:16:07 INFO  James.Mailet: RemoteAddrNotInNetwork: Authorized
>>> addresses: [127.0.0.1/255.255.255.255]
>>>
>>> 16/04/10 15:16:07 INFO  James.Mailet: RemoteDelivery: maxRetries is
> larger
>>> than total number of attempts specified. Increasing last delayTime with
> 19
>>> attempts
>>>
>>> 16/04/10 15:16:07 INFO  James.Mailet: RemoteDelivery: Delay of 21600000
>>> msecs is now attempted: 20 times
>>>
>>> 16/04/10 15:16:08 INFO  James.Mailet: RemoteDelivery: Attempting delivery
>> of
>>> Mail1271409826040-0 to host smtp.gmail.com at 74.125.95.109 for addresses
>>> [amitverma.info@gmail.com]
>>>
>>> 16/04/10 15:19:09 INFO  James.Mailet: RemoteDelivery: Exception reading
>>> response
>>>
>>> 16/04/10 15:19:09 INFO  James.Mailet: RemoteDelivery: Temporary exception
>>> delivering mail (Mail1271409826040-0:
>>>
>>> 16/04/10 15:19:09 INFO  James.Mailet: RemoteDelivery: Storing message
>>> Mail1271409826040-0 into outgoing after 2 retries
>>>
>>> 16/04/10 15:19:10 INFO  James.Mailet: RemoteDelivery: Attempting delivery
>> of
>>> Mail1271411180125-0 to host smtp.gmail.com at 74.125.95.109 for addresses
>>> [amitverma.info@gmail.com]
>>>
>>>
>>>
>>>
>>>
>>> I have made following changes in default config.xml
>>>
>>>
>>>
>>> 1) Added my dns server name in
>>>
>>>
>>>
>>> <dnsserver>
>>>
>>>       <servers>
>>>
>>>          <!--Enter ip address of your DNS server, one IP address per
>> server
>>> -->
>>>
>>>          <!-- element. -->
>>>
>>>          <server>127.0.0.1</server>
>>>
>>>          <server>My DNS server name</server>
>>>
>>>       </servers>
>>>
>>> <dnsservers>
>>>
>>>
>>>
>>> 2) I am using gmail’s smpt so  I have added its  gateway info in Remote
>>> delivery.
>>>
>>>
>>>
>>> <gateway>smtp.gmail.com</gateway>
>>>
>>>             <gatewayPort>465</gatewayPort>
>>>
>>>              <gatewayusername>Myusername</gatewayusername>
>>>
>>>             <gatewayPassword>password</gatewayPassword>
>>>
>>> </gateway>
>>>
>>>
>>>
>>>
>>>
>>> Message remains in my outgoing box for ever.Also,I have already tried
>>> connecting to gmail’s smtp gateway through telnet,it works find.
>>>
>>>
>>>
>>>
>>>
>>> Please let me know what else needs to be done to resolve this.
>>>
>>>
>>>
>>> Thanks in advance
>>>
>>> Amit
>>
>>
>
>

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


RE: Remote delivery mails

Posted by Amit Verma <am...@agnity.com>.
Its not working.Do u have info about some smtp gateway which is accessible
on port 25 and doesn’t uses TLS?I need it for testing purpose. 

Thanks
Amit
-----Original Message-----
From: Norman Maurer [mailto:norman.maurer@googlemail.com] 
Sent: Friday, April 16, 2010 4:21 PM
To: Amit Verma
Cc: James Users List
Subject: Re: Remote delivery mails

Does this work:

# telnet smtp.gmai.com 25

?
Bye,
Norman

2010/4/16 Amit Verma <am...@agnity.com>:
> Hi Norman
>
> I have tried changing port from 465 to 25.Please find below the log
>
> 16/04/10 15:40:59 INFO  James.Mailet: RemoteAddrNotInNetwork: Authorized
> addresses: [127.0.0.1/255.255.255.255]
> 16/04/10 15:40:59 INFO  James.Mailet: RemoteDelivery: maxRetries is larger
> than total number of attempts specified. Increasing last delayTime with 19
> attempts
> 16/04/10 15:40:59 INFO  James.Mailet: RemoteDelivery: Delay of 21600000
> msecs is now attempted: 20 times
> 16/04/10 15:42:29 INFO  James.Mailet: RemoteDelivery: Attempting delivery
of
> Mail1271412712236-0 to host smtp.gmail.com at 74.125.95.109 for addresses
> [amitverma.info@gmail.com]
> 16/04/10 15:42:50 INFO  James.Mailet: RemoteDelivery: Could not connect to
> SMTP host: smtp.gmail.com, port: 25
> 16/04/10 15:42:50 INFO  James.Mailet: RemoteDelivery: Temporary exception
> delivering mail (Mail1271412712236-0:
> 16/04/10 15:42:50 INFO  James.Mailet: RemoteDelivery: Storing message
> Mail1271412712236-0 into outgoing after 0 retries
>
>
> Now it is unable to connect on Port 25...Can you please tell me other what
> other things needs to be done?
>
> -----Original Message-----
> From: Norman Maurer [mailto:norman.maurer@googlemail.com]
> Sent: Friday, April 16, 2010 3:36 PM
> To: Amit Verma
> Cc: James Users List
> Subject: Re: Remote delivery mails
>
> Hi.
>
> smtp.gmail.com is using TLS on port 465. If you want to use it as
> gateway with normal smtp use port 25 ..
>
> Bye,
> Norman
>
>
> 2010/4/16 Amit Verma <am...@agnity.com>:
>>
>>
>> Hi
>>
>> I am new to james and I am unable to send mails to domains eg gmail/yahoo
>> etc.I am getting the following exception in mailet*.log
>>
>>
>>
>> 16/04/10 15:16:07 INFO  James.Mailet: RemoteAddrNotInNetwork: Authorized
>> addresses: [127.0.0.1/255.255.255.255]
>>
>> 16/04/10 15:16:07 INFO  James.Mailet: RemoteDelivery: maxRetries is
larger
>> than total number of attempts specified. Increasing last delayTime with
19
>> attempts
>>
>> 16/04/10 15:16:07 INFO  James.Mailet: RemoteDelivery: Delay of 21600000
>> msecs is now attempted: 20 times
>>
>> 16/04/10 15:16:08 INFO  James.Mailet: RemoteDelivery: Attempting delivery
> of
>> Mail1271409826040-0 to host smtp.gmail.com at 74.125.95.109 for addresses
>> [amitverma.info@gmail.com]
>>
>> 16/04/10 15:19:09 INFO  James.Mailet: RemoteDelivery: Exception reading
>> response
>>
>> 16/04/10 15:19:09 INFO  James.Mailet: RemoteDelivery: Temporary exception
>> delivering mail (Mail1271409826040-0:
>>
>> 16/04/10 15:19:09 INFO  James.Mailet: RemoteDelivery: Storing message
>> Mail1271409826040-0 into outgoing after 2 retries
>>
>> 16/04/10 15:19:10 INFO  James.Mailet: RemoteDelivery: Attempting delivery
> of
>> Mail1271411180125-0 to host smtp.gmail.com at 74.125.95.109 for addresses
>> [amitverma.info@gmail.com]
>>
>>
>>
>>
>>
>> I have made following changes in default config.xml
>>
>>
>>
>> 1) Added my dns server name in
>>
>>
>>
>> <dnsserver>
>>
>>       <servers>
>>
>>          <!--Enter ip address of your DNS server, one IP address per
> server
>> -->
>>
>>          <!-- element. -->
>>
>>          <server>127.0.0.1</server>
>>
>>          <server>My DNS server name</server>
>>
>>       </servers>
>>
>> <dnsservers>
>>
>>
>>
>> 2) I am using gmail’s smpt so  I have added its  gateway info in Remote
>> delivery.
>>
>>
>>
>> <gateway>smtp.gmail.com</gateway>
>>
>>             <gatewayPort>465</gatewayPort>
>>
>>              <gatewayusername>Myusername</gatewayusername>
>>
>>             <gatewayPassword>password</gatewayPassword>
>>
>> </gateway>
>>
>>
>>
>>
>>
>> Message remains in my outgoing box for ever.Also,I have already tried
>> connecting to gmail’s smtp gateway through telnet,it works find.
>>
>>
>>
>>
>>
>> Please let me know what else needs to be done to resolve this.
>>
>>
>>
>> Thanks in advance
>>
>> Amit
>
>


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


Re: Remote delivery mails

Posted by Norman Maurer <no...@googlemail.com>.
Does this work:

# telnet smtp.gmai.com 25

?
Bye,
Norman

2010/4/16 Amit Verma <am...@agnity.com>:
> Hi Norman
>
> I have tried changing port from 465 to 25.Please find below the log
>
> 16/04/10 15:40:59 INFO  James.Mailet: RemoteAddrNotInNetwork: Authorized
> addresses: [127.0.0.1/255.255.255.255]
> 16/04/10 15:40:59 INFO  James.Mailet: RemoteDelivery: maxRetries is larger
> than total number of attempts specified. Increasing last delayTime with 19
> attempts
> 16/04/10 15:40:59 INFO  James.Mailet: RemoteDelivery: Delay of 21600000
> msecs is now attempted: 20 times
> 16/04/10 15:42:29 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
> Mail1271412712236-0 to host smtp.gmail.com at 74.125.95.109 for addresses
> [amitverma.info@gmail.com]
> 16/04/10 15:42:50 INFO  James.Mailet: RemoteDelivery: Could not connect to
> SMTP host: smtp.gmail.com, port: 25
> 16/04/10 15:42:50 INFO  James.Mailet: RemoteDelivery: Temporary exception
> delivering mail (Mail1271412712236-0:
> 16/04/10 15:42:50 INFO  James.Mailet: RemoteDelivery: Storing message
> Mail1271412712236-0 into outgoing after 0 retries
>
>
> Now it is unable to connect on Port 25...Can you please tell me other what
> other things needs to be done?
>
> -----Original Message-----
> From: Norman Maurer [mailto:norman.maurer@googlemail.com]
> Sent: Friday, April 16, 2010 3:36 PM
> To: Amit Verma
> Cc: James Users List
> Subject: Re: Remote delivery mails
>
> Hi.
>
> smtp.gmail.com is using TLS on port 465. If you want to use it as
> gateway with normal smtp use port 25 ..
>
> Bye,
> Norman
>
>
> 2010/4/16 Amit Verma <am...@agnity.com>:
>>
>>
>> Hi
>>
>> I am new to james and I am unable to send mails to domains eg gmail/yahoo
>> etc.I am getting the following exception in mailet*.log
>>
>>
>>
>> 16/04/10 15:16:07 INFO  James.Mailet: RemoteAddrNotInNetwork: Authorized
>> addresses: [127.0.0.1/255.255.255.255]
>>
>> 16/04/10 15:16:07 INFO  James.Mailet: RemoteDelivery: maxRetries is larger
>> than total number of attempts specified. Increasing last delayTime with 19
>> attempts
>>
>> 16/04/10 15:16:07 INFO  James.Mailet: RemoteDelivery: Delay of 21600000
>> msecs is now attempted: 20 times
>>
>> 16/04/10 15:16:08 INFO  James.Mailet: RemoteDelivery: Attempting delivery
> of
>> Mail1271409826040-0 to host smtp.gmail.com at 74.125.95.109 for addresses
>> [amitverma.info@gmail.com]
>>
>> 16/04/10 15:19:09 INFO  James.Mailet: RemoteDelivery: Exception reading
>> response
>>
>> 16/04/10 15:19:09 INFO  James.Mailet: RemoteDelivery: Temporary exception
>> delivering mail (Mail1271409826040-0:
>>
>> 16/04/10 15:19:09 INFO  James.Mailet: RemoteDelivery: Storing message
>> Mail1271409826040-0 into outgoing after 2 retries
>>
>> 16/04/10 15:19:10 INFO  James.Mailet: RemoteDelivery: Attempting delivery
> of
>> Mail1271411180125-0 to host smtp.gmail.com at 74.125.95.109 for addresses
>> [amitverma.info@gmail.com]
>>
>>
>>
>>
>>
>> I have made following changes in default config.xml
>>
>>
>>
>> 1) Added my dns server name in
>>
>>
>>
>> <dnsserver>
>>
>>       <servers>
>>
>>          <!--Enter ip address of your DNS server, one IP address per
> server
>> -->
>>
>>          <!-- element. -->
>>
>>          <server>127.0.0.1</server>
>>
>>          <server>My DNS server name</server>
>>
>>       </servers>
>>
>> <dnsservers>
>>
>>
>>
>> 2) I am using gmail’s smpt so  I have added its  gateway info in Remote
>> delivery.
>>
>>
>>
>> <gateway>smtp.gmail.com</gateway>
>>
>>             <gatewayPort>465</gatewayPort>
>>
>>              <gatewayusername>Myusername</gatewayusername>
>>
>>             <gatewayPassword>password</gatewayPassword>
>>
>> </gateway>
>>
>>
>>
>>
>>
>> Message remains in my outgoing box for ever.Also,I have already tried
>> connecting to gmail’s smtp gateway through telnet,it works find.
>>
>>
>>
>>
>>
>> Please let me know what else needs to be done to resolve this.
>>
>>
>>
>> Thanks in advance
>>
>> Amit
>
>

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


RE: Remote delivery mails

Posted by Amit Verma <am...@agnity.com>.
Hi Norman

I have tried changing port from 465 to 25.Please find below the log

16/04/10 15:40:59 INFO  James.Mailet: RemoteAddrNotInNetwork: Authorized
addresses: [127.0.0.1/255.255.255.255]
16/04/10 15:40:59 INFO  James.Mailet: RemoteDelivery: maxRetries is larger
than total number of attempts specified. Increasing last delayTime with 19
attempts 
16/04/10 15:40:59 INFO  James.Mailet: RemoteDelivery: Delay of 21600000
msecs is now attempted: 20 times
16/04/10 15:42:29 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1271412712236-0 to host smtp.gmail.com at 74.125.95.109 for addresses
[amitverma.info@gmail.com]
16/04/10 15:42:50 INFO  James.Mailet: RemoteDelivery: Could not connect to
SMTP host: smtp.gmail.com, port: 25
16/04/10 15:42:50 INFO  James.Mailet: RemoteDelivery: Temporary exception
delivering mail (Mail1271412712236-0: 
16/04/10 15:42:50 INFO  James.Mailet: RemoteDelivery: Storing message
Mail1271412712236-0 into outgoing after 0 retries


Now it is unable to connect on Port 25...Can you please tell me other what
other things needs to be done?

-----Original Message-----
From: Norman Maurer [mailto:norman.maurer@googlemail.com] 
Sent: Friday, April 16, 2010 3:36 PM
To: Amit Verma
Cc: James Users List
Subject: Re: Remote delivery mails

Hi.

smtp.gmail.com is using TLS on port 465. If you want to use it as
gateway with normal smtp use port 25 ..

Bye,
Norman


2010/4/16 Amit Verma <am...@agnity.com>:
>
>
> Hi
>
> I am new to james and I am unable to send mails to domains eg gmail/yahoo
> etc.I am getting the following exception in mailet*.log
>
>
>
> 16/04/10 15:16:07 INFO  James.Mailet: RemoteAddrNotInNetwork: Authorized
> addresses: [127.0.0.1/255.255.255.255]
>
> 16/04/10 15:16:07 INFO  James.Mailet: RemoteDelivery: maxRetries is larger
> than total number of attempts specified. Increasing last delayTime with 19
> attempts
>
> 16/04/10 15:16:07 INFO  James.Mailet: RemoteDelivery: Delay of 21600000
> msecs is now attempted: 20 times
>
> 16/04/10 15:16:08 INFO  James.Mailet: RemoteDelivery: Attempting delivery
of
> Mail1271409826040-0 to host smtp.gmail.com at 74.125.95.109 for addresses
> [amitverma.info@gmail.com]
>
> 16/04/10 15:19:09 INFO  James.Mailet: RemoteDelivery: Exception reading
> response
>
> 16/04/10 15:19:09 INFO  James.Mailet: RemoteDelivery: Temporary exception
> delivering mail (Mail1271409826040-0:
>
> 16/04/10 15:19:09 INFO  James.Mailet: RemoteDelivery: Storing message
> Mail1271409826040-0 into outgoing after 2 retries
>
> 16/04/10 15:19:10 INFO  James.Mailet: RemoteDelivery: Attempting delivery
of
> Mail1271411180125-0 to host smtp.gmail.com at 74.125.95.109 for addresses
> [amitverma.info@gmail.com]
>
>
>
>
>
> I have made following changes in default config.xml
>
>
>
> 1) Added my dns server name in
>
>
>
> <dnsserver>
>
>       <servers>
>
>          <!--Enter ip address of your DNS server, one IP address per
server
> -->
>
>          <!-- element. -->
>
>          <server>127.0.0.1</server>
>
>          <server>My DNS server name</server>
>
>       </servers>
>
> <dnsservers>
>
>
>
> 2) I am using gmail’s smpt so  I have added its  gateway info in Remote
> delivery.
>
>
>
> <gateway>smtp.gmail.com</gateway>
>
>             <gatewayPort>465</gatewayPort>
>
>              <gatewayusername>Myusername</gatewayusername>
>
>             <gatewayPassword>password</gatewayPassword>
>
> </gateway>
>
>
>
>
>
> Message remains in my outgoing box for ever.Also,I have already tried
> connecting to gmail’s smtp gateway through telnet,it works find.
>
>
>
>
>
> Please let me know what else needs to be done to resolve this.
>
>
>
> Thanks in advance
>
> Amit


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


Re: Remote delivery mails

Posted by Norman Maurer <no...@googlemail.com>.
Hi.

smtp.gmail.com is using TLS on port 465. If you want to use it as
gateway with normal smtp use port 25 ..

Bye,
Norman


2010/4/16 Amit Verma <am...@agnity.com>:
>
>
> Hi
>
> I am new to james and I am unable to send mails to domains eg gmail/yahoo
> etc.I am getting the following exception in mailet*.log
>
>
>
> 16/04/10 15:16:07 INFO  James.Mailet: RemoteAddrNotInNetwork: Authorized
> addresses: [127.0.0.1/255.255.255.255]
>
> 16/04/10 15:16:07 INFO  James.Mailet: RemoteDelivery: maxRetries is larger
> than total number of attempts specified. Increasing last delayTime with 19
> attempts
>
> 16/04/10 15:16:07 INFO  James.Mailet: RemoteDelivery: Delay of 21600000
> msecs is now attempted: 20 times
>
> 16/04/10 15:16:08 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
> Mail1271409826040-0 to host smtp.gmail.com at 74.125.95.109 for addresses
> [amitverma.info@gmail.com]
>
> 16/04/10 15:19:09 INFO  James.Mailet: RemoteDelivery: Exception reading
> response
>
> 16/04/10 15:19:09 INFO  James.Mailet: RemoteDelivery: Temporary exception
> delivering mail (Mail1271409826040-0:
>
> 16/04/10 15:19:09 INFO  James.Mailet: RemoteDelivery: Storing message
> Mail1271409826040-0 into outgoing after 2 retries
>
> 16/04/10 15:19:10 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
> Mail1271411180125-0 to host smtp.gmail.com at 74.125.95.109 for addresses
> [amitverma.info@gmail.com]
>
>
>
>
>
> I have made following changes in default config.xml
>
>
>
> 1) Added my dns server name in
>
>
>
> <dnsserver>
>
>       <servers>
>
>          <!--Enter ip address of your DNS server, one IP address per server
> -->
>
>          <!-- element. -->
>
>          <server>127.0.0.1</server>
>
>          <server>My DNS server name</server>
>
>       </servers>
>
> <dnsservers>
>
>
>
> 2) I am using gmail’s smpt so  I have added its  gateway info in Remote
> delivery.
>
>
>
> <gateway>smtp.gmail.com</gateway>
>
>             <gatewayPort>465</gatewayPort>
>
>              <gatewayusername>Myusername</gatewayusername>
>
>             <gatewayPassword>password</gatewayPassword>
>
> </gateway>
>
>
>
>
>
> Message remains in my outgoing box for ever.Also,I have already tried
> connecting to gmail’s smtp gateway through telnet,it works find.
>
>
>
>
>
> Please let me know what else needs to be done to resolve this.
>
>
>
> Thanks in advance
>
> Amit

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