Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Qmail and PHP (mail() function) problem

Status
Not open for further replies.

Folken

Programmer
Aug 26, 2005
2
BR
I have installed QJBDNS, MySQL, Apache 2, PHP 4, Daemontools, UCSPI-tcp and Qmail 1.03. I followed the how-to on Qmail rocks site.

All seems to be functional, the DNS works fine(I guess so), the Qmail create the queue list, but the messages don't was sent.

Using a PHP script with mail() function, qmailctl queue shows the messages in queue and after a momentes show 0, like all of them was sent.

Log files(/var/logs/qmail/current and /var/logs/qmail/smtpd/current) show no erros.

Someone have a tip?
 
I had similar problem not the same exact one. The form would send emails but just the field names without the user input (may be, I do vaguely remember having same trouble), I turned on register_globals flag to solve it.

Check the value of your register_globals flag, if it not turned on just drop a .htaccess file with the following code into the folder where you have your php mail script:

*************************************
php_flag register_globals 1

<Files ".ht*">
deny from all
*************************************

Lemme know if this works,
Cevilian.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top