[Mauiusers] no email is received

Mahmood Naderan nt_mahmood at yahoo.com
Tue Jan 11 09:31:48 MST 2011


>that depends - how did you install torque/maui in the first place?
>Did you compile frome source, or install a package from some distro?

I installed from source using this guide 
http://debianclusters.org/index.php/Resource_Manager:_Torque
I didn't configured for sendmail :(

>according to the changelog, logging of email events was introduced in 
>torque-2.4.4
No I have the latest version 3.0.0

>What operating system are you using by the way?
Ubuntu server 10.04

> Where is your sendmail actually installed? Traditionally it was always at 
>/usr/lib/sendmail so if your operating system has put it into /usr/sbin, 
>then you may find putting in a symlink in /usr/lib to /usr/sbin/sendmail 
>so that Torque finds it in the expected place might be the solution:
mahmood at svr1:~# which sendmail
/usr/sbin/sendmail
If you see the log message below, it doen't complain about sendmail binary. It 
seems that it finds the binary but the problem is somewhere else

>Have you had a look at the sendmail log? Typically this is /var/log/mail.log or 
>/var/log/maillog for Linux and FreeBSD and >under Solaris, sendmail logging by 
>default goes into /var/log/syslog.
I ran again using my gmail address (since I am sure that from server I can send 
emails to my gmail account). This the /var/log/mail.info (please note that if 
you see "@gmail.com", that is my gmail address and I removed it for spammers!)

Jan 11 19:30:32 svr1 sendmail[23931]: unable to qualify my own domain name 
(svr1) -- using short name
Jan 11 19:30:32 svr1 sendmail[23935]: unable to qualify my own domain name 
(svr1) -- using short name
Jan 11 19:30:32 svr1 sendmail[23931]: p0BG0W7n023931: from=adm, size=148, 
class=0, nrcpts=1, msgid=<201101111600.p0BG0W7n023931 at svr1>, 
relay=root at localhost
Jan 11 19:30:32 svr1 sendmail[23935]: p0BG0W91023935: from=adm, size=276, 
class=0, nrcpts=1, msgid=<201101111600.p0BG0W91023935 at svr1>, 
relay=root at localhost
Jan 11 19:30:32 svr1 sm-mta[24589]: p0BG0WOj024589: from=<adm at svr1>, size=516, 
class=0, nrcpts=1, msgid=<201101111600.p0BG0W91023935 at svr1>, proto=ESMTP, 
daemon=MTA-v4, relay=localhost [127.0.0.1]
Jan 11 19:30:32 svr1 sm-mta[24588]: p0BG0W5v024588: from=<adm at svr1>, size=388, 
class=0, nrcpts=1, msgid=<201101111600.p0BG0W7n023931 at svr1>, proto=ESMTP, 
daemon=MTA-v4, relay=localhost [127.0.0.1]
Jan 11 19:30:32 svr1 sendmail[23935]: p0BG0W91023935: to=@gmail.com, 
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30276, relay=[127.0.0.1] 
[127.0.0.1], dsn=2.0.0, stat=Sent (p0BG0WOj024589 Message accepted for delivery)
Jan 11 19:30:32 svr1 sendmail[23931]: p0BG0W7n023931: to=@gmail.com, 
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30148, relay=[127.0.0.1] 
[127.0.0.1], dsn=2.0.0, stat=Sent (p0BG0W5v024588 Message accepted for delivery)
Jan 11 19:30:58 svr1 sm-mta[24593]: p0BG0W5v024588: to=<@gmail.com>, 
delay=00:00:26, xdelay=00:00:26, mailer=esmtp, pri=120388, 
relay=alt4.gmail-smtp-in.l.google.com. [209.85.227.27], dsn=4.0.0, 
stat=Deferred: alt4.gmail-smtp-in.l.google.com.: No route to host
Jan 11 19:31:11 svr1 sm-mta[24591]: p0BG0WOj024589: to=<@gmail.com>, 
delay=00:00:39, xdelay=00:00:39, mailer=esmtp, pri=120516, 
relay=alt4.gmail-smtp-in.l.google.com. [209.85.227.27], dsn=4.0.0, 
stat=Deferred: alt4.gmail-smtp-in.l.google.com.: No route to host
 
Thanks in advance,
// Naderan *Mahmood;




________________________________
From: Burkhard Bunk <bunk at physik.hu-berlin.de>
To: Mahmood Naderan <nt_mahmood at yahoo.com>
Cc: maui <mauiusers at supercluster.org>
Sent: Tue, January 11, 2011 7:04:15 PM
Subject: Re: [Mauiusers] no email is received

Hi,

that depends - how did you install torque/maui in the first place?
Did you compile frome source, or install a package from some distro?

BTW, this has nothing to do with Maui anyway.

Regards,
Burkhard Bunk.
----------------------------------------------------------------------
bunk at physik.hu-berlin.de      Physics Institute, Humboldt University
fax:    ++49-30 2093 7628    Newtonstr. 15
phone:  ++49-30 2093 7980    12489 Berlin, Germany
----------------------------------------------------------------------

On Tue, 11 Jan 2011, Mahmood Naderan wrote:

> >(1) The firewall of your institution may prohibit sending mail directly
> >    to the outside world. Try with a local email address.
> I don't think about this case. I have a python script which send an email to
> my gmail address.
> 
> >(2) Torque may be unable to find sendmail.
> >    I found that it is necessary to compile torque with the full
> >    pathname of sendmail:
> >        configure --with-sendmail=/usr/sbin/sendmail ...
> >    to get it working.
> No.... :o Then I have to do everything (create queue), maui and torque
> configs, nodes and .... from scratch??
>  
> // Naderan *Mahmood;
> 
> 
>_____________________________________________________________________________________
>_
> From: Burkhard Bunk <bunk at physik.hu-berlin.de>
> To: Mahmood Naderan <nt_mahmood at yahoo.com>
> Cc: maui <mauiusers at supercluster.org>
> Sent: Tue, January 11, 2011 6:44:40 PM
> Subject: Re: [Mauiusers] no email is received
> 
> Hi,
> 
> two ideas:
> 
> (1) The firewall of your institution may prohibit sending mail directly
>     to the outside world. Try with a local email address.
> 
> (2) Torque may be unable to find sendmail.
>     I found that it is necessary to compile torque with the full
>     pathname of sendmail:
>         configure --with-sendmail=/usr/sbin/sendmail ...
>     to get it working.
> 
> Regards,
> Burkhard Bunk.
> ----------------------------------------------------------------------
> bunk at physik.hu-berlin.de      Physics Institute, Humboldt University
> fax:    ++49-30 2093 7628    Newtonstr. 15
> phone:  ++49-30 2093 7980    12489 Berlin, Germany
> ----------------------------------------------------------------------
> 
> On Tue, 11 Jan 2011, Mahmood Naderan wrote:
> 
> > Hi,
> > In my script I have:
> > #PBS -m abe
> > #PBS -M nt_mahmood at .....com
> > which is my yahoo address. The problem is I don't receive any email. The
> > sendmail is installed on the server. Any idea about that?
> >  
> > // Naderan *Mahmood;
> >
> >
> >
> 
> 
>


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/mauiusers/attachments/20110111/68efc69a/attachment-0001.html 


More information about the mauiusers mailing list