Qmail question... configuring php.ini
Don't know if anyone can help me out or not?
I have a server that is using qmail on a Redhat 9 box for a while now and everything works great.
I don't have sendmail installed on my box at all.
My issue is when I try to use the php mail fuction it does not work.
I looked into my php.ini and I noticed a section for mail
Quote: [mail function]
; For Win32 only.
SMTP = localhost; For Win32 only.
sendmail_from = [email protected]; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = /usr/sbin/sendmail -t -i
So it looks as if my php.ini is still setup to use sendmail....
What is the proper synatax to use qmail?
I have tested my scripts on a server using sendmail and they work fine looks as if there is just a configuration issue with php.ini which I just don't know proper syantax to fix.
Thanks in advance.
James...
James
s0da posted this at 10:58 — 16th March 2004.
He has: 157 posts
Joined: Mar 2004
Links:
http://www.php.net/mail
http://www.qmail.org/
http://www.zend.com/manual/ref.mail.php
mairving posted this at 13:04 — 16th March 2004.
They have: 2,256 posts
Joined: Feb 2001
Usually qmail would create a symlink at /usr/sbin/sendmail that goes to one of the two var locations that s0da listed above. RH has a tendency to install sendmail by default even if you tell it not to. Setting it to to proper var path should get it to work.
Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.