Re: PHP mini_sendmail problems

2013-03-15 Thread Stuart Henderson
femail-chroot will already be installed; the PHP packages have it as a run dependency. On 2013-03-14, Richard Toohey richardtoo...@paradise.net.nz wrote: Also check out /usr/local/share/doc/pkg-readmes/femail-chroot-0.98p2 Yes this is important, it covers the 2 most common errors.

Re: PHP mini_sendmail problems

2013-03-15 Thread Benny Lofgren
On 2013-03-14 21:02, John Tate wrote: It seems to be a problem with drupal, I wrote my own php script that could send mail without issues. I have no idea how such a problem is possible unless drupal doesn't use php's mail() but I can't find anyone with similar problems. I didn't notice the

Re: PHP mini_sendmail problems

2013-03-15 Thread Stuart Henderson
On 2013-03-14, John Tate j...@johntate.org wrote: It seems to be a problem with drupal, I wrote my own php script that could send mail without issues. I have no idea how such a problem is possible unless drupal doesn't use php's mail() but I can't find anyone with similar problems. ah -

Re: PHP mini_sendmail problems

2013-03-14 Thread Alexey E. Suslikov
John Tate john at johntate.org writes: I've been trying to get PHP to be able to email from a chrooted apache server. Running without chroot is not an option. I can't find clear documentation on doing this, and the logs don't contain any errors I can find about the problem. you need femail

Re: PHP mini_sendmail problems

2013-03-14 Thread John Tate
Strange port, I did make and then make install but there was no output from make install, but it seems to run anyway, but I can't find it in whereis. # make clean === Cleaning for femail-0.98 # make === Verifying specs: c === found c.65.0 === Checking files for femail-0.98

Re: PHP mini_sendmail problems

2013-03-14 Thread Stefan Sperling
On Thu, Mar 14, 2013 at 06:51:54PM +, Alexey E. Suslikov wrote: John Tate john at johntate.org writes: I've been trying to get PHP to be able to email from a chrooted apache server. Running without chroot is not an option. I can't find clear documentation on doing this, and the

Re: PHP mini_sendmail problems

2013-03-14 Thread Alexey Suslikov
On Thu, Mar 14, 2013 at 9:12 PM, Stefan Sperling s...@openbsd.org wrote: On Thu, Mar 14, 2013 at 06:51:54PM +, Alexey E. Suslikov wrote: John Tate john at johntate.org writes: I've been trying to get PHP to be able to email from a chrooted apache server. Running without chroot is not

Re: PHP mini_sendmail problems

2013-03-14 Thread John Tate
I installed femail-chroot and put /usr/libexec/ld.so in /var/www/usr/libexec/ld.so and updated /etc/php-5.2.ini but it still doesn't work. On Fri, Mar 15, 2013 at 6:14 AM, Alexey Suslikov alexey.susli...@gmail.comwrote: On Thu, Mar 14, 2013 at 9:12 PM, Stefan Sperling s...@openbsd.org wrote:

Re: PHP mini_sendmail problems

2013-03-14 Thread John Tate
From the end of error_log: femail: no recipients On Fri, Mar 15, 2013 at 6:31 AM, John Tate j...@johntate.org wrote: I installed femail-chroot and put /usr/libexec/ld.so in /var/www/usr/libexec/ld.so and updated /etc/php-5.2.ini but it still doesn't work. On Fri, Mar 15, 2013 at 6:14 AM,

Re: PHP mini_sendmail problems

2013-03-14 Thread Alexey Suslikov
On Thu, Mar 14, 2013 at 9:35 PM, John Tate j...@johntate.org wrote: From the end of error_log: femail: no recipients femail commandline switches aren't 100% sendmail- compatible. check php.ini on how you pass recipients to femail.

Re: PHP mini_sendmail problems

2013-03-14 Thread Pascal Stumpf
On Thu, 14 Mar 2013 20:12:52 +0100, Stefan Sperling wrote: On Thu, Mar 14, 2013 at 06:51:54PM +, Alexey E. Suslikov wrote: John Tate john at johntate.org writes: I've been trying to get PHP to be able to email from a chrooted apache server. Running without chroot is not an

Re: PHP mini_sendmail problems

2013-03-14 Thread John Tate
It seems to be a problem with drupal, I wrote my own php script that could send mail without issues. I have no idea how such a problem is possible unless drupal doesn't use php's mail() but I can't find anyone with similar problems. I didn't notice the log entries because they don't have a

Re: PHP mini_sendmail problems

2013-03-14 Thread Richard Toohey
On 03/15/13 08:41, Alexey Suslikov wrote: On Thu, Mar 14, 2013 at 9:35 PM, John Tate j...@johntate.org wrote: From the end of error_log: femail: no recipients femail commandline switches aren't 100% sendmail- compatible. check php.ini on how you pass recipients to femail. Also check out