In mail.php.internals, Ari Pollak <[EMAIL PROTECTED]> wrote:
> Hi there, I'm trying to hack mail.c to automatically pass a -f argument 
> to qmail with a return address, so that the Return-path of the message 
> is not always root@blah. Anyway, I seem to have been successful in this 
> endeavor, but I have a slight problem - whenever my code gets executed, 
> I get two errors output:

Simple fix in PHP code (not source):
putenv("QMAILSUSER=username");
putenv("QMAILSHOST=mydomain.com");

No need to hack up mail.c

Paul, aka Qube

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to