Re: [Exim] trusted_users apache and php_admin_value sendmail…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jez Hancock
Dátum:  
Címzett: Eli
CC: exim-users
Tárgy: Re: [Exim] trusted_users apache and php_admin_value sendmail_from
On Thu, Jan 15, 2004 at 11:02:27AM -0500, Eli wrote:
> >I do not do php, but the above setting of sendmail_path will probably
> >not execute /usr/local/sbin/exim with the two arguments -f and
> >webmaster@??? but will try to execute the nonexisting
> >command
> >"/usr/local/sbin/exim<SPACE>-f<SPACE>webmaster@???".
>
> Nope - spaces are allowed and work fine in the sendmail_path paramater. It
> doesn't execute the string as a program, but as the string itself - passing
> the whole thing to exec() or whatever it is, so it's all good.
>
> My sendmail_path setting includes -t and -i options which I believe are
> required for it to send email properly. Maybe that's your problem? The -t
> option is what is important:

<snip>
Eli that's worked a treat, thanks! I don't know why I didn't try that
since the only example in the default php.ini-dist file includes the '-t
-i' options, doh. Perhaps I tried it before I'd had my coffee this
morning :P

Many thanks for that!

Thanks for the suggestions Andreas as well :P

--
Jez Hancock
- System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - personal weblog
http://ipfwstats.sf.net/        - ipfw peruser traffic logging