Your message dated Thu, 22 Dec 2005 17:07:03 +0100 (CET)
with message-id <[EMAIL PROTECTED]>
and subject line Bug#344410: procmail: add a way to change env. var. on cmd line
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 22 Dec 2005 14:43:29 +0000
>From [EMAIL PROTECTED] Thu Dec 22 06:43:29 2005
Return-path: <[EMAIL PROTECTED]>
Received: from base.8d.com ([209.47.172.20] helo=natch.usine.8d.com)
by spohr.debian.org with esmtp (Exim 4.50)
id 1EpRfF-0005k5-JC
for [EMAIL PROTECTED]; Thu, 22 Dec 2005 06:43:29 -0800
Received: from xavier by natch.usine.8d.com with local (Exim 4.54)
id 1EpRfG-0001QQ-0j; Thu, 22 Dec 2005 09:43:30 -0500
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: xavier renaut
<[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: procmail: add a way to change env. var. on cmd line
X-Mailer: reportbug 3.17
Date: Thu, 22 Dec 2005 09:43:29 -0500
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.8 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,
HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02
Package: procmail
Version: 3.22-11
Severity: wishlist
from the man page :
any default values will override any preexisting environment variables,
i.e., procmail will not pay any attention to any predefined
environment variables, it will happily overwrite them with its own defaults
So, it wipes anything we try to set.
we use the -p to Preserve any old environment, and it wipes it...
it would be usefull to preserve the env var :
procmail ~/.procmailrc VERBOSE=on LOGFILE=`tty` <
/tmp/test/cur/1134493055.32704_1294.pecos:2,S
that would be nice if there was a way to divert values from the default,
to test.
thanks
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (600, 'unstable'), (549, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-686
Locale: LANG=C, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages procmail depends on:
ii libc6 2.3.5-8 GNU C Library: Shared libraries an
Versions of packages procmail recommends:
ii exim4-daemon-heavy [mail-tran 4.54-1 exim MTA (v4) daemon with extended
ii fetchmail 6.2.5-18 SSL enabled POP3, APOP, IMAP mail
-- no debconf information
---------------------------------------
Received: (at 344410-done) by bugs.debian.org; 22 Dec 2005 16:08:45 +0000
>From [EMAIL PROTECTED] Thu Dec 22 08:08:45 2005
Return-path: <[EMAIL PROTECTED]>
Received: from pizarro.unex.es ([158.49.8.2] ident=postfix)
by spohr.debian.org with esmtp (Exim 4.50)
id 1EpSzh-0006JQ-CL
for [EMAIL PROTECTED]; Thu, 22 Dec 2005 08:08:45 -0800
Received: from localhost (almendralejo.unex.es [158.49.8.199])
by pizarro.unex.es (Postfix/MJ-1.08) with ESMTP id 3D9F8D16AC;
Thu, 22 Dec 2005 17:08:40 +0100 (CET)
Received: from pizarro.unex.es ([158.49.8.2])
by localhost (emilio [158.49.17.20]) (amavisd-new, port 10024)
with ESMTP id 09963-05; Thu, 22 Dec 2005 17:11:30 +0100 (CET)
Received: from guadiana.unex.es (guadiana.unex.es [158.49.17.23])
by pizarro.unex.es (Postfix/MJ-1.08) with ESMTP id E8366D145D;
Thu, 22 Dec 2005 17:08:35 +0100 (CET)
Received: from cantor.unex.es ([158.49.18.105])
by guadiana.unex.es with esmtp (Exim 3.35 #1 (Debian))
id 1EpSzb-0006Yy-00; Thu, 22 Dec 2005 17:08:35 +0100
Date: Thu, 22 Dec 2005 17:07:03 +0100 (CET)
From: Santiago Vila <[EMAIL PROTECTED]>
To: xavier renaut <[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
Subject: Re: Bug#344410: procmail: add a way to change env. var. on cmd line
In-Reply-To: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at unex.es
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
On Thu, 22 Dec 2005, xavier renaut wrote:
> Package: procmail
> Version: 3.22-11
> Severity: wishlist
>
> from the man page :
>
> any default values will override any preexisting environment variables,
> i.e., procmail will not pay any attention to any predefined
> environment variables, it will happily overwrite them with its own defaults
>
> So, it wipes anything we try to set.
> we use the -p to Preserve any old environment, and it wipes it...
>
> it would be usefull to preserve the env var :
>
> procmail ~/.procmailrc VERBOSE=on LOGFILE=`tty` < /tmp/[...]
>
> that would be nice if there was a way to divert values from the default,
> to test.
Have you tried using both "-p" and "-m"? From the manpage:
If both -p and -m are specified, the list of preset environment
variables shrinks to just: LOGNAME, HOME, SHELL, ORGMAIL and MAILDIR.
If that's still not enough you could even use something like this
in your .procmailrc file:
:0
* MYMAILDIR ?? .
{ MAILDIR=$MYMAILDIR }
and this on the command line:
procmail MYMAILDIR=foo < some-message
So I don't think we need a new procmail feature for this.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]