Thursday 19 February 2009

Sendmail changes and correct setup on Linux server

I'm doing some modifying of a PHP script which now needs to be able to send emails. The script (todolist.php) runs on the local Linux server, and is only used internally.

I ran 'sendmailconfig' on the Linux server, this suggested I altered /etc/mail/sendmail.mc. I used the public address of our local SMTP server (Mac Server). After entering this info sendmailconfig continued and reset sendmail.

Immediately emails from the queue started coming in! Pretty cool, and easy!

No comments: