does my colo need sendmail?

Web hosting discussion, programming, and shared and dedicated servers.
2 posts Page 1 of 1
by pschlosser » Thu Apr 02, 2015 4:12 pm
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.

Code: Select all

$ yum list installed | grep sendmail
$
produces no output, but

Code: Select all

$ which sendmail
/usr/sbin/sendmail
$
emailing directly offsite seems to work just fine:

Code: Select all

sendmail -v [email protected] < test.mail
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:
  • 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
by pschlosser » Fri Apr 03, 2015 9:20 am
I've identified my rookie maneuver.

The Postfix version of sendmail is already installed.
Some of the configuration file locations are different than the older legacy version of sendmail.
Adding postfix to my google queries gave me what I need.

This matter is closed, as far as I'm concerned.
2 posts Page 1 of 1