how to configure server to send email in AIX | Unix Linux Forums | AIX

  Go Back    


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

how to configure server to send email in AIX

AIX


Tags
aix, unix

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 05-06-2008
chongkls77 chongkls77 is offline
Registered User
 
Join Date: Mar 2007
Last Activity: 6 May 2008, 9:10 PM EDT
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
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
Sponsored Links
    #2  
Old 05-06-2008
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
 
Join Date: May 2005
Last Activity: 24 April 2014, 6:36 AM EDT
Location: In the leftmost byte of /dev/kmem
Posts: 3,927
Thanks: 39
Thanked 677 Times in 538 Posts
You have to configure "sendmail". This is done by editing the file "/etc/sendmail.cf".

I hope this helps.

bakunin
Sponsored Links
    #3  
Old 05-06-2008
prichard prichard is offline
Registered User
 
Join Date: Mar 2008
Last Activity: 30 June 2010, 4:51 PM EDT
Posts: 32
Thanks: 1
Thanked 0 Times in 0 Posts
Try this before modifying the sendmail.cf

echo test | mail -v username@someplace.tld
    #4  
Old 05-06-2008
chongkls77 chongkls77 is offline
Registered User
 
Join Date: Mar 2007
Last Activity: 6 May 2008, 9:10 PM EDT
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
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
Sponsored Links
    #5  
Old 05-07-2008
tagger tagger is offline
Registered User
 
Join Date: May 2008
Last Activity: 15 January 2009, 3:11 AM EST
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
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
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Can't configure sendmail to send mails to external SMTP Server nypreH UNIX for Dummies Questions & Answers 5 12-21-2010 10:46 AM
Send email from sendmail on AIX using exchange server as SMTP server ahmed_salah Shell Programming and Scripting 0 12-09-2010 10:44 AM
Send an email from Solaris using Linux email server aflores Solaris 1 02-09-2010 11:57 PM
How do I configure Linux server to be able to send emails internally? wbdevilliers UNIX for Dummies Questions & Answers 5 01-05-2010 12:04 PM
Server unable to send mail-how to configure Qwerty123 Solaris 6 02-08-2009 10:32 PM



All times are GMT -4. The time now is 07:28 AM.