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

You have to configure "sendmail". This is done by editing the file "/etc/sendmail.cf".

I hope this helps.

bakunin

Try this before modifying the sendmail.cf

echo test | mail -v username@someplace.tld

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