3 messages in net.sourceforge.lists.courier-users[courier-users] calling maildrop with...
FromSent OnAttachments
Jürgen HerzFeb 27, 2006 3:32 pm 
Jürgen HerzFeb 27, 2006 3:43 pm 
Sam VarshavchikFeb 27, 2006 3:47 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] calling maildrop with environment variablesActions...
From:Jürgen Herz (jhe@myrealbox.com)
Date:Feb 27, 2006 3:32:42 pm
List:net.sourceforge.lists.courier-users

Hi,

I'd like to call maildrop from another programm and pass values via environment variables (unless someone knows a smarter way).

But I don't get it managed - neither from that program, nor from the command line.

on commandline: export FOO="Bar"

in maildroprc: THING=$FOO

and running maildrop -V 9 < somefile gives (among other lines)

Tokenized string: "THING" Tokenized = Tokenized string: "$FOO"

and

/etc/maildroprc(11): THING=""

Where's my error?

Regards, Jürgen