Cannot send mail to root@localhost but can externally


 
Thread Tools Search this Thread
Operating Systems AIX Cannot send mail to root@localhost but can externally
# 8  
Old 12-14-2008
# sendmail -bv root
root... deliverable: mailer local, user root
# grep localhost /etc/hosts
127.0.0.1 loopback localhost # loopback (lo0) name/address
# ps -ef|grep sendmail
root 1228870 98376 0 14:49:14 - 0:00 sendmail: accepting connections
# 9  
Old 12-14-2008
Also for your information

# lssrc -s sendmail
Subsystem Group PID Status
sendmail mail 1228870 active
# 10  
Old 12-14-2008
# \grep localhost /etc/hosts
127.0.0.1 loopback localhost # loopback (lo0) name/address
# ps -ef|grep sendmail
root 1228870 98376 0 14:49:14 - 0:00 sendmail: accepting connections
root 1388616 733404 0 16:22:16 pts/0 0:00 grep sendmail
# 11  
Old 12-14-2008
can you enable mail logging in /etc/syslog.conf ? This would provide additional information.

Please post the contents of the /dead.letter file?
# 12  
Old 12-14-2008
Code:
# cat /dead.letter
From root Mon Dec 15 16:32:32 2008
Return-Path: <root>
Received: (from root@localhost)
        by Blade2.amsco.co.nz (AIX5.3/8.13.4/8.11.0) id mBF3WW2r1265812
        for root@localhost; Mon, 15 Dec 2008 16:32:32 +1300
Date: Mon, 15 Dec 2008 16:32:32 +1300
From: root
Message-Id: <200812150332.mBF3WW2r1265812@Blade2.amsco.co.nz>
To: root@Blade2.amsco.co.nz

I have turned on syslogd but no log file as of yet.
# 13  
Old 12-14-2008
# echo "test" |mail -v root@localhost
Warning: .cf file is out of date: sendmail AIX5.3/8.13.4 supports version 10, .cf file is version 9
root@localhost... Connecting to local...
/dead.letter... Saved message in /dead.letter

# cat /dead.letter
From root Mon Dec 15 16:32:32 2008
Return-Path: <root>
Received: (from root@localhost)
by Blade2.amsco.co.nz (AIX5.3/8.13.4/8.11.0) id mBF3WW2r1265812
for root@localhost; Mon, 15 Dec 2008 16:32:32 +1300
Date: Mon, 15 Dec 2008 16:32:32 +1300
From: root
Message-Id: <200812150332.mBF3WW2r1265812@Blade2.amsco.co.nz>
To: root@Blade2.amsco.co.nz


From root Mon Dec 15 16:36:46 2008
Return-Path: <root>
Received: (from root@localhost)
by Blade2.amsco.co.nz (AIX5.3/8.13.4/8.11.0) id mBF3akXl1421448
for root@localhost; Mon, 15 Dec 2008 16:36:46 +1300
Date: Mon, 15 Dec 2008 16:36:46 +1300
From: root
Message-Id: <200812150336.mBF3akXl1421448@Blade2.amsco.co.nz>
To: root@Blade2.amsco.co.nz

test
# 14  
Old 12-14-2008
Quote:
Originally Posted by pobman
I have turned on syslogd but no log file as of yet.
you need to create the file that you specified for mail.*, then refresh -s syslogd
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Client was not authenticated to send anonymous mail during MAIL FROM (in reply to MAIL FROM comm

I am having trouble getting mail to work on a red hat server. At first I was getting this message. Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies

2. Ubuntu

Not able to send mail out of UbuntuBox in send mail

Hi Guys.. yesterday i purchased a VPS server and installed sendmail on ubuntu 12.4 with Webmin & Apache runing webserver problem is.. i can send mail via webmin user interface account to anybody to out side to any domain and able to recieve any mail from any domain.. Now main... (2 Replies)
Discussion started by: cmdman
2 Replies

3. Shell Programming and Scripting

How to send mail using PHP mail function On apache server.?

Hello, I am using centos-6.2 I have apache server,php5 on my system and I want to send mail using sendmail on my system. when I try to send mail from shell that time mail is succesfully sent to respective address() but when I try to send it through webbrowser I am not able to send it.... (1 Reply)
Discussion started by: Kiran ursal
1 Replies

4. UNIX for Advanced & Expert Users

How can I send a mail from my outlook or other mail accounts to UNIX server?

Hi all, I want to send a mail for my business needs from outlook account to an unix server (HP-UX) but I don't send any mail. While I can send from the unix server to my outlook account, I can't send from outlook to unix. How can I achieve this ? How can I send a mail from my outlook or other... (2 Replies)
Discussion started by: igelegin
2 Replies

5. Shell Programming and Scripting

I have a requirement to check whose accounts are expired in Linux machine and send a mail to root

I have a requirement to check whose accounts are expired in Linux machine and send a mail to root user about the accounts. How can i achieve this in Linux? (1 Reply)
Discussion started by: mnmonu
1 Replies

6. UNIX for Advanced & Expert Users

need to configure mail setting to send mail to outlook mail server

i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail. actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies

7. UNIX for Dummies Questions & Answers

How to send html file in a mail not as an attachment but it should display in the mail in table for

Hi The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment . cat Employee.sql SET VERIFY OFF SET PAGESIZE 200 SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON - HEAD... (0 Replies)
Discussion started by: mani_isha
0 Replies

8. UNIX for Dummies Questions & Answers

localhost [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA

hardware = raq550 running on strongbolt2. my sendmail log is littered with this entry all through the day: localhost did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA it occurrs every 15 minutes. I don't have any problem sending or receiving mail. I did a search on google but couldn't... (0 Replies)
Discussion started by: tonj
0 Replies

9. AIX

Mail bounced back externally - internally ok.

I am unable to send mail externally. It gets refused from any mail server. Here's my current config: oslevel -s 5300-07-05-0831 ******** mail -v foo@yahoo.com < /tmp/oracle.out Warning: .cf file is out of date: sendmail AIX5.3/8.13.4 supports version 10, .cf file is version 9... (3 Replies)
Discussion started by: gravy26
3 Replies

10. UNIX for Dummies Questions & Answers

can not send mail from unix server to company/yahoo mail

hi, Gurus, I need some help with sending mail out from my UNIX server: It is running Solaris 2.6 and the sendmail version is 8.8. Output of :/usr/lib/sendmail -d0.1 -bt < /dev/null Version 8.8.8+Sun Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET ... (5 Replies)
Discussion started by: b5fnpct
5 Replies
Login or Register to Ask a Question