Webmaster Forum

Go Back   Webmaster Forum > Web Development > Web Hosting Forum > Dedicated Servers

Dedicated Servers Dedicated server help.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 03-15-2004, 08:39 PM
cltwebs's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 10-15-03
Location: Charlotte, NC
Posts: 383
iTrader: 0 / 0%
Qmail question... configuring php.ini

Don't know if anyone can help me out or not or if this is even in the correct topic area?

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 = me@localhost.com

; 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.
 
Reply With Quote

Advertisement

Advertisement

  #2 (permalink)  
Old 04-06-2004, 05:00 PM
Junior Member
 
Join Date: 03-07-04
Location: San Francisco, CA
Posts: 28
iTrader: 0 / 0%
Even if the PHP script specifies the path to sendmail,
it does not matter, since qmail has sendmail binary support.
So having sendmail is not required to make the script work.

You simply link the sendmail binary with the qmail-version of
the sendmail binary with the command:

ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail

After that, any call references to /usr/sbin/sendmail
will be handled by qmail's sendmail emulator.
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Hosting Forum > Dedicated Servers

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring SMTP on Win 2K3 Ad Server R2 FGTH Web Hosting Forum 9 04-29-2008 06:25 AM
Plesk Linux server with qmail istanbul Dedicated Servers 1 09-25-2006 04:17 AM
qmail does not send e-mail keko Dedicated Servers 1 06-23-2006 01:09 AM
Configuring php nuke through myadmin Jonathan Web Design Lobby 0 09-24-2004 01:09 PM
Configuring server to respong and deal with domain names matt260384 Dedicated Servers 7 11-10-2003 03:40 PM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 10:56 AM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2014 Escalate Media




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.