Hello ,

Thanks a lot for great help Raj , Mahesh , Naresh  :)

The errors are not shown now as I uploaded hostname to fully qualified
hostname .
I am curious , is there any way to allow web applications to send the mails
faster as the time it takes to send the email is about 6- 8 seconds .


On Sun, May 27, 2012 at 5:59 PM, Raj Mathur (राज माथुर) <
[email protected]> wrote:

> 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=
> > [email protected], [email protected] (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=<[email protected]>, 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                          || [email protected]   || GPG:
> http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
> It is the mind that moves           || http://schizoid.in   || D17F
>
> _______________________________________________
> Ilugd mailing list
> [email protected]
> http://frodo.hserus.net/mailman/listinfo/ilugd
>



-- 
Regards
Gaurang Aggarwal
Handle :  #fanaticgeek
Call : +0 997 168 5225
Uni2versity -  http://uni2versity.com
_______________________________________________
Ilugd mailing list
[email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to