Re: SetEnv QMAILSUSER not working in Apache conf

2000-01-26 Thread Chris Hardie

On 26 Jan 2000, Frank D. Cringle wrote:

> Chris Hardie <[EMAIL PROTECTED]> writes:
> > I tested the env setting by printing out the ENV variable to a log file
> > from within the CGI script, and it came up empty...this held true with
> > non-QMAIL environment variables.
> > 
> > So I suppose this might be more of an apache question, but surely one
> > of you has dealt with this.  :)
> 
> Read about the PassEnv configuration directive in the Apache
> documentation.

I did this already - PassEnv is for passing an existing environment
variable through to the CGI environment, e.g. PassEnv VARIABLE, whereas
SetEnv is for setting the value, e.g. SetEnv VARAIABLE VALUE.  In my case,
I believe I want to use SetEnv.

Chris

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



RE: SetEnv QMAILSUSER not working in Apache conf

2000-01-26 Thread Vince Vielhaber

On Wed, 26 Jan 2000, Chris Hardie wrote:

> I've tried this to no avail.  As the above part of my message indicates,
> it seems the environment variables aren't even being set, let alone used.

I did notice that when I upgraded from 1.3b5 to 1.3.9 (internal server)
that SetEnv no longer worked where I had it in the the config file.  I
moved it under the line that starts: ScriptAlias /cgi-bin/  and it worked
again.  I use it for Sybase environ variables.

Vince.
-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
   128K ISDN: $24.95/mo or less - 56K Dialup: $17.95/mo or less at Pop4
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==





Re: SetEnv QMAILSUSER not working in Apache conf

2000-01-26 Thread Frank D. Cringle

Chris Hardie <[EMAIL PROTECTED]> writes:
> I tested the env setting by printing out the ENV variable to a log file
> from within the CGI script, and it came up empty...this held true with
> non-QMAIL environment variables.
> 
> So I suppose this might be more of an apache question, but surely one
> of you has dealt with this.  :)

Read about the PassEnv configuration directive in the Apache
documentation.

-- 
Frank Cringle,  [EMAIL PROTECTED]
voice: (+49 2304) 467101; fax: 943357



Re: SetEnv QMAILSUSER not working in Apache conf

2000-01-25 Thread Aaron L. Meehan

Quoting Chris Hardie ([EMAIL PROTECTED]):
> 
> Hi.  I'm tackling the old problem of having "Return-Path" headers
> generated by CGI scripts set to something other than "[EMAIL PROTECTED]".  
> I believe I understand what needs to be done, after reading these:

> And yet, qmail-inject is seemingly unaffected, and all messages generated
> have the "[EMAIL PROTECTED]" header.

I've always used the 'f' switch to qmail-inject to do that in scripts
and such.

qmail-inject [EMAIL PROTECTED] [EMAIL PROTECTED] ...

Aaron



RE: SetEnv QMAILSUSER not working in Apache conf

2000-01-25 Thread Chris Hardie

On Tue, 25 Jan 2000, Vince Vielhaber wrote:

> > I have apache 1.3.11 (suexec) running on FreeBSD.  mod_env is compiled in.  
> > The Virtual host entry has the proper SetEnv lines in it:
> > 
> >  SetEnv QMAILSUSER silas
> >  SetEnv QMAILSHOST hotzp.com  
> > 
> > And yet, qmail-inject is seemingly unaffected, and all messages generated
> > have the "[EMAIL PROTECTED]" header.
> > 
> > I tested the env setting by printing out the ENV variable to a log file
> > from within the CGI script, and it came up empty...this held true with
> > non-QMAIL environment variables.
> > 
> > So I suppose this might be more of an apache question, but surely one
> > of you has dealt with this.  :)
> > 
> > Anyone know the trick?
> 
> SetEnv QMAILINJECT ?
> 
> I don't remember if it's an 'f' or something else where the question
> mark goes.  man qmail-inject will tell you the letter to use.
> 

I've tried this to no avail.  As the above part of my message indicates,
it seems the environment variables aren't even being set, let alone used.

Chris

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



RE: SetEnv QMAILSUSER not working in Apache conf

2000-01-25 Thread Vince Vielhaber


On 26-Jan-00 Chris Hardie wrote:
> 
> Hi.  I'm tackling the old problem of having "Return-Path" headers
> generated by CGI scripts set to something other than "[EMAIL PROTECTED]".  
> I believe I understand what needs to be done, after reading these:
> 
> http://www.ornl.gov/its/archives/mailing-lists/qmail/1997/02/msg00853.html
> http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/06/msg00528.html
> http://www.ornl.gov/its/archives/mailing-lists/qmail/1998/11/msg00094.html
> 
> I have apache 1.3.11 (suexec) running on FreeBSD.  mod_env is compiled in.  
> The Virtual host entry has the proper SetEnv lines in it:
> 
>  SetEnv QMAILSUSER silas
>  SetEnv QMAILSHOST hotzp.com  
> 
> And yet, qmail-inject is seemingly unaffected, and all messages generated
> have the "[EMAIL PROTECTED]" header.
> 
> I tested the env setting by printing out the ENV variable to a log file
> from within the CGI script, and it came up empty...this held true with
> non-QMAIL environment variables.
> 
> So I suppose this might be more of an apache question, but surely one
> of you has dealt with this.  :)
> 
> Anyone know the trick?

SetEnv QMAILINJECT ?

I don't remember if it's an 'f' or something else where the question
mark goes.  man qmail-inject will tell you the letter to use.

Vince.
-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
   128K ISDN: $24.95/mo or less - 56K Dialup: $17.95/mo or less at Pop4
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==




SetEnv QMAILSUSER not working in Apache conf

2000-01-25 Thread Chris Hardie


Hi.  I'm tackling the old problem of having "Return-Path" headers
generated by CGI scripts set to something other than "[EMAIL PROTECTED]".  
I believe I understand what needs to be done, after reading these:

http://www.ornl.gov/its/archives/mailing-lists/qmail/1997/02/msg00853.html
http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/06/msg00528.html
http://www.ornl.gov/its/archives/mailing-lists/qmail/1998/11/msg00094.html

I have apache 1.3.11 (suexec) running on FreeBSD.  mod_env is compiled in.  
The Virtual host entry has the proper SetEnv lines in it:

 SetEnv QMAILSUSER silas
 SetEnv QMAILSHOST hotzp.com  

And yet, qmail-inject is seemingly unaffected, and all messages generated
have the "[EMAIL PROTECTED]" header.

I tested the env setting by printing out the ENV variable to a log file
from within the CGI script, and it came up empty...this held true with
non-QMAIL environment variables.

So I suppose this might be more of an apache question, but surely one
of you has dealt with this.  :)

Anyone know the trick?

Thanks,
Chris


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