Also note that this won't easily work with Apache if you're using suexec,
as it sanitizes the environment of everything but a few pre-approved
environment variables.  Recompling suexec seems to be the solution, but
the Apache folks advise extreme caution in doing so.

Chris

On Fri, 17 Aug 2001, Markus Stumpf wrote:

> 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
>
>

-- Chris Hardie -----------------------------
----- mailto:[EMAIL PROTECTED] ----------
-------- http://www.summersault.com/chris/ --

Reply via email to