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.

-- 
Anand Buddhdev
http://anand.org


-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to