Showing posts with label email. Show all posts
Showing posts with label email. Show all posts

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!

Monday, 26 January 2009

Mac OS X Webmail

Re-enabled a webmail account on the OS X server, not all worked.

It is apparently very important that you set a user name and an email address in the 'options' section for the users email account. I you do not do this the name will be "SERVER_NAME" and the email address will be @getenv.example.com instead of @example.com (or whatever).