>This is really a network problem. >Although all this is way off-topic for Maui, let me know off-list if you >know the name or address of the SMTP relay you are expected to use and you >want help configuring your sendmail to use it.
Ok, let me ask the administrator first. I appreciate your help Andy. Thanks, // Naderan *Mahmood; ________________________________ From: andy thomas <[email protected]> To: Mahmood Naderan <[email protected]> Cc: maui <[email protected]> Sent: Tue, January 11, 2011 9:22:35 PM Subject: Re: [Mauiusers] no email is received On Tue, 11 Jan 2011, Mahmood Naderan wrote: > I get this: > > mahm...@svr1:log$<mailto: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 Well, that's where your problem lies - your local IT environment is blocking connections to external SMTP mail relays. > Also the output of " netstat -an | grep "LISTEN " " is: > > tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN > tcp 0 0 127.0.0.1:587 0.0.0.0:* LISTEN > tcp 0 0 0.0.0.0:33261 0.0.0.0:* LISTEN > tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN > tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN > tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN > tcp 0 0 0.0.0.0:52561 0.0.0.0:* LISTEN > tcp 0 0 127.0.0.1:7634 0.0.0.0:* LISTEN > tcp 0 0 0.0.0.0:4949 0.0.0.0:* LISTEN > tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN > tcp 0 0 0.0.0.0:15001 0.0.0.0:* LISTEN > tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN > tcp 0 0 0.0.0.0:15002 0.0.0.0:* LISTEN > tcp 0 0 0.0.0.0:15003 0.0.0.0:* LISTEN > tcp 0 0 0.0.0.0:15004 0.0.0.0:* LISTEN > tcp 0 0 0.0.0.0:42559 0.0.0.0:* LISTEN > tcp 0 0 0.0.0.0:42560 0.0.0.0:* LISTEN > tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN > tcp 0 0 0.0.0.0:44226 0.0.0.0:* LISTEN > tcp6 0 0 :::22 :::* LISTEN > > > > Does that mean port 25 is not open on my system? It's listening on localhost (127.0.0.1:25) which is normal as you usually want sendmail to accept system messages, etc and deliver them to local users. But it cannot make connections to external hosts listening on port 25 except those defined by your network administrator. Although all this is way off-topic for Maui, let me know off-list if you know the name or address of the SMTP relay you are expected to use and you want help configuring your sendmail to use it. Andy > ________________________________ > 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<http://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]<mailto:[email protected]>> >> To: Mahmood Naderan <[email protected]<mailto:[email protected]>> >> Cc: maui <[email protected]<mailto:[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]><mailto:[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/><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/><http://www.versatushpc.com.br/> >>> >> >> > >
_______________________________________________ mauiusers mailing list [email protected] http://www.supercluster.org/mailman/listinfo/mauiusers
