On 21 Sep, Jonas Björklund wrote:
| Hi,
|
| I want to pass arguments from my procmail commandline into the .procmailrc
| file. Is this possible?
|
| Like this:
|
| # /usr/bin/procmail -m /etc/procmailrc jonas(_at_)falkenberg(_dot_)net
|
| /etc/procmailrc:
|
| :0
| ! $1
|
|
| Where $1 should be jonas(_at_)falkenberg(_dot_)net(_dot_)
|
Not as far as I know. But you should be able to do:
# procmail -m /etc/procmailrc NEXTHOP=jonas(_at_)falkenberg(_dot_)net
and in /etc/procmailrc:
:0
! $NEXTHOP
--
/"\
Don Hammond \ / ASCII Ribbon Campaign
Raleigh, NC US X Against HTML Mail,
/ \ and News Too
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail