Webmaster Forum

Sponsored Reviews   High Bandwidth Dedicated Servers   V7N Directory
Go Back   Webmaster Forum > Web Development > Web Hosting Forum > Dedicated Servers
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Dedicated Servers Dedicated server help.

Reply
 
LinkBack Thread Tools Display Modes
Old 03-15-2004, 08:39 PM   #1 (permalink)
Inactive
 
cltwebs's Avatar
 
Join Date: 10-15-03
Location: Charlotte, NC
Posts: 537
iTrader: 0 / 0%
Latest Blog:
None

cltwebs is liked by somebodycltwebs is liked by somebodycltwebs is liked by somebodycltwebs is liked by somebodycltwebs is liked by somebody
Send a message via AIM to cltwebs Send a message via MSN to cltwebs Send a message via Yahoo to cltwebs
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.
cltwebs is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 04-06-2004, 04:00 PM   #2 (permalink)
Inactive
 
Join Date: 03-07-04
Location: San Francisco, CA
Posts: 29
iTrader: 0 / 0%
Latest Blog:
None

Jonathan Lee is on the right pathJonathan Lee is on the right pathJonathan Lee is on the right path
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.
Jonathan Lee is offline  
Add Post to del.icio.us
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

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

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 05:25 AM
Plesk Linux server with qmail istanbul Dedicated Servers 1 09-25-2006 03:17 AM
qmail does not send e-mail keko Dedicated Servers 1 06-23-2006 12:09 AM
Configuring php nuke through myadmin Jonathan Web Design Lobby 0 09-24-2004 12:09 PM
Configuring server to respong and deal with domain names matt260384 Dedicated Servers 7 11-10-2003 03:40 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 08:17 AM.
© Copyright 2008 V7 Inc


Search Engine Optimization by vBSEO 3.1.0 ©2007, Crawlability, Inc.