|
Posted by Toby A Inkster on 10/18/42 12:00
B wrote:
> I'm a little confused how to setup the smtp mail servers in the php.ini
> file (this is where I set it up right?)
On non-Windows servers, PHP does not send mail through SMTP -- it uses the
sendmail binary.
This means you need to install the "sendmail" package, or any other mail
transfer agent that is sendmail-compatible. Indeed, sendmail is pretty
hard to configure and can very easily create big security headaches for
you, so I'd recommend use a compatible MTA instead.
I use Postfix, but that's because I need to receive mail too. If you are
sure that this server only needs to send mail, then Nullmailer might be a
better choice.
http://www.postfix.org/
http://untroubled.org/nullmailer/
I don't use Ubuntu, but I'd be willing to bet that it includes a Postfix
package, and probably a Nullmailer one too.
--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.17.14-mm-desktop-9mdvsmp, up 16 days, 47 min.]
GPS & Cameras
http://tobyinkster.co.uk/blog/2008/01/14/gps-cameras/
Navigation:
[Reply to this message]
|