Ubuntu 10.04 + PHP 5.3 + XMail

Posted June 28, 2010

If you install XMail on your Ubuntu 10.04 server, you will find that PHP won't be able to send mail out. You will repeatedly an error similar to this:

/var/lib/xmail/spool/temp/1277773767000.23491.p2198888.pubip.serverbeach.com: Permission denied

Don't bother with file permissions - they don't work. The way to get this working is to add "www-data" to the "mail" group thus:

usermod -a -G mail www-data

Comments

There are no comments for this post.

No comments found

Add comment

Visit my Friends and Family

If you've enjoyed my site, please take a moment to visit my friends and family, many of whom have some interesting insights, and entertaining thoughts and ideas.