Go to the FreeLists Home Page Home Signup Help Login
 



[dokuwiki] || [Date Prev] [06-2007 Date Index] [Date Next] || [Thread Prev] [06-2007 Thread Index] [Thread Next]

[dokuwiki] Re: Dokuwiki on OpenBSD

  • From: Samuel Penn <sam@xxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sun, 10 Jun 2007 18:30:20 +0100
On Sunday 10 June 2007 17:13, Guy Brand wrote:
> On 10 June at 16:44, Samuel Penn wrote:
> > Hi,
>
>   Hello,
>
> > I've been running DokuWiki on OpenBSD for a while now, and it's
> > great. However, one thing that I've never managed to get working
> > is the emailing of passwords.
>
>   Maybe you configurer SquirrelMail to use an SMTP server. For your
>   wiki, the mail are sent using php's mail() function which (on Unix)
>   calls sendmail, and you probably don't have it in your chroot env.
>   You should use mini_sendmail which is available from the packages
>   or ports.

Okay, thanks. I've installed mini_sendmail, and it still fails.
However, the lack of any errors from PHP is making this very hard
to track down.

Is there a way of finding out exactly why the mail() call is failing?
I've created my own fake sendmail binary which merely outputs to a
file if its called, and it doesn't run when mail() is called.
Which suggests a PHP configuration problem, though PHP.ini has been
modified to point to this binary (plus PHP should find it in /usr/bin
as well, even from within the chroot).

-- 
Be seeing you,                         http://www.glendale.org.uk
Sam.                        Mail/IM (Jabber): sam@xxxxxxxxxxxxxxx 
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.