Sponsored Content
Full Discussion: Unable to send mail
Operating Systems Solaris Unable to send mail Post 302283286 by sbn on Tuesday 3rd of February 2009 02:56:10 AM
Old 02-03-2009
Unable to send mail

Hey guys i got this error my logs

Quote:
sendmail[29572]: [ID 801593 mail.info] n12J11fw029572: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30329, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] ()
- I ping 127.0.0.1 and it says that its alive

- I checked sendmail and it is running

- I tried to send a test email but nothing happens it seems that it hangs

Quote:
echo "TEST MAIL" | sendmail -v root@localhost
- What is the possible cause of this?
 

10 More Discussions You Might Find Interesting

1. Solaris

unable to send mail?

i am trying to execute the below script for sending mails from unix MAIL1="xyz@yahoo.com" mailx -s "hi" $MAIL1<message.txt if then echo "failure" else echo "success" fi but iam unable to send this eventhough iam getting success in the output if i logout and login i have a "you... (1 Reply)
Discussion started by: shahnazurs
1 Replies

2. Linux

Unable to send mail - but no errors found :-(

Hi Guys I am using this version of Linux box (as shown below). I am unable to send email from the box. But I am not getting any errors while sending email. :mad: Any idea what could be the reason? What entry should I check? :confused: $ uname -a Linux machine-name 2.4.21-144-smp4G #1... (6 Replies)
Discussion started by: csaha
6 Replies

3. AIX

unable to send mail

hi, I have tried this code to send mail.Its not giving me error but I am not receiving mail also. #!/bin/ksh echo "The first mail" >msg cnt=`cat /dir1/msg | wc -l` if then mail -s "Hello" abc.xyz@domain.com < msg fi I have also tried with the command mailx -s "hello"... (0 Replies)
Discussion started by: monika
0 Replies

4. Shell Programming and Scripting

Unable to send a mail

Hi, I have been trying to send a mail from a remote site using this script To send the mail: #!/bin/ksh MAILTO="abc@xyz.com" BACKUPDIR="/wls_domains/wli81_1/RHTEAM/OUTPUTBACKUP/" #BACKUPDIR="../OUTPUTBACKUP/" while ; do print $1 uuencode $1 $1 | mail $MAILTO ... (3 Replies)
Discussion started by: monicaminj2000
3 Replies

5. Solaris

Unable to send mail

hi all i got two server, mercury and procyon mercury can send email but procyon cannot below is their syslog mercury: Jul 6 13:17:17 mercury sendmail: n665HGXg006886: to =<leecw@domain.com>, ctladdr=<ora10g@mercury.domain.com> (4001/101), d elay=00:00:01, xdelay=00:00:01,... (7 Replies)
Discussion started by: SmartAntz
7 Replies

6. AIX

Unable to send mail.. Need experts Help..

i'm having accounts in 2 servers..1 is a AIX server and other is solaris..both are under same domain,say a.X.com and b.X.com.. from my solaris account i'm able to send mails to any ids.. but in case of my Aix account i'm just able to receive mails tat too either from other accounts in the same AIX... (1 Reply)
Discussion started by: kannangce
1 Replies

7. Solaris

Unable to send mail through mailx

Hi, I am using solaris 5.9 OS and I am facing an issues with mailx. My SMTP port is configured to listen 6190 and not the default one which is 25. I can send mail to my inbox when i do it manually through the following steps root@<dbname> # telnet 15.12.88.10 6190 Trying 15.12.88.10...... (0 Replies)
Discussion started by: Srinathkiru
0 Replies

8. Shell Programming and Scripting

Unable to send mail

Hi friends I am trying to send mail through a unix server. I am using following command mailx -s "THIS IS TEST" jhon@gmail.com Whenever i am typing the above command it is going to next line when i press @ on unix server prompt. so it is taking this command as following mailx -s "THIS... (3 Replies)
Discussion started by: Nakul_sh
3 Replies

9. UNIX for Advanced & Expert Users

Unable to send mail with 'mail' command

I am unable to cause the 'mail' command to send mail from my linux ubuntu 15.10 computer. File 'mail.log' typically reports Connection timed out. I issue the command: mail -s "my subject" recipient@domain.com < filenamewhere filename is a file containing my message. Specifically, the... (3 Replies)
Discussion started by: tcnm
3 Replies

10. Solaris

Unable to send mail from non-global zone

TLDR; non-global-zone has same configuration files (sendmail.cf) as global-zone but still unable to send mail out using mailx I have a S11.3 system that has a non-global-zone which uses the exact same sendmail.cf configurations as the global but, unable to send mail out from it. Apparently... (2 Replies)
Discussion started by: samthewildone
2 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 08:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy