The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Different Sender Address paulds UNIX for Dummies Questions & Answers 1 07-01-2008 03:29 PM
Change sender e-mail address cchiang12 AIX 3 11-18-2006 03:18 PM
Mail Sender rkapfer UNIX for Advanced & Expert Users 0 07-26-2005 06:16 PM
mail without sender's id! sskb UNIX for Dummies Questions & Answers 3 09-12-2001 01:18 PM
mailx sender address customisation vasan_srini UNIX for Dummies Questions & Answers 1 09-10-2001 09:40 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-14-2008
pobman pobman is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 31
Cannot send mail to root@localhost but can externally

hello,

I need to configure our AIX 5.3 to relay mail to exchange.

I have got this working with no issues yet, I can not send mail to root@localhost.

# uname -a
AIX Blade1 3 5 0000E6DAD400
# oslevel -s
5300-07-01-0748

Code:
# mailq
                /var/spool/mqueue (2 requests)
----Q-ID---- --Size-- -----Q-Time----- ------------Sender/Recipient------------
mBEM6C4G770094        5 Mon Dec 15 11:06 root
                                         root
mBELqpnv978960        5 Mon Dec 15 10:52 root
                                         root
                Total requests: 2
Code:
# sendmail -bi
Warning: .cf file is out of date: sendmail AIX5.3/8.13.4 supports version 10, .cf file is version 9
/etc/mail/aliases: 3 aliases, longest 9 bytes, 46 bytes total
Code:
# echo "test" |sendmail -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
The .cf file is the original one and has only had the Dwechangeserver added
I have found some mentions saying the sendmail version needs to upgraded to a newer version, this is not something I can do on this server.

I can post lots of config if needed.

Can someone tell me what I need to do to get this working. Or send me a working config?
  #2 (permalink)  
Old 12-14-2008
frank_rizzo frank_rizzo is offline Forum Advisor  
Resident BOFH
  
 

Join Date: Dec 2007
Posts: 426
what does the log show? Is localhost defined in /etc/hosts?

Code:
tail -50 /var/adm/ras/mail.log
  #3 (permalink)  
Old 12-14-2008
pobman pobman is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 31
# tail -50 /var/adm/ras/mail.log
/var/adm/ras/mail.log: A file or directory in the path name does not exist.

mail.log does not exist.
I have

BosMenus.log bosinstlog config.diff.266396 errtmplt platform vgbackuplog
SRCKeyID cfglog conslog image.data swma.response
bootlog codepoint.cat devinst.log lvmcfg.log trc_ct
bosinst.data config.diff errlog mtrcdir trcfile
  #4 (permalink)  
Old 12-14-2008
frank_rizzo frank_rizzo is offline Forum Advisor  
Resident BOFH
  
 

Join Date: Dec 2007
Posts: 426
what is the output of this command


Code:
mailx -v root@localhost </dev/null
  #5 (permalink)  
Old 12-14-2008
pobman pobman is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 31
# mailx -v root@localhost </dev/null
No message, no subject; hope that's ok
root@localhost... Connecting to local...
/dead.letter... Saved message in /dead.letter

From root Mon Dec 15 16:02:24 2008
Return-Path: <root>
Received: (from root@localhost)
by Blade2.amsco.co.nz (AIX5.3/8.13.4/8.13.4) id mBF32OQM1421362
for root@localhost; Mon, 15 Dec 2008 16:02:24 +1300
Date: Mon, 15 Dec 2008 16:02:24 +1300
From: root
Message-Id: <200812150302.mBF32OQM1421362@Blade2.amsco.co.nz>
To: root@Blade2.amsco.co.nz
  #6 (permalink)  
Old 12-14-2008
frank_rizzo frank_rizzo is offline Forum Advisor  
Resident BOFH
  
 

Join Date: Dec 2007
Posts: 426
does it work if you omit the @localhost?

what is the output of the below comands?

Code:
grep localhost /etc/hosts
ps -ef|grep sendmail
  #7 (permalink)  
Old 12-14-2008
pobman pobman is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 31
I sould mention I am infact working on 2 servers both the same os and setup. Mail does not work to root@localhost on both of them.

# sendmail -bv root
root... deliverable: mailer local, user root
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:40 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0