The UNIX Forums  

Go Back   The UNIX Forums > OS Specific Forums > AIX
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


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


Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to know whether I am able to send email from unix server or not? siba.s.nayak UNIX for Advanced & Expert Users 0 09-12-2007 12:11 AM
how to send mail from server to client's email-id parmeet UNIX for Dummies Questions & Answers 8 01-19-2007 01:43 AM
Send email where # is in the email address - Using Unix jingi1234 UNIX for Dummies Questions & Answers 1 05-23-2005 08:23 AM
Unable to send eMail from a UNIX-Host ( using mailx ) to a Outlook-email-addres(Win) Vetrivela UNIX for Advanced & Expert Users 2 02-15-2005 06:43 AM
Send email to another server on AIX owls UNIX for Dummies Questions & Answers 1 09-17-2001 09:02 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-05-2008
Registered User
 

Join Date: Mar 2007
Posts: 10
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
how to configure server to send email in AIX

Hi,

anyone can guide me how to configure server to send email in AIX.
My server is in a closed network, what do I need to configure and how?
SMTP gateway? mail server?

Thanks and best regards
Solomon
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-06-2008
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 913
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
You have to configure "sendmail". This is done by editing the file "/etc/sendmail.cf".

I hope this helps.

bakunin
Reply With Quote
  #3 (permalink)  
Old 05-06-2008
Registered User
 

Join Date: Mar 2008
Posts: 26
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Try this before modifying the sendmail.cf

echo test | mail -v username@someplace.tld
Reply With Quote
  #4 (permalink)  
Old 05-06-2008
Registered User
 

Join Date: Mar 2007
Posts: 10
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
This is the message I got:

# echo test | mail -v username@someplace.tld
Warning: .cf file is out of date: sendmail AIX5.3/8.13.4 supports version 10, .c
f file is version 9
WARNING: local host name (XXXXXXXXX) is not qualified; see cf/README: WHO
AM I?
/dead.letter... Saved message in /dead.letter
Reply With Quote
  #5 (permalink)  
Old 05-07-2008
Registered User
 

Join Date: May 2008
Posts: 9
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Quote:
Originally Posted by chongkls77 View Post
This is the message I got:

# echo test | mail -v username@someplace.tld
Warning: .cf file is out of date: sendmail AIX5.3/8.13.4 supports version 10, .c
f file is version 9
WARNING: local host name (XXXXXXXXX) is not qualified; see cf/README: WHO
AM I?
/dead.letter... Saved message in /dead.letter
Hi,

You must configure sendmail. In the configuration file /etc/sendmail.cf, the line with DS must be modified and you must specified your mail server.
You can add this server in the file /etc/host.

After the modification of your sendmail configuration, you restart the service :
# refresh -s sendmail
or
# stopsrc -s sendmail
# startsrc -s sendmail -a "-bd"

To have a complete solution for debug, you can add this line in /etc/syslog.conf :
mail.debug /var/log/mail/maillog rotate size 200k files 4

And :
# refresh -s syslogd
Reply With Quote
Google UNIX.COM
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB 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 -7. The time now is 11:08 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
UNIX Forum Content Copyright ©1993-2008 SilkRoad Asia All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102