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 <[email protected]>: > > > 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 > [[email protected]] > > 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 > [[email protected]] > > > > > > 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: [email protected] For additional commands, e-mail: [email protected]
