Unfortunately, the correct behavior of an MTA is to bounce to the envelope
sender.  

But this behavior of qmail can be changed --- by modifying the cgi scripts.
In what sense is it impractical to modify them?  If they invoke sendmail,
just add the -f flag (with the appropriate address) and done.

If there are many cgi scripts, a single sed script might make the
modification for you.

Perhaps if you show the relevant part of a typical script, we could come up
with a sed(perl,awk) script.

Another possibility is to install wrappers to the scripts, and the wrapper
would set the appropriate qmail-inject(=sendmail) variables.

-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  

Reply via email to