[ubuntu-uk] Email for LAMP setup

ian pettitt (RRes-BB) ian.pettitt at bbsrc.ac.uk
Tue Jun 22 01:33:11 BST 2010


On 22 Jun 2010, at 00:19, "Jonathon Fernyhough" <j.fernyhough at gmail.com<mailto:j.fernyhough at gmail.com>> wrote:


It should be (fairly easily) possible to configure PHP to send via an existing SMTP server, so you don't have to worry about setting up a full MTA.

Otherwise Postfix does a pretty good job, IIRC.

Jonathon

(apologies for TP, via Android Gmail)

On 21 Jun 2010 22:47, "Chris Rowson" <<mailto:christopherrowson at gmail.com>christopherrowson at gmail.com<mailto:christopherrowson at gmail.com>> wrote:

Hi folks,

Just wondering what mail agent you're using on your LAMP setups? I've
been revisiting the subject while setting up a new Lucid server and
have been a little surprised that there's not much info out there
about setting up a simple SMTP server that doesn't receive email but
just sends it when PHP tries to use sendmail to send email.

Chris

--
<mailto:ubuntu-uk at lists.ubuntu.com>ubuntu-uk at lists.ubuntu.com<mailto:ubuntu-uk at lists.ubuntu.com>
<https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk>https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
<https://wiki.ubuntu.com/UKTeam/>https://wiki.ubuntu.com/UKTeam/

<ATT00001..txt>

I use postfix configured as a satellite system, so all mail is handled by another machine - my companies mail server.

The setup is pretty straight forward, install and configure postfix and forward all mail from root etc through the this. Php mail will then work using this default system.  I have a complete setup notes, but they are at work and I can't get them until weds, if you can wait until then I can email them to you.

Some of the php smtp settings are applicable to windows only, so check the php manual to save time trying to set things in php.ini that won't work on ubuntu - something I have done in the past.

Ian


More information about the ubuntu-uk mailing list