Setting Return-Path header for mail() on Linux

From: Date: Fri, 13 Jun 2003 12:09:34 +0000
Subject: Setting Return-Path header for mail() on Linux
Groups: php.general 
Request: Send a blank email to php-general+get-151348@lists.php.net to get a copy of this message
Is it possible to change the Return-Path header in PHP on linux? I have seen all the posts about setting it in the php.ini with the -f switch to sendmail. But I need to set it based on the person logged into the page? Right now the Return-Path is set to a default that gets sent to me (the administrator). I have a group of about 20 users who log into the webpage, and send email messages. If any of the messages bounce, those users don't know about it until I sift through the postmaster mailbox and let them know (that is unless the remote mail server is nice and send the bounce to the From: or Reply-To:). Changing the Return-Path would solve this for everyone. Any thoughts ideas, or am i just out of luck? -- Tom In a world without boundaries why do we need Gates and Windows?

« previous php.general (#151348) next »