[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: phpBB and qmail
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: phpBB and qmail
- From: "openbsd64_(_at_)_rbentley_(_dot_)_com" <openbsd64_(_at_)_rbentley_(_dot_)_com>
- Date: Tue, 08 Feb 2005 13:11:41 +0000
> i set up qmail on openbsd and installed phpBB,
> now my phpBB can't send mails because it is chrooted in /var/www and
> cannot access sendmail bin.
> there is an option to use smtp to send mail, but i use smtp auth and
> phpBB has some problems with authorization on my box.
I had exactly the same problem some time ago. I need some php (not phpBB) running on apache to send soem email (using qmail) while running chrooted.
I ended up writing a little proxy to glue it together. Basically, the php writes the email to a file within its chroot, then signals the proxy (using a pipe, also within the chroot) to send it. The proxy grabs the mail and then invokes sendmail (which is linked to qmail, of course, so it will work even if you are not using qmail). It's a bit crude, but works very reliably.
If you are interested, let me know and I'll send you the code.
Visit your host, monkey.org