PHP mail() function + postFix + OpenBSD

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <misc@...>
Date: Tuesday, April 24, 2007 - 5:00 am

Hi World,

I've got some questions concerning the using of the mail() php function 
under OpenBSD using Postfix as MTA.
Note that I only want to use my OpenBSD Postfix Server as a mail sender 
for fogotten password of my web site ^^

First, the "mail" shell command works very well. I receive test mails 
from root@myserver.com (using root login) towards 
me@anywherebutmyserverevenvirtual.com
Second, the PHP cli (you know under shell) on a php script containing 
the mail() php function works very well too (always under root login)

BUT, when i browsing (via FireFox or IE) and I clik on my button "send 
my password", nothing happen !! It's like the www users can't use the 
/usr/sbin/sendmail...

Note that the script behind the html button is excatly the same I use 
with the php line command and that nothing appears in /var/log/messages 
or Maillog

Here is versions used:
OPENBSD 3.9
postfix-2.2.8p1 (installed via ports of ftp://bsd)
php-4.0

Here is the Postfix conf:
Stricto "the Postfix instead of Sendmail" tutorial that we can find on 
postfix.org, without virtual parameters (not needed here).

Thanks for your reading and your help (since 4 days I'm searching a 
solutions...),

GrEg
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
PHP mail() function + postFix + OpenBSD, Gregory ESNAUD-FREE, (Tue Apr 24, 5:00 am)
Re: PHP mail() function + postFix + OpenBSD, L. V. Lammert, (Tue Apr 24, 9:35 am)
Re: PHP mail() function + postFix + OpenBSD, Gregory ESNAUD-FREE, (Tue Apr 24, 10:25 am)
Re: PHP mail() function + postFix + OpenBSD, James Turner, (Tue Apr 24, 10:37 am)
Re: PHP mail() function + postFix + OpenBSD, Mike Erdely, (Tue Apr 24, 11:02 am)
Re: [SOLVED] PHP mail() function + postFix + OpenBSD, Gregory ESNAUD-FREE, (Tue Apr 24, 11:00 am)
Re: PHP mail() function + postFix + OpenBSD, L. V. Lammert, (Tue Apr 24, 10:25 am)
Re: PHP mail() function + postFix + OpenBSD, Daniel Horecki, (Tue Apr 24, 5:03 am)
Re: PHP mail() function + postFix + OpenBSD, Stuart Henderson, (Tue Apr 24, 5:31 am)
Re: PHP mail() function + postFix + OpenBSD, Gregory ESNAUD-FREE, (Tue Apr 24, 5:50 am)
Re: PHP mail() function + postFix + OpenBSD, Benoit Myard, (Tue Apr 24, 5:54 am)
Re: PHP mail() function + postFix + OpenBSD, Stuart Henderson, (Tue Apr 24, 7:05 am)
Re: PHP mail() function + postFix + OpenBSD, Joachim Schipper, (Tue Apr 24, 5:17 am)