atom feed5 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Re: dynamic deliv...
FromSent OnAttachments
Anand BuddhdevJun 27, 2002 6:01 am 
Sam VarshavchikJun 27, 2002 6:21 am 
Anand BuddhdevJun 27, 2002 7:36 am 
Sam VarshavchikJun 27, 2002 8:04 am 
Anand BuddhdevJun 28, 2002 3:33 am 
Subject:Re: [courier-users] Re: dynamic delivery from .courier not working right
From:Anand Buddhdev (ar@anand.org)
Date:Jun 27, 2002 7:36:40 am
List:net.sourceforge.lists.courier-users

On Thu, Jun 27, 2002 at 09:21:27AM -0400, Sam Varshavchik wrote:

Anand Buddhdev writes:

ext = os.environ['EXT']

command = mlm + ' ctlmsg ' + string.split(ext,'-')[0]

So you pop off one off EXT.

command = mlm + ' msg ' + ext print command

However when couriermlm runs, EXT still contains its original value, so couriermlm reads EXT, and will not understand the command.

I don't understand. If I have a .courier-default or a .courier-anand-default, EXT contains the string "anand-help" in both cases, so I would expect that couriermlm, when run out of either file, should work in the same way. I have confirmed this by printing out the environment variables for delivery under both .courier-default and .courier-anand-default. The only variable that differs between these 2 is DEFAULT.