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 <[EMAIL PROTECTED]> 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
> > [EMAIL PROTECTED]
> > > 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
> > [EMAIL PROTECTED]
> > > 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
> > [EMAIL PROTECTED]
> > > 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 <[EMAIL PROTECTED]> 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
> > > > > [EMAIL PROTECTED]
> > > > > 
> > > > > 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
> > > > complain.
> > > > > James also received the email message under
> > > > > .../var/mail/outgoing/, without problem.
> > > > > I checked the file
> > > > .....Repository.FileObjectStore,
> > > > > the content is correct (i.e. the email message
> > my
> > > > java
> > > > > email applicaiton generated,including from,
> > > > to...).
> > > > > 
> > > > > but I just could not get email at
> > > > [EMAIL PROTECTED]
> > > > > 
> > > > > Also, when I try to send an email from
> > > > > [EMAIL PROTECTED] to an email account created
> > under
> > > > > James, yahoo failed to send email to my james
> > > > account
> > > > > too.
> > > > > 
> > > > > I guess that I may still have to do some
> > > > configuration
> > > > > work somewhere else, but do not know what they
> > > > are.
> > > > > 
> > > > > Would some experts provide some help?
> > > > > 
> > > > > Thank you in advance!
> > > > > 
> > > > > Frank
> > > > > 
> > > > > 
> > > > > 
> > > > >
> > > >
> > >
> >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail:
> > > > [EMAIL PROTECTED]
> > > > > For additional commands, e-mail:
> > > > [EMAIL PROTECTED]
> > > > > 
> > > > > !EXCUBATOR:1,44a9c14e48539586857730!
> > > > 
> > > 
> > > 
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > > 
> > > !EXCUBATOR:1,44aa0f4948531320895882!
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> !EXCUBATOR:1,44ac05fc48537825516936!

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to