Hi Sysgate,
When I configured sendmail for the first time, it was working absolutely fine. I was able to send mail using mail , mailx & sendmail commands. Suddenly it started giving me an error & whatever I send....goes to dead.letter.
Feb 22 15:14:45 ppidn sendmail[1883]: [ID 801593 mail.info] l1M9iZDK001883: to=nikhil.verma@timesgroup.com, ctladdr=ppi (201/202), delay=00:00:10, xdelay=00:
00:01, mailer=relay, pri=30015, relay=smtp.timesgroup.com. [10.100.209.206], dsn=5.0.0, stat=Service unavailable
I tried to telnet the IP address of smtp server using "telnet IP Address 25"......it works fine.
Please find the output of mailq command requested by you;
ppidn:/var/log]mailq -v -d
Version 8.13.4+Sun
Compiled with: DNSMAP LDAPMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8
MIME8TO7 NAMED_BIND NDBM NETINET NETINET6 NETUNIX NEWDB NIS
NISPLUS PIPELINING SCANF STARTTLS TCPWRAPPERS USERDB
USE_LDAP_INIT XDEBUG
getla: 0
setoption Verbose (v)=T
setoption SevenBitInput (7)=False
setoption AliasWait (a)=10
setoption AliasFile (A)=/etc/mail/aliases
setoption MinFreeBlocks (b)=100
setoption BlankSub (B)=.
setoption HoldExpensive (c)=False
setoption DeliveryMode (d)=background
setoption TempFileMode (F)=0600
setoption HelpFile (H)=/etc/mail/helpfile
setoption SendMimeErrors (j)=True
setoption ForwardPath (J)=$z/.forward.$w+$h:$z/.forward+$h:$z/.forward.$w:$z/.forward
setoption ConnectionCacheSize (k)=2
setoption ConnectionCacheTimeout (K)=5m
setoption UseErrorsTo (l)=False
setoption LogLevel (L)=9
setoption CheckAliases (n)=False
setoption OldStyleHeaders (o)=True
setoption DaemonPortOptions (O)=Name=MTA-v4, Family=inet
Daemon MTA-v4 flags:
setoption DaemonPortOptions (O)=Name=MTA-v6, Family=inet6
Daemon MTA-v6 flags:
setoption DaemonPortOptions (O)=Port=587, Name=MSA, M=E
Daemon MSA flags: <NOETRN>
setoption PrivacyOptions (p)=authwarnings
setoption QueueDirectory (Q)=/var/spool/mqueue
setoption Timeout (r).queuereturn=5d
setoption Timeout (r).queuewarn=4h
setoption SuperSafe (s)=True
setoption StatusFile (S)=/etc/mail/statistics
setoption FallbackSmartHost (0xd5)=mailhost$?m.$m$.
setoption SmtpGreetingMessage (0x90)=$j Sendmail $v/$Z; $b
setoption UnixFromLine (0x91)=From $g $d
setoption OperatorChars (0x92)=.:%@!^/[]+
setoption PidFile (0x9f)=/var/run/sendmail.pid
drop_privileges(0): Real[UG]id=201:202, get[ug]id=1:202, gete[ug]id=0:25, RunAs[UG]id=0:0
getauthinfo: ppi@localhost
============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = timesgroup
(canonical domain name) $j = timesgroup.com
(subdomain name) $m = com
(node name) $k = ppidn
========================================================
setoption HoldExpensive (c)=F
setoption DeliveryMode (d)=
dropenvelope 0x140c94: id=<null>, flags=4001<OLDSTYLE,METOO>
gatherq:
/var/spool/mqueue is empty
Total requests: 0
====finis: stat 0 e_id=NOQUEUE e_flags=4001<OLDSTYLE,METOO>
ppidn:/var/log]
# more dead.letter
From ppi Thu Feb 22 14:59:41 2007
Return-Path: <ppi>
Received: (from ppi@localhost)
by timesgroup.com (8.13.4+Sun/8.13.4/Submit) id l1M9Tfos021648
for
nikhil.verma@timesgroup.com; Thu, 22 Feb 2007 14:59:41 +0530 (IST)
Date: Thu, 22 Feb 2007 14:59:41 +0530 (IST)
From: PPI Global User <ppi>
Message-Id: <200702220929.l1M9Tfos021648@timesgroup.com>
MIME-Version: 1.0
Content-Type: text/plain
Test mail
From ppi Thu Feb 22 15:02:22 2007
Return-Path: <ppi>
Received: (from ppi@localhost)
by timesgroup.com (8.13.4+Sun/8.13.4/Submit) id l1M9WM89023656
for
nikhil.verma@timesgroup.com; Thu, 22 Feb 2007 15:02:22 +0530 (IST)
Date: Thu, 22 Feb 2007 15:02:22 +0530 (IST)
From: PPI Global User <ppi>
Message-Id: <200702220932.l1M9WM89023656@timesgroup.com>
Test Mail ....
#2
From ppi Thu Feb 22 15:14:35 2007
Return-Path: <ppi>
Received: (from ppi@localhost)
by timesgroup.com (8.13.4+Sun/8.13.4/Submit) id l1M9iZDK001883
for
nikhil.verma@timesgroup.com; Thu, 22 Feb 2007 15:14:35 +0530 (IST)
Date: Thu, 22 Feb 2007 15:14:35 +0530 (IST)
From: PPI Global User <ppi>
Message-Id: <200702220944.l1M9iZDK001883@timesgroup.com>
Test Mail #3
Please suggest something........!!!
Thanks & Regards,
jumadhiya.