On Sunday 27 May 2012, Gaurang Aggarwal wrote:
> Hello ,
> 
> 
> As Raj said I exactly used  :
>   tail -f /var/log/mail.log
> while sending a email from the web application
> 
> May 27 12:17:33 uni2versity sendmail[13521]: q4R8GXih013521: to=
> m...@gaurang.me, ctladdr=cont...@skilledinterns.com (33/33),
> delay=00:01:00, xdelay=00:00:00, mailer=relay, pri=30423,
> relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (q4R8HXG1013909
> Message accepted for delivery) May 27 12:17:34 uni2versity
> sm-mta[13912]: STARTTLS=client, relay= aspmx.l.google.com.,
> version=TLSv1/SSLv3, verify=FAIL, cipher=RC4-SHA, bits=128/128
> May 27 12:17:34 uni2versity sm-mta[13912]: q4R8HXG1013909:
> to=<m...@gaurang.me>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp,
> pri=120740, relay= aspmx.l.google.com. [209.85.225.26], dsn=2.0.0,
> stat=Sent (OK 1338106654 l17si3694120iga.62)
> May 27 12:20:01 uni2versity sm-msp-queue[15508]: My unqualified host
> name (uni2versity) unknown; sleeping for retry
> May 27 12:21:01 uni2versity sm-msp-queue[15508]: unable to qualify my
> own domain name (uni2versity) -- using short name
> May 27 12:40:02 uni2versity sm-msp-queue[5376]: My unqualified host
> name (uni2versity) unknown; sleeping for retry

There you go, that's the problem.  Your hostname is unknown and sendmail 
is failing/slowing down because of that.

Make sure that (a) your "hostname" command returns a fully-qualified 
host name, and (b) that fully-qualified host name exists at least in 
/etc/hosts.

Regards,

-- Raj
-- 
Raj Mathur                          || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves           || http://schizoid.in   || D17F

_______________________________________________
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to