sendmail problem on Solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris sendmail problem on Solaris 10
# 1  
Old 02-22-2007
sendmail problem on Solaris 10

Hi All,

I am facing problem while sending mail using "mail" & "sendmail" commands from my Solaris 10 system. When I send the mail, it moves it to dead.letter & generates following error messages in /var/log/syslog file;

Feb 22 14:20:14 ppip1n sendmail[8601]: [ID 801593 mail.info] l1M8oDEE008601: to=nikhil.verma@timesgroup.com, ctladdr=ppi (201/202), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=60859, relay=smtp.timesgroup.com. [10.100.209.206], dsn=5.0.0, stat=Service unavailableFeb 22 14:20:14 ppip1n sendmail[8601]: [ID 801593 mail.info] l1M8oDEE008601: to=bivash.dasgupta@timesgroup.com, ctladdr=ppi (201/202), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=60859, relay=smtp.timesgroup.com. [10.100.209.206], dsn=5.0.0, stat=Service unavailableFeb 22 14:23:55 ppip1n sendmail[29729]: [ID 702911 mail.info] starting daemon (8.13.4+Sun): queueing@00:15:00
Feb 22 14:23:55 ppip1n sendmail[29730]: [ID 702911 mail.info] starting daemon (8.13.4+Sun): SMTP+queueing@00:15:00
Feb 22 14:27:50 ppip1n sendmail[20796]: [ID 801593 mail.info] l1M8vowf020796: from=ppi, size=859, class=0, nrcpts=2, msgid=<200702220857.l1M8vowf020796@timesgroup.com>, relay=ppi@localhost
Feb 22 14:27:50 ppip1n sendmail[20796]: [ID 801593 mail.info] l1M8vowf020796: to=nikhil.verma@timesgroup.com, ctladdr=ppi (201/202), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60859, relay=smtp.timesgroup.com. [10.100.209.206], dsn=5.0.0, stat=Service unavailableFeb 22 14:27:50 ppip1n sendmail[20796]: [ID 801593 mail.info] l1M8vowf020796: to=bivash.dasgupta@timesgroup.com, ctladdr=ppi (201/202), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60859, relay=smtp.timesgroup.com. [10.100.209.206], dsn=5.0.0, stat=Service unavailableFeb 22 15:45:14 ppip1n sendmail[17697]: [ID 801593 mail.info] l1MAF98P017697: from=ppi, size=13, class=0, nrcpts=1, msgid=<200702221015.l1MAF98P017697@timesgroup.com>, relay=ppi@localhost
Feb 22 15:45:17 ppip1n sendmail[17697]: [ID 801593 mail.info] l1MAF98P017697: to=root@localhost, ctladdr=ppi (201/202), delay=00:00:08, xdelay=00:00:03, mailer=relay, pri=30013, relay=smtp.timesgroup.com. [10.100.209.206], dsn=5.0.0, stat=Service unavailableFeb 22 15:46:02 ppip1n sendmail[21357]: [ID 801593 mail.info] l1MAFvr8021357: from=ppi, size=12, class=0, nrcpts=1, msgid=<200702221015.l1MAFvr8021357@timesgroup.com>, relay=ppi@localhost
ppip1n:/var/log]

Note : Everything was working fine before 2 days, but suddenly it started giving me the above errors.

While configuring the sendmail initially I had followed following procedure & everything were working fine after configuring;

1. In /usr/lib/mail/cf/submit.mc
FEATURE(`msp', `[127.0.0.1]')dnl

2. I changed this to
FEATURE(`msp', `[smtp.abc.com]')dnl

3. Then I did "make submit.cf" and copied the submit.cf file to /etc/mail.

4. Restarted sendmail with "svcadm refresh smtp"

Note : smtp.abc.com entry added in /etc/host file also.

Everything was working fine, but suddenly it started giving me above mentioned errors. Nothing is changed as long as configurations of files are concerned, please help me out to resolve this issue.

Note : I am able to telnet to smtp.abc.com server perfectly.

Thanks & Regards,
jumadhiya.
# 2  
Old 02-22-2007
Please help me out to resolve this issue...!!!

ppip1n:/]ps -ef |grep sendmail
ppi 11770 10516 0 16:57:34 pts/4 0:00 grep sendmail
smmsp 29729 1 0 14:23:56 ? 0:00 /usr/lib/sendmail -Ac -q15m
root 29730 1 0 14:23:56 ? 0:00 /usr/lib/sendmail -bd -q15m
ppip1n:/]svcs -a |grep sendmail
online 14:23:55 svc:/network/smtp:sendmail
ppip1n:/]

Thanks & Regards,
jumadhiya.
# 3  
Old 02-22-2007
Try checking that DNS is working for smtp.abc.com - check for reverse lookup, mx for the site (abc.com), etc.
# 4  
Old 02-22-2007
Did you look at the dead.letter ? Also, please use the search function and search for a database re-build on sendmail, I posted some thoughs few days ago, but I can't remember where Smilie also try "mailq -v -d"
# 5  
Old 02-26-2007
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.
# 6  
Old 02-26-2007
Hi Sysgate,

When I try to send mail using verbose mode, it gives me following output.

ppidn:/etc/mail]mailx -v nikhil.verma@timesgroup.com
Subject: Test Mail

This is a test mail...!!!
EOT
ppidn:/etc/mail]nikhil.verma@timesgroup.com... Connecting to smtp.timesgroup.com. via relay...
220 smtp2.timesgroup.com ESMTP Postfix
>>> EHLO timesgroup.com
250-smtp2.timesgroup.com
250-SIZE 5242880
250-VRFY
250-ETRN
250-AUTH DIGEST-MD5 LOGIN PLAIN
250-AUTH=DIGEST-MD5 LOGIN PLAIN
250 8BITMIME
>>> MAIL From:<ppi@timesgroup.com> SIZE=98
250 Ok
>>> RCPT To:<nikhil.verma@timesgroup.com>
554 <ppi@timesgroup.com>: Sender address rejected: Access denied
>>> RSET
250 Ok
/PPI/media/ppi/dead.letter... Saved message in /PPI/media/ppi/dead.letter
Closing connection to smtp.timesgroup.com.
>>> QUIT
221 Bye

ppidn:/etc/mail]

What could be the problem for "Sender address rejected: Access denied" error.

Thanks & Regards,
jumadhiya.
# 7  
Old 02-26-2007
The mailserver is configured not to relay from unknown senders (usually by domain).

ppi@localhost is not a known sender and is therefore not relayed,
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

sendmail issue on solaris 9

We changed relay agent in sendmail.cf and submit.cf files, and restarted the send mail services from init.d, able to see the sendmail processes. But unable to send an email. Relay agent is telnetable with port 25. Please help us with the issue (2 Replies)
Discussion started by: sudhakar110
2 Replies

2. Solaris

Help to configure sendmail on Solaris 10

Hello, I need help to configure sendmail on Solaris 10. I have to configure sendmail to send mail on the Internet, now works only for sending mail for local users. I'm studying several tutorials ... When I try to send a mail to an external address (eg aaaa@gmail.com) the mail is placed... (3 Replies)
Discussion started by: arfry
3 Replies

3. Solaris

Solaris sendmail issue

I am trying to send mail from a Solaris 10 machine to myself. The mail will be receive by a mail server. The problem is sendmail doesn't report any errors and there is nothing in mailq output. In the logs the stat=queued. I do not receive the mail in my mailbox. I could telnet to the... (7 Replies)
Discussion started by: sundar63
7 Replies

4. Solaris

solaris 8/9 sendmail stop

Hi All, I need to stop sendmail from running on boot-up. How can I do this on Solaris 8 and 9 sparc? Please help and that you in advance. (2 Replies)
Discussion started by: itik
2 Replies

5. Solaris

sendmail solaris 10

My mail isbeing sent via server in format of : username@host.domain and from this fails as the domain does not exist. In solaris 9 we used DMdomain which cured the problem. this does not work in solaris 10 I have tried to rebuild sendmail.cf from a new version of the .mc file and tried... (7 Replies)
Discussion started by: smcart
7 Replies

6. Cybersecurity

How to configure sendmail in solaris 10

how to configure sendmail in solaris 10 ???? Anyone knows, pls share the documents. (1 Reply)
Discussion started by: vishwanathhcl
1 Replies

7. Solaris

solaris 8/9 sendmail

Hi All, How do I make sure that sendmail outside the server is blocked? How do I make sure the port 25 is blocked on the firewall? How do I determine if port 25 is used or other ports? Thanks in advance for any commment you may add. (1 Reply)
Discussion started by: itik
1 Replies

8. Solaris

Problem starting Sendmail on Solaris 9

Hi, I am getting problem in starting up Sendmail on solaris. When I do /etc/init.d/sendmail start in Process list it shows sendmail process properly. But when I do portcheck by netstat it doesn't show Port 25/smtp. What could be the problem ? Thanks NeeleshG (6 Replies)
Discussion started by: neel.gurjar
6 Replies

9. Solaris

Solaris 10 - Sendmail

Hello, I just installed Solaris 10 and my sendmail works. However, when I send an email the from heading appears as 'user@serverhostname.company.com'. Is there a way to remove the serverhostname so that the heading appears as 'user@company.com'. Thanks. (0 Replies)
Discussion started by: vitzit
0 Replies

10. UNIX for Advanced & Expert Users

Sendmail for Solaris 2.6

How do I configure send mail to send mail to internet mail accounts. The system is on a network which has an internet net router configured. (2 Replies)
Discussion started by: stuart.tootill
2 Replies
Login or Register to Ask a Question