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 frank chen <xi...@yahoo.com> on 2006/07/05 21:12:12 UTC

Works!-Re: Could not connect to Yahoo SMTP host:67.28.113.19,port:25-Re: Can not receive/send email from/to applicaiotn of JavaMail+James+Linux

Norman,

You are the Yesman-:)
That's it. it works!

Thanks a lot!

Frank

--- Norman Maurer <nm...@byteaction.de> wrote:

> Ok in config.xml there is a Mailet called
> RemoteDelivery. In default
> config there is:
> 
> <!--
> <gateway> otherserver.mydomain.com </gateway>
> <gatewayPort>25</gatewayPort>
> -->
> 
> replace it with:
> 
> <gateway> relaymail.secureserver.net </gateway>
> <gatewayPort>25</gatewayPort>
> 
> 
> bye
> Norman
> 
> 
> Am Mittwoch, den 05.07.2006, 11:33 -0700 schrieb
> frank chen:
> > Norman,
> > 
> > Appreciate your quick response!
> > I believe you are right again.
> > 
> > When I run: telnet 67.28.113.19 25, got the
> follwoing:
> > Trying 67.28.113.19...
> > telnet: connect to address 67.28.113.19: No route
> to
> > host
> > 
> > Then, I checked with my ISP, they told me (as you
> > expected) that, I have to use a relay mail server
> they
> > required (they did not tell me beforehand),
> > say it is relaymail.secureserver.net, for all
> outbound
> > email.
> > 
> > Do you know where/how I should put this required
> relay
> > mail server info in James config?
> > 
> > Thank you!
> > 
> > Frank
> > 
> > --- Norman Maurer <nm...@byteaction.de> wrote:
> > 
> > > Hi Frank,
> > > 
> > > first thing that i can think off is, a firewall
> > > blocks outgoing
> > > connection to port 25. Maybe your ISP do .. Some
> ISP
> > > allow traffic to
> > > port 25 (smtp) only via their mailserver.
> > > 
> > > Can you connect to the host via telnet ?
> > > 
> > > telnet 67.28.113.19 25
> > > 
> > > 
> > > The DNS ok otherwise it whouldn't get the ip
> > > address..
> > > 
> > > bye
> > > Norman
> > > 
> > > 
> > > 
> > > Am Montag, den 03.07.2006, 23:48 -0700 schrieb
> frank
> > > chen:
> > > > Norman,
> > > > 
> > > > Thanks for the quick response.
> > > > You are right.
> > > > Now,I see some error info in the mailet log as
> the
> > > > following.
> > > > As you see, somehow, the James could not talk
> with
> > > > mx.mail.yahoo.com.
> > > > Do you know what I need do on James or my DNS
> to
> > > fix
> > > > this issue? Thanks!
> > > > 
> > > > mailet log {
> > > > 03/07/06 23:37:25 INFO  James.Mailet:
> > > > RemoteAddrNotInNetwork: Authorized addresses:
> > > > [127.0.0.1/255.255.255.255,
> > > > 209.73.168.74/255.255.255.255,
> > > > 67.28.113.19/255.255.255.255]
> > > > 03/07/06 23:37:25 INFO  James.Mailet:
> > > RemoteDelivery:
> > > > maxRetries is larger than total number of
> attempts
> > > > specified. Increasing last delay
> > > > Time with 19 attempts
> > > > 03/07/06 23:37:25 INFO  James.Mailet:
> > > RemoteDelivery:
> > > > Delay of 21600000 msecs is now attempted: 20
> times
> > > > 03/07/06 23:37:26 INFO  James.Mailet:
> > > RemoteDelivery:
> > > > Attempting delivery of
> > > > Mail1151978968321-0-to-yahoo.com to host
> > > > mx3.mail.yahoo.com.
> > > >  at 67.28.113.19 to addresses
> > > [xijia_chen@yahoo.com]
> > > > 03/07/06 23:38:26 INFO  James.Mailet:
> > > RemoteDelivery:
> > > > Could not connect to SMTP host: 67.28.113.19,
> > > port:
> > > > 25;
> > > >   nested exception is:
> > > >         java.net.ConnectException: connection
> to
> > > > 67.28.113.19 timed out
> > > > 03/07/06 23:38:26 INFO  James.Mailet:
> > > RemoteDelivery:
> > > > Attempting delivery of
> > > > Mail1151978968321-0-to-yahoo.com to host
> > > > mx3.mail.yahoo.com.
> > > >  at 4.79.181.12 to addresses
> > > [xijia_chen@yahoo.com]
> > > > 03/07/06 23:38:35 INFO  James.Mailet:
> > > RemoteDelivery:
> > > > Could not connect to SMTP host: 4.79.181.12,
> port:
> > > 25;
> > > >   nested exception is:
> > > >         java.net.NoRouteToHostException: No
> route
> > > to
> > > > host
> > > > 03/07/06 23:38:35 INFO  James.Mailet:
> > > RemoteDelivery:
> > > > Attempting delivery of
> > > > Mail1151978968321-0-to-yahoo.com to host
> > > > mx3.mail.yahoo.com.
> > > >  at 4.79.181.13 to addresses
> > > [xijia_chen@yahoo.com]
> > > > 03/07/06 23:39:35 INFO  James.Mailet:
> > > RemoteDelivery:
> > > > Could not connect to SMTP host: 4.79.181.13,
> port:
> > > 25;
> > > >   nested exception is:
> > > >         java.net.ConnectException: connection
> to
> > > > 4.79.181.13 timed out
> > > > 
> > > > }
> > > > 
> > > > --- Norman Maurer <nm...@byteaction.de> wrote:
> > > > 
> > > > > Please cheack the mailet log and look for
> any
> > > error
> > > > > there.
> > > > > 
> > > > > bye
> > > > > Norman
> > > > > 
> > > > > Am Montag, den 03.07.2006, 18:15 -0700
> schrieb
> > > frank
> > > > > chen:
> > > > > > Greeting....
> > > > > > 
> > > > > > I developed a testing java email
> application
> > > using
> > > > > > JavaMail, James running on Linux, to send
> an
> > > email
> > > > > to
> > > > > > myname@yahoo.com.
> > > > > > 
> > > > > > I also setup a correct doamin name and dns
> > > server.
> > > > > > configure the james's config.xml file
> based on
> > > the
> > > > > > info I got from FAQ on  Apache James web
> > > site(i.e.
> > > > > add
> > > > > > the james ip address to 
> > > <authorizedAddresses>,
> > > > > etc.).
> > > > > > I am using port non-25 port (as 25 is used
> by
> > > > > other
> > > > > > application) for james's smtp.
> > > > > > 
> > > > > > The java application works fine without
> any
> 
=== message truncated ===


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