3 messages in net.sourceforge.lists.courier-usersRe: [courier-users] calling maildrop ...
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:Re: [courier-users] calling maildrop with environment variablesActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Feb 27, 2006 3:47:41 pm
List:net.sourceforge.lists.courier-users

Jürgen Herz writes:

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?

The missing "import" statement.