i have configured an sendmail configuration in ubuntu 12.04 64 bit machine when i'm send th email through a perl script it gives the below error dsn=5.0.0, stat=Service unavailableand mail is not been sent. i check on with other machine wherein its sending email and functioning as designed  dsn=2.0.0, stat=sent..can i know how to make it work or change setting for proper functionality..the logs are :Sep  2 17:38:12 mail sendmail[5522]: r82C8CpE005522: from=root, size=148, class=0, nrcpts=1, msgid=<201309021208.r82C8CpE005522@mail.server.local>, relay=root@localhostSep  2 17:38:13 mail sm-mta[5523]: r82C8CtA005523: from=<root@mail.server.local>, size=373, class=0, nrcpts=1, msgid=<201309021208.r82C8CpE005522@mail.server.local>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]Sep  2 17:38:13 mail sendmail[5522]: r82C8CpE005522: to=suhaskekuda@gmail.com, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30148, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r82C8CtA005523 Message accepted for delivery)Sep  2 17:38:16 mail sm-mta[5525]: STARTTLS=client, relay=gmail-smtp-in.l.google.com., version=TLSv1/SSLv3, verify=FAIL, cipher=DES-CBC3-SHA, bits=168/168Sep  2 17:38:19 mail sm-mta[5525]: r82C8CtA005523: to=<suhaskekuda@gmail.com>, ctladdr=<root@mail.server.local> (0/0), delay=00:00:06, xdelay=00:00:06, mailer=esmtp, pri=120373, relay=gmail-smtp-in.l.google.com. [173.194.79.27], dsn=5.0.0, stat=Service unavailableSep  2 17:38:19 mail sm-mta[5525]: r82C8CtA005523: r82C8JtA005525: DSN: Service unavailableSep  2 17:38:19 mail sm-mta[5525]: r82C8JtA005525: to=<root@mail.server.local>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30000, dsn=2.0.0, stat=Sentetc/mail/access isConnect:localhost       RELAYGreetPause:localhost    0ClientRate:localhost    0ClientConn:localhost    0Connect:127             RELAYGreetPause:127          0ClientRate:127          0ClientConn:127          0Connect:IPv6:::1        RELAYGreetPause:IPv6:::1     0ClientRate:IPv6:::1     0ClientConn:IPv6:::1     0# DefaultsGreetPause:             5000ClientRate:             10ClientConn:             10Spam:postmaster@    FRIENDSpam:abuse@     FRIENDSpam:spam@      FRIEND#Connect:0      REJECT whilst invalid, this also blocks sendmail -bs -AmConnect:169.254 REJECTConnect:192.0.2 REJECTConnect:224     REJECTConnect:255     REJECT
sendmail error dsn=5.0.0, stat=Service unavailable
ubuntu;email;sendmail