Hi Experts
I want to use mail command for Nagios to send Nagios notification.
How and where do I configure the SMTP server. I tried to put set smtp=mysmtpserver in mail.rc file. but it does not work.
Can I put my account password to mail.rc too? What's the syntax?
Is there a log file for mail command? I checked the Man Mail it does not provide help for config SMTP.
Thanks in advance.
Laurence :-)
How to config external SMTP for mail command
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
How to config external SMTP for mail command
Please do not double post.
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=35499&forum=38
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=35499&forum=38
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: How to config external SMTP for mail command
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.
Please see the Wiki [url=http://wiki.centos.org/HowTos/postfix]postfix[/url] articles.
Please see the Wiki [url=http://wiki.centos.org/HowTos/postfix]postfix[/url] articles.