Sponsored Content
Full Discussion: Solaris sendmail issue
Operating Systems Solaris Solaris sendmail issue Post 302254686 by sundar63 on Wednesday 5th of November 2008 01:39:50 AM
Old 11-05-2008
No change

Incredible, someone responded Smilie!

No changes was done. I am trying to run a cron job which will mail me the output. Unfortunately, I haven't receive any mail. Consequently, the mail will end up undelivered by sendmail. This could be seen when I log into the machine, it says "You have mail".

Below are excerpts from syslog(edited)
Nov 4 10:02:20 hostname sendmail[4805]: [ID 801593 mail.info] mA4A10Gm004805: from=root, size=2467, class=0, nrcpts=2, msgid=<200811041001.mA4A10Gm004805@hostname>, relay=root@localhost
Nov 4 10:02:20 hostname sendmail[4805]: [ID 801593 mail.info] mA4A10Gm004805: to=xxxxxx, delay=00:01:20, mailer=esmtp, pri=62467, dsn=4.4.3, stat=queued
Nov 4 10:02:20 hostname sendmail[4805]: [ID 801593 mail.info] mA4A10Gm004805: to=xxxxxx, delay=00:01:20, mailer=esmtp, pri=62467, dsn=4.4.3, stat=queued
Nov 4 14:12:27 hostname sendmail[5009]: [ID 801593 mail.info] mA4A10Gm004805: mA4EB7I2005009: sender notify: Warning: could not send message for past 4 hours
....
Nov 4 14:28:00 hostname sendmail[16683]: [ID 801593 mail.info] mA4L00M0016683: to=oracle, ctladdr=oracle (101/100), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30448, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (mA4L00f1016690 Message accepted for delivery)

Please help!
 

10 More Discussions You Might Find Interesting

1. Solaris

sendmail issue

Hi, yesterday I had issues, sendmail was not responding quickly while sending email and users did not receive any email, This happened with sendmail on solaris 10 and also with sendmail on a linux box. Found it is something to do with DNS blacklists, following lists did not work for me,... (2 Replies)
Discussion started by: upengan78
2 Replies

2. UNIX for Dummies Questions & Answers

Issue with sendmail

Hi Team, I have a script written to sendmail along with attachment in html format. The code is export MAILFROM="abc@abc.com" export MAILTO="abc@abc.com" export CONTENT="./GRP_SPI_ERR.html" export SUBJECT="TEST EMAIL: TESTING HTML" { print - "From: $MAILFROM" print - "To: ${MAILTO}"... (3 Replies)
Discussion started by: Vinaykumar1
3 Replies

3. Solaris

Sendmail Issue

Hi, Guru i had configure in my two server to send out the email. One of the server able to send in the reasonable timing. but another not, it delay almost one day or two days but mostly not send at all. below is the syslog when i try to send out the mail. GOOD Server Dec 28 11:29:39... (5 Replies)
Discussion started by: SmartAntz
5 Replies

4. Solaris

Sendmail issue

Hi all, we are using solaris 10. we need to increase every users mail boxes size as all users mail boxes got filled..Please help..its urgent.. Thanks in advance.. (1 Reply)
Discussion started by: bpsunadm
1 Replies

5. Red Hat

Sendmail Issue.

Hi Gurus, I have been tampering around with sendmail for the past one week and seem to make little progress. Given below is an abstract of the issue. I have a Fedora 12 server(A VM on vitual Box bridged with a Windows XP host) which has to act as a SMTP server and have accordingly put up the... (8 Replies)
Discussion started by: Hari_Ganesh
8 Replies

6. AIX

Sendmail issue

My aix boxes have the port 25 listening and I want to bock that. But before that I want to check the recent logs of the sendmail activity and any open sockets using the port. Please advise. (1 Reply)
Discussion started by: ranasarkar
1 Replies

7. Red Hat

Sendmail issue

Hi Every One, one of our server configuration on sendmail config we are using SMAR_HOST ### define(`SMART_HOST', 'mail.xxx.com') and /etc/sysconfig/sednmail DAEMON is setted to NO so let me know why sendmail is not working for this server any this else u need please do let me know (0 Replies)
Discussion started by: venikathir
0 Replies

8. 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

9. Emergency UNIX and Linux Support

Sendmail issue on NGZ (Solaris)

Hi All, I have Solaris-10 box with 11 sparse root zone. After a upgrade activity and reverted back due to some issues, sendmail is not working on any of the Non Global Zone (NGZ), while it works fine on Global zone root@trans01-zd01:/root# mailx -v my_email_id@xxxx.com Subject: ZD01 . EOT... (4 Replies)
Discussion started by: solaris_1977
4 Replies

10. UNIX for Advanced & Expert Users

Sendmail issue

One of the applications sends mail to the users on daily basis. It sends mail within (internal users) the firewall (e.g., username@companyname.com) and not sending mail outside (external users) the firewall (e.g., username@yyyy.com). When we contacted the admin people they informed us to register... (5 Replies)
Discussion started by: abuibi
5 Replies
SENDMAIL2DLF.IN(1)					  LogReport's Lire Documentation					SENDMAIL2DLF.IN(1)

NAME
sendmail2dlf - convert sendmail logfiles to dlf SYNOPSIS
sendmail2dlf DESCRIPTION
sendmail2dlf(1) converts a LogLevel 9 sendmail (8.10.x or higher) logfile, as created using syslog, to a Lire email Distilled Log Format file. Input is one line per event. Outputted is one line per delivery: time logrelay queueid msgid fromuser fromdomain fromrelay size delay xdelay touser todomain torelay stat (This should be the format as defined in email/dlf.cfg.) EXAMPLE
The lines Apr 20 03:00:11 firewall sendmail[442]: DAA00442: from=<user@example.com>, size=4992, class=0, pri=34992, nrcpts=1, msgid=<200004192316.BAA19611@achilles.noot.com>, proto=ESMTP, relay=host.example.nl [150.0.0.45] Apr 20 03:00:11 firewall sendmail[442]: DAA00442: to=<jan@aap.com>, delay=00:00:00, mailer=smtp, stat=queued Apr 20 05:00:11 firewall sendmail[503]: DAA00442: to=<jan@aap.com>, delay=02:00:00, xdelay=00:00:03, mailer=smtp, relay=mailgw.aap.com. [3.4.64.199], stat=Sent (OK id=12i7CN-0001Kv-00) wil be converted to 956109611 firewall DAA00442 <200004192316.baa19611@achilles.noot.com> user example.com host.example.nl_[150.0.0.45] 4992 0 0 jan aap.com host.example.nl._[150.0.0.45] queued UNKNOWN 956116811 firewall DAA00442 <200004192316.baa19611@achilles.noot.com> user example.com host.example.nl_[150.0.0.45] 4992 7200 3 jan aap.com mailgw.aap.com._[3.4.64.199] sent (ok_id=12i7cn-0001kv-00) The lines Mar 17 13:34:32 mailhost sendmail[8408]: NAA08408: from=<piet@example.com>, size=1890, class=0, pri=0, nrcpts=4, msgid=<000b01bf9009$f6885b20$6c062014@sabepc06.be.example.com>, proto=ESMTP, relay=root@[1.2.6.10] Mar 17 13:45:26 mailhost sendmail[8457]: NAA08408: to=lkrksen@www, delay=00:10:56, xdelay=00:00:01, mailer=smtp, relay=www.example.nl. [194.229.43.3], stat=Sent (NAA06261 Message accepted for delivery) Mar 17 13:45:27 mailhost sendmail[8457]: NAA08408: to=ll@host.example.com, delay=00:10:57, xdelay=00:00:01, mailer=smtp, relay=host.example.nl. [150.0.0.45], stat=Sent (OK) Mar 17 13:45:31 mailhost sendmail[8457]: NAA08408: to=<mvelsla@aap.com>,<pvhove@aap.com>,<pdebaerd@aap.com>, delay=00:11:01, xdelay=00:00:04, mailer=smtp, relay=mailgw.aap.com. [3.4.64.199], stat=Sent (OK id=12Vw8J-0001iT-00) will be converted to 953210726 mailhost NAA08408 <000b01bf9009$f6885b20$6c062014@sabepc06.be.example.com> piet example.com root@[1.2.6.10] 1890 656 1 lkrksen www www.example.nl._[194.229.43.3] sent (naa06261_message_accepted_for_delivery) 953210727 mailhost NAA08408 <000b01bf9009$f6885b20$6c062014@sabepc06.be.example.com> piet example.com root@[1.2.6.10] 1890 657 1 ll host.example.com host.example.nl._[150.0.0.45] sent (ok) 953210731 mailhost NAA08408 <000b01bf9009$f6885b20$6c062014@sabepc06.be.example.com> piet example.com root@[1.2.6.10] 1890 661 4 mvelsla aap.com mailgw.aap.com._[3.4.64.199] sent (ok_id=12vw8j-0001it-00) 953210731 mailhost NAA08408 <000b01bf9009$f6885b20$6c062014@sabepc06.be.example.com> piet example.com root@[1.2.6.10] 1890 661 4 pvhove aap.com mailgw.aap.com._[3.4.64.199] sent (ok_id=12vw8j-0001it-00) 953210731 mailhost NAA08408 <000b01bf9009$f6885b20$6c062014@sabepc06.be.example.com> piet example.com root@[1.2.6.10] 1890 661 4 pdebaerd aap.com mailgw.aap.com._[3.4.64.199] sent (ok_id=12vw8j-0001it-00) The lines Mar 15 13:34:09 firewall sendmail[279]: NAA00279: from=<klaas@example.com>, size=2281952, class=0, pri=2311952, nrcpts=1, msgid=<200003151230.NAA00112@mailhost.example.nl>, proto=ESMTP, relay=host.example.nl [150.0.0.45] Mar 15 13:34:09 firewall sendmail[279]: NAA00279: to=<klaas@hotmail.com>, delay=00:00:04, mailer=smtp, stat=queued Mar 15 13:39:58 firewall sendmail[401]: NAA00279: to=<klaas@hotmail.com>, delay=00:05:53, xdelay=00:00:06, mailer=smtp, relay=mc5.law5.hotmail.com. [216.32.243.136], stat=Service unavailable Mar 15 13:39:58 firewall sendmail[401]: NAA00279: NAA00401: postmaster notify: Service unavailable Mar 15 13:40:04 firewall sendmail[401]: NAA00401: to=klaas@host.example.com, delay=00:00:06, xdelay=00:00:04, mailer=smtp, relay=host.example.nl. [150.0.0.45], stat=Sent (OK) will be converted to 953037249 firewall NAA00279 <200003151230.naa00112@mailhost.example.nl> klaas example.com host.example.nl_[150.0.0.45] 2281952 4 1 klaas hotmail.com mailgw.csc.com._[208.219.64.199] queued UNKNOWN 953037598 firewall NAA00279 <200003151230.naa00112@mailhost.example.nl> klaas example.com host.example.nl_[150.0.0.45] 2281952 353 6 klaas hotmail.com mc5.law5.hotmail.com._[216.32.243.136] service unavailable The fact that the delivery 'Mar 15 13:40:04 firewall sendmail[401]: NAA00401:' does not generate a dlf record is a bug. When the line Mar 15 19:39:40 mailhost sendmail[2178]: TAA02178: from=<foo@hotmail.com>, size=0, class=0, pri=0, nrcpts=0, proto=SMTP, relay=[1.84.7.150] occurs in the input, and there is no line carrying the same queueid, the line is discarded, and reported as skipped: any to- or from- line, lacking any partner, will get discarded. Lines like: Mar 15 13:40:19 firewall sendmail[456]: alias database /etc/aliases.db out of date wil get discarded EXAMPLES
To process a log as produced by sendmail: $ sendmail2dlf < mail.log sendmail2dlf will be rarely used on its own, but is more likely called by lr_log2report: $ lr_log2report sendmail < /var/log/maillog BUGS
When queueids are being reused within one logfile, behaviour is unpredictable. Incomplete logsnippets (e.g. from-lines without to-lines) are not treated well. It is reported events like this occur in sendmail log files: SAA14845: from=<>, size=146990, class=0, pri=176990, nrcpts=1, msgid=<092246.09986@rly-yc03.mx.aol.com>, proto=ESMTP, relay=omr-d06.mx.aol.com [205.188.156.71] SAA14845: to=joe@mailhost, ctladdr=<joe@example.edu>, delay=00:00:01, mailer=local, stat=User unknown SAA14845: to=<joe@example.edu>, delay=00:00:01, mailer=local, stat=User unknown SAA14845: SAA14846: postmaster notify: User unknown SAA14846: to="|exec /usr/local/bin/procmail", ctladdr=ann@mailhost (2217/10), delay=00:00:00, xdelay=00:00:00, mailer=prog, stat=Sent SAA14846: to=bob@imap-ns, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, relay=apex.example.edu. [152.19.4.80], stat=Sent (Message received: GVV8N400.CMX) SAA14846: to=eve@mailhost, delay=00:00:01, xdelay=00:00:00, mailer=local, stat=Sent Note that SAA14845 has _two_ final to= lines, while the from= line states nrcpts=1. This blows the axiom of this script away. We haven't decided yet on how to deal with this... THANKS
Edward Eldred, for finding and reporting a bug. VERSION
$Id: sendmail2dlf.in,v 1.32 2006/07/23 13:16:34 vanbaal Exp $ COPYRIGHT
Copyright (C) 2000, 2001, 2002 Stichting LogReport Foundation LogReport@LogReport.org This program is part of Lire. Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html. AUTHOR
Joost van Baal <joostvb@logreport.org> Lire 2.1.1 2006-07-23 SENDMAIL2DLF.IN(1)
All times are GMT -4. The time now is 11:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy