QMAIL PHP and Email sending problems?

QMAIL PHP and Email sending problems?

am 17.04.2006 21:18:38 von mdpeters

I have a Solaris 10 apache system with a fully functional netqmail-1.05
installation. The system is configured to forward all email messages to
the internal mail hub for processing regardless of whether it is
internal or external mail.

The problem is with my PHP applications. When they email an internal
user, no problems. When it is an external user, the system attempts to
deliver mail directly to the address which is not permitted through the
firewall by this web server.

PHP = php-5.1.2
Apache = httpd-2.0.55

I have tried these in the php.ini:

;sendmail_path
sendmail_path = /var/qmail/bin/qmail-inject
sendmail_path = /var/qmail/bin/sendmail
sendmail_path = /var/qmail/bin/sendmail -t
sendmail_path = /var/qmail/bin/sendmail -t -i

No changes. I'm pulling my hair over this one. Any help would be
appreciated!

--
Best regards,

Michael D. Peters
Director of Security Services
CISSP
Lazarus Alliance Inc.
M: 502-767-3448
O: 502-231-8017 x8
H: 502-231-6923
F: 502-231-5347

michael.peters@lazarusalliance.com
www.lazarusalliance.com

Verify here: http://wwwkeys.us.pgp.net

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: QMAIL PHP and Email sending problems?

am 17.04.2006 21:50:44 von Manuel Lemos

Hello,

on 04/17/2006 04:18 PM mdpeters said the following:
> I have a Solaris 10 apache system with a fully functional netqmail-1.05
> installation. The system is configured to forward all email messages to
> the internal mail hub for processing regardless of whether it is
> internal or external mail.
>
> The problem is with my PHP applications. When they email an internal
> user, no problems. When it is an external user, the system attempts to
> deliver mail directly to the address which is not permitted through the
> firewall by this web server.
>
> PHP = php-5.1.2
> Apache = httpd-2.0.55
>
> I have tried these in the php.ini:
>
> ;sendmail_path
> sendmail_path = /var/qmail/bin/qmail-inject
> sendmail_path = /var/qmail/bin/sendmail
> sendmail_path = /var/qmail/bin/sendmail -t
> sendmail_path = /var/qmail/bin/sendmail -t -i
>
> No changes. I'm pulling my hair over this one. Any help would be
> appreciated!

This is not a PHP problem. You need to configure qmail control
smtproutes setting .

--

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: QMAIL PHP and Email sending problems?

am 20.04.2006 03:31:24 von Manuel Lemos

Hello,

on 04/18/2006 01:05 PM Michael D. Peters said the following:
> I have smtproutes forwarding everything to the internal hub already. Any
> other ideas?
>
> My phpBB works fine but there is a specific mail handling setting unlike
> many other php apps I have that are broken.

I think you need to restart qmail to make the changes in smtproutes take
effect. Also use qmail-showctl to make sure you are changing the right
qmail control file.

--

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php