=?ISO-8859-1?Q?Jonas_Bj=F6rklund?= <jonas(_at_)falkenberg(_dot_)net> writes:
Don Hammond <procmail3(_at_)tradersdata(_dot_)com> writes:
On 21 Sep, Jonas Bj\xF6rklund wrote:
...
Hmm, "falkenberg". Are you a fan of Jerry Pournelle?
Nope, never heard of him. Falkenberg is my hometown in Sweden.
Ah, I see. I just had recently run into several references to one of
Jerry Pournelle's stories about a soldier named "Falkenberg" and figured
this was another link in the chain of coincidences.
...
Not as far as I know. But you should be able to do:
# procmail -m /etc/procmailrc NEXTHOP=jonas(_at_)falkenberg(_dot_)net
Uh, no.
$ procmail -h 2>&1 | grep -e -m
Or: procmail [-ptY] [-f fromwhom] -m [parameter=value] ... rcfile [arg] .
..
-m act as a general purpose mail filter
$
Variable assignments must go *before* the rcfile when procmail
is invoked with -m. Everything after the rcfile shows up in $1,
$2, etc. The invocation you gave will leave NEXTHOP unset and put
"NEXTHOP=jonas(_at_)falkenberg(_dot_)net" into $1.
No, it worked just like Don Hammond said.
Not in my experience:
morgaine$ cat rcfile
LOG = "NEXTHOP = $NEXTHOP
\$1 = $1
\$# = $#
"
HOST
morgaine$ procmail -m ./rcfile NEXTHOP=jonas(_at_)falkenberg(_dot_)net
NEXTHOP =
$1 = NEXTHOP=jonas(_at_)falkenberg(_dot_)net
$# = 1
morgaine$
Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail