On Fri, Aug 17, 2001 at 05:30:59PM -0500, Kari Suomela wrote:
> We have a similar problem here. I large site, with numerous perl forms 
> was moved over here from a sendmail server on another ISP. The 
> form-generated messages used to show as coming from 
> 'webmaster@<domain.com>', but now they show '[EMAIL PROTECTED]' 
> as the reply-to. I.e. the hostname of the server gets inserted. If this 
> is not controllable in qmail, perhaps someone on this list can direct 
> me to the proper source.

If you're running a apache webserver you can work around this easily
by adding

SetEnv          QMAILUSER               webmaster
SetEnv          QMAILDEFAULTHOST        www
SetEnv          QMAILDEFAULTDOMAIN      lamer.de

to your apache config file. Don't forget to kill -HUP apache.

This will - however - not work if you use PHP, as PHP seems to bypass
the apache environment handler.

        \Maex

-- 
SpaceNet AG            | Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
Research & Development |       D-80807 Muenchen    | Fax: +49 (89) 32356-299
Stress is when you wake up screaming and you realize you haven't fallen
asleep yet.

Reply via email to