[imp] How to add enviromental variable when sending from IMP
John McCoy, Jr.
jmccoy@mills.edu
Fri, 13 Apr 2001 10:57:28 -0700
Still no go I added it to the virtual host config:
SetEnv QMAILQUEUE /var/qmail/bin/qmail-scanner-queue.pl
Did a graceful restart, but still no scan. Apache version 1.3.14.
************************
John McCoy, Jr
Central Systems Administrator
Mills College, Oakland, CA
510-430-3321
jmccoy@mills.edu
************************
-----Original Message-----
From: Rich Lafferty [mailto:rich@bofh.concordia.ca]On Behalf Of Rich
Lafferty
Sent: Friday, April 13, 2001 10:00 AM
To: imp@lists. horde. org
Subject: Re: [imp] How to add enviromental variable when sending from IMP
On Fri, Apr 13, 2001 at 09:23:17AM -0700, John McCoy, Jr. (jmccoy@mills.edu)
wrote:
> I need to pass QMAILQUEUE to qmail when sending email from within IMP to
get
> the scan4virus to do it's work.
> I looked through compose.php3 but couldn't see a good place for it, nor do
I
> really know how to properly set a variable to be passed to a program from
> php.
>
> Thanks all.
>
> Variable needed: QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
If that's an environment variable, you probably want to set it before
you start apache, so that it's part of Apache's environment (and thus
Apache's children's environment).
-Rich
--
------------------------------ Rich Lafferty ---------------------------
Sysadmin/Programmer, Instructional and Information Technology Services
Concordia University, Montreal, QC (514) 848-7625
------------------------- rich@alcor.concordia.ca ----------------------
--
IMP mailing list: http://horde.org/imp/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe@lists.horde.org