atom feed5 messages in net.sourceforge.lists.courier-users[courier-users] Re: dynamic delivery ...
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:[courier-users] Re: dynamic delivery from .courier not working right
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Jun 27, 2002 8:04:40 am
List:net.sourceforge.lists.courier-users

Anand Buddhdev writes:

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,

I meant DEFAULT. couriermlm reads DEFAULT to determine the control command.

'anand-help' is not a valid control command. 'help' is, but 'anand-help' isn't.