Do I need to install sendmail on my new colo leased server at Sonic's NOC to send email?
During the process of installing our tools and software on this new colo server, I ran into some difficulty sending email notifications and reports from my scripts. As I investigated further, yum isn't reporting sendmail is even installed, yet the which command seems to find it.
produces no output, but
emailing directly offsite seems to work just fine:
but the aliases in /etc/aliases doesn't appear to forward email offsite.
Before I dig any further, I want to ask if its even necessary to install sendmail?
My emailing needs may be minimal, but I hope to do the following:
During the process of installing our tools and software on this new colo server, I ran into some difficulty sending email notifications and reports from my scripts. As I investigated further, yum isn't reporting sendmail is even installed, yet the which command seems to find it.
Code: Select all
$ yum list installed | grep sendmail
$
Code: Select all
$ which sendmail
/usr/sbin/sendmail
$
Code: Select all
sendmail -v [email protected] < test.mail
Before I dig any further, I want to ask if its even necessary to install sendmail?
My emailing needs may be minimal, but I hope to do the following:
- forward all mail sent to user root to an offsite distribution list
- send email reports from Perl using the sendmail command line tool
- send email from PHP scripts using the native mail() function
- allow CRON to send script output content as customary