2011/1/11 Mahmood Naderan <[email protected]> > I get this: > > mahm...@svr1:log$ telnet 209.85.227.27 25 > Trying 209.85.227.27... >
> telnet: Unable to connect to remote host: No route to host > > That means that you are firewalled somewhere on the way to that server, and that's where your problem lies and it has many solutions for which you will have to look for assistance of your network administrator. [cut] > Does that mean port 25 is not open on my system? > > Your server does NOT need to have port 25 opend to send emails. it needs to be able to connect on the REMOTE server's 25 TCP port. since you can send emails from another script, for SURE your script is using a mail server for relay which it's allowed to connect on the port 25. This is really a network problem. > > *// Naderan *Mahmood;* > > > Cheers, DA. > ------------------------------ > *From:* andy thomas <[email protected]> > > *To:* Mahmood Naderan <[email protected]> > *Cc:* maui <[email protected]> > *Sent:* Tue, January 11, 2011 8:39:29 PM > > *Subject:* Re: [Mauiusers] no email is received > > On Tue, 11 Jan 2011, Mahmood Naderan wrote: > > >> Are you able to ping 209.85.227.27 ? > > Yes, > > If you can ping this address, it could still be a network issue if your > institution (or wherever your Torque/Maui server is located) wants you to > use their mail relay(s) and not Google's. Unfortunately, this sort of > restriction is becoming increasingly common and you can check if this is the > case by trying to open a telnet connection to Google's mail relay on the > SMTP port 25 like this: > > telnet 209.85.227.27 25 > > and you should see something like this: > > a...@purdy:~$ telnet mail3.acmewidget.com 25 > Trying 195.224.123.456... > Connected to mail3.acmewidget.com. > Escape character is '^]'. > > But if you just get: > > a...@purdy:~$ telnet mail3.acmewidget.com 25 > Trying 195.224.123.456... > > and it just hangs and does nothing, then outbound connections on port 25 > are being blocked by your local network (or possibly your ISP - BeThere in > the UK is notorious for this) then you'll have to reconfigure your > /etc/mail/sednmail.cf to use your local SMTP relay or a local smarthost. > > Andy > > mahm...@svr1:log$<mailto:mahm...@svr1:log$> ping 209.85.227.27 > PING > 209.85.227.27 (209.85.227.27) 56(84) bytes of data. > > > 64 bytes from 209.85.227.27: icmp_seq=1 ttl=47 time=159 ms > > 64 bytes from 209.85.227.27: icmp_seq=2 ttl=47 time=159 ms > >> try to send emails from the command line and check what happens, once > solved at this level, torque will Torque gracefully > > Do you know the perl command? Is this a good example > http://www.cs.cf.ac.uk/Dave/PERL/node180.html? > > > > // Naderan *Mahmood; > > > > > > ________________________________ > > From: Denis <[email protected]> > > To: Mahmood Naderan <[email protected]> > > Cc: maui <[email protected]> > > Sent: Tue, January 11, 2011 8:11:23 PM > > Subject: Re: [Mauiusers] no email is received > > > > > > > > 2011/1/11 Mahmood Naderan <[email protected]<mailto: > [email protected]>> > > > > Jan 11 19:31:11 svr1 sm-mta[24591]: p0BG0WOj024589: to=<@gmail.com< > http://gmail.com/>>, delay=00:00:39, xdelay=00:00:39, mailer=esmtp, > pri=120516, relay=alt4.gmail-smtp-in.l.google.com< > http://alt4.gmail-smtp-in.l.google.com/>. [209.85.227.27], dsn=4.0.0, > stat=Deferred: alt4.gmail-smtp-in.l.google.com< > http://alt4.gmail-smtp-in.l.google.com/>.: No route to host > > > > > Are you able to ping 209.85.227.27 ? > > > > Seems to be a network problem. Probably, if your perl (was it perl?) > script can send emails outside it has a relay in an internal server while > torque is trying to deliver directly. > > > > try to send emails from the command line and check what happens, once > solved at this level, torque will Torque gracefully > > > > cheers, > > DA. > > -- > > Denis Anjos, > > www.versatushpc.com.br<http://www.versatushpc.com.br/> > > > > > > > _______________________________________________ > mauiusers mailing list > [email protected] > http://www.supercluster.org/mailman/listinfo/mauiusers > > -- Denis Anjos, www.versatushpc.com.br
_______________________________________________ mauiusers mailing list [email protected] http://www.supercluster.org/mailman/listinfo/mauiusers
