应用php的mail函数
发表于 : 2011-05-29 5:02
原文链接:http://www.bamweb.nl/index.php?option=c ... 6&Itemid=1
PHP mail function in OpenBSD I finally found out how to get some email functions working in Joomla. If you configure Joomla to use the SMTP server it works perfectly for updates in conjunction with Community Builder for example. But there are some components which uses the PHP mail function.
The downside of the PHP mail function with OpenBSD is, it wants to use sendmail. This is ofcourse a NO GO in a chrooted environment.
So the solution. Install the following package and execute the copy command.
pkg_add -v mini_sendmail-chroot
cp -p /var/www/bin/mini_sendmail /var/www/usr/sbin/sendmail
After this it works like a charm!!!