Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I send email from AIX

Status
Not open for further replies.

Tison

Programmer
May 12, 1999
216
0
0
CH
Can anyone tell me how I send an email from AIX to an external address ?
What do I need to setup ?
 
0) configure mail-relay
should accept request from your UNIX

1) configure sendmailon the UNIX BOX
vi /etc/sendmail.cf
DSsmtp:yourmailrelay.yourdomain.com

3)stop/start sendmail

4)send a mail
/usr/bin/mail -s "TITLE form `hostname`" my.mail@compagny.com < /etc/hosts


 
Correct me if I am wrong on this, but sendmail and mail are two different things. You can test this by stopping sendmail (option 3 above) and exicuiting the mail command (option 4 above). If there is not a need to have sendmail turned on it should be let off since it actually allows access to your server. Mail's purpose is to send mail from the server to another address. Sendmail's purpose is actually for the server to receive mail.

-B :cool:
 
Yes and no.

Sendmail daemon is not strictly needed, but many admins find that running it without the "-bd" option and with a variation of the "-q5m" option is still absolutely needed to queue and resend messages when/if their relay server goes down.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top