procmail
[Top] [All Lists]

Re: Procmail filter for outgoing mail

1997-06-24 09:02:00
era eriksson <era(_at_)iki(_dot_)fi> writes:
On Tue, 24 Jun 1997 08:36:33 -0500,
Philip Guenther <guenther(_at_)gac(_dot_)edu> wrote:
<smack>  I've got it!  When you invoke the above by typing
<...>
    #! /usr/local/bin/procmail -m

I already tried it with different switches both on the shebang line
and directly on the command line and couldn't get it to work either
way. 

Hmm.

lunen% cat foo
#! /usr/local/bin/procmail -m

VERBOSE=on

:0i
|echo "$@"

lunen% ./foo bar baz "quux blarp"
blah: blah
^D
procmail: [12794] Tue Jun 24 10:17:33 1997
procmail: Assigning "LASTFOLDER=echo "
  Folder: echo                                                               12
procmail: [12794] Tue Jun 24 10:17:33 1997
procmail: Executing "echo,bar,baz,quux blarp"
lunen% procmail -v
procmail v3.11pre7 1997/04/28 written and created by Stephen R. van den Berg
...

What does the log show if you turn VERBOSE on?


Philip Guenther