Ubuntu, php and exim4
Posted by: Timothy in Linux, PHP, Sys Admin, tags: exim, exim4, php exim, ubuntuUbuntu 8.04 does not have sendmail installed by default. This was annoying when some of the php web apps that I created rely on sendmail to send out email notifications. But before going ahead and installing sendmail, I thought that I would try exim4. Installing on Ubuntu is very straight forward:
apt-get install exim4 exim4-config
After installation is complete, you must run:
dpkg-reconfigure exim4-config
This will allow you to configure the MTA. That is it, php will ‘just work’ because the installation also creates a symlink of sendmail to the exim binary.
If you do not run the above config command, you will see this in your exim/mainlog:
tim@*******.com R=nonlocal: Mailing to remote domains not supported


































Entries (RSS)