Sendmail is not working properly


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Sendmail is not working properly
# 1  
Old 01-12-2009
CPU & Memory Sendmail is working fine

Hi All,

Can any one help me to solve the issue.
The Issue is, i have started the sendmail service on my RHEL 4 update 6 box, I am able to send the mail from my box to almost all of the Email Id's except few.
Exampe,


test mail.
.

Output is :the message is sent.

now if I send the same message on this ....

output is: the message is not sent.

[B][SIZE=4][COLOR=Navy]Please look at the logs to find out the problem.



Quote:
Jan 12 13:32:46 olrtestserver sendmail[12594]: n0C82kVa012594: from=root, size=64, class=0, nrcpts=2, msgid=<200901120802.n0C82kVa012594@localhost.localdomain>, relay=root@localhost
Jan 12 13:32:46 olrtestserver sendmail[12595]: n0C82kn6012595: <.@localhost.localdomain>... User unknown
Jan 12 13:32:46 olrtestserver sendmail[12594]: n0C82kVa012594: to=., ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60064, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Jan 12 13:32:46 olrtestserver sendmail[12595]: n0C82kn6012595: from=<root@localhost.localdomain>, size=361, class=0, nrcpts=1, msgid=<200901120802.n0C82kVa012594@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=olrtestserver [127.0.0.1]
Jan 12 13:32:46 olrtestserver sendmail[12594]: n0C82kVa012594: to=akhtar.bhat@esteltelecom.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60064, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n0C82kn6012595 Message accepted for delivery)
Jan 12 13:32:46 olrtestserver sendmail[12594]: n0C82kVa012594: n0C82kVb012594: DSN: User unknown
Jan 12 13:32:46 olrtestserver sendmail[12595]: n0C82kn8012595: from=<>, size=1963, class=0, nrcpts=1, msgid=<200901120802.n0C82kVb012594@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=olrtestserver [127.0.0.1]
Jan 12 13:32:46 olrtestserver sendmail[12594]: n0C82kVb012594: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31088, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n0C82kn8012595 Message accepted for delivery)
Jan 12 13:32:46 olrtestserver sendmail[12598]: n0C82kn8012595: to=<root@localhost.localdomain>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32174, dsn=2.0.0, stat=Sent
Jan 12 13:32:48 olrtestserver sendmail[12597]: STARTTLS=client, relay=mail.esteltelecom.com., version=TLSv1/SSLv3, verify=FAIL, cipher=AES256-SHA, bits=256/256
Jan 12 13:32:48 olrtestserver sendmail[12597]: n0C82kn6012595: to=<akhtar.bhat@esteltelecom.com>, ctladdr=<root@localhost.localdomain> (0/0), delay=00:00:02, xdelay=00:00:02, mailer=esmtp, pri=120361, relay=mail.esteltelecom.com. [202.131.144.134], dsn=5.1.1, stat=User unknown
Jan 12 13:32:48 olrtestserver sendmail[12597]: n0C82kn6012595: n0C82mn6012597: DSN: User unknown
Jan 12 13:32:48 olrtestserver sendmail[12597]: n0C82mn6012597: to=<root@localhost.localdomain>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31581, dsn=2.0.0, stat=Sent





J
Quote:
an 12 13:33:06 olrtestserver sendmail[12602]: n0C836nO012602: from=root, size=65, class=0, nrcpts=2, msgid=<200901120803.n0C836nO012602@localhost.localdomain>, relay=root@localhost
Jan 12 13:33:06 olrtestserver sendmail[12603]: n0C83679012603: <.@localhost.localdomain>... User unknown
Jan 12 13:33:06 olrtestserver sendmail[12602]: n0C836nO012602: to=., ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60065, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Jan 12 13:33:06 olrtestserver sendmail[12603]: n0C83679012603: from=<root@localhost.localdomain>, size=362, class=0, nrcpts=1, msgid=<200901120803.n0C836nO012602@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=olrtestserver [127.0.0.1]
Jan 12 13:33:06 olrtestserver sendmail[12602]: n0C836nO012602: to=akhtar.bhat@rechargeitnow.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60065, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n0C83679012603 Message accepted for delivery)
Jan 12 13:33:06 olrtestserver sendmail[12602]: n0C836nO012602: n0C836nP012602: DSN: User unknown
Jan 12 13:33:06 olrtestserver sendmail[12603]: n0C8367B012603: from=<>, size=1964, class=0, nrcpts=1, msgid=<200901120803.n0C836nP012602@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=olrtestserver [127.0.0.1]
Jan 12 13:33:06 olrtestserver sendmail[12602]: n0C836nP012602: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31089, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n0C8367B012603 Message accepted for delivery)
Jan 12 13:33:06 olrtestserver sendmail[12606]: n0C8367B012603: to=<root@localhost.localdomain>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32175, dsn=2.0.0, stat=Sent

Last edited by akhtar.bhat; 03-16-2009 at 10:18 AM..
# 2  
Old 01-12-2009
Hi Akhtar,

Can you post the configuration of /etc/mail/sendmail.mc, /etc/mail/access & /etc/mail/local-host-names so that it will be easy for us to find out the problem? I feel there is some problem with relay.

Thanks,
Narasimhulu
# 3  
Old 01-12-2009
ouioyuityuuy

Last edited by akhtar.bhat; 03-16-2009 at 10:19 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Expansion not working properly

I'm using an Ubuntu machine and expansion is not working properly. What would cause this? Do I need to check for any particular bash packages? $ ipcs -m | grep $USER | awk '{printf "%s ",$2}' $ ipcs -m | grep UNF | awk '{printf "%s ",$2}' 294912 1048577 425986 688131 786436 1245189... (14 Replies)
Discussion started by: cokedude
14 Replies

2. Shell Programming and Scripting

Join not working properly

I want to join two files , with file 1 col 3 and file 2 col 1 as key. The join command is erratic for some reason. File 2 is a master file having all the names, and file 1 has some values. I want to add the names from fil2 in file 1. If I use the original master file, some output is missing. ... (16 Replies)
Discussion started by: ritakadm
16 Replies

3. UNIX for Dummies Questions & Answers

~c is not working properly with -r option

Hi There, --------- file1 ------- ~c asd@ac.com -------------- Now i am using below command cat file1|mailx -s " testing" -r " My Name" abc@tech.com (3 Replies)
Discussion started by: Tapan Sharma
3 Replies

4. Linux

rexec not working properly

Hi, I am trying to enable rexec to automate certain tasks(it has to be rexec, not ssh or any other due to the system environment), so after switching to linux, I followed the certain instructions that were laid out in the web. My operating system is fedora 17, so I first installed the... (1 Reply)
Discussion started by: wringer
1 Replies

5. Shell Programming and Scripting

uuencode is not working properly

Hello Everyone, I'm very new to the shell script. I'm trying to send multiple attachments in unix using uuencode command. Total I have 3 text files which should be send in mail. but I'm getting 6 files and 3 files with subject as file name. And the content is ` end I'm working... (6 Replies)
Discussion started by: narikivar
6 Replies

6. Shell Programming and Scripting

mailx not working properly

I am using mailx command in my script to attach a file and send an email. I need to attach a csv file and send email to a mail id - I am using uuencode output.csv output.csv | mailx -s "test mail" xyz@abc.com This will send a mail with scrambled text in body. am i missing something ?... (4 Replies)
Discussion started by: Sriranga
4 Replies

7. Shell Programming and Scripting

\n not working properly

Hi all, I'm trying to generate a series of txt files starting from a plain csv file part of my code: #!/bin/ksh INSTALLDIR=/Users/ME/Installdir CSV=CSV.csv TMP=/tmp/$(basename $0).txt tr -s "\r" "\n" < /$INSTALLDIR/$CSV > $TMP function Makefiles { printf '%24s:%30s\n' "sometext"... (1 Reply)
Discussion started by: Jive Spector
1 Replies

8. HP-UX

FC card not working properly

Hi I've a problem with Hp-ux 11.11 9000/800/rp3440 system. Already the software for driver & its patch are loaded for HBA Fibrechannel card, but still the fibrechannel card is showing the status "Unclaimed" . What will be reason for this? How to get the status "Claimed" ? Pl. help me out.... (4 Replies)
Discussion started by: Mike1234
4 Replies

9. UNIX for Dummies Questions & Answers

Telnet is not working properly

telnet at my system is behaving stange. Some times I am able to telnet to other machines but sometimes it stop doing that. Then i have to reboot the machine and most of the time (not 100%) it works. SImilar is the case with SSH. Sometime it works , some time it don't. i am new to Unix and I do not... (1 Reply)
Discussion started by: deepak_pathania
1 Replies

10. Programming

y is this not working properly?

#include <stdio.h> #include <sys/types.h> #include <string.h> #include <sys/stat.h> #include <unistd.h> struct stat s; main() { char c; if (fork()==0) { system("clear"); do { printf("myAI\\>§ "); scanf("%s",c); if(stat(c,&s)>-1) {... (3 Replies)
Discussion started by: C|[anti-trust]
3 Replies
Login or Register to Ask a Question