OT: procmailrc question

Cameron Simpson cs at zip.com.au
Wed Jan 8 09:27:23 UTC 2014


On 08Jan2014 01:14, jdow <jdow at earthlink.net> wrote:
> On 2014/01/07 23:44, Cameron Simpson wrote:
> >The web page shows:
> >   sylfilter ~/Mail/inbox/1234
> >as the example to classify a message. So I believe you want:
> >
> >   :0 Wc
> >   | /usr/local/bin/sylfilter /dev/stdin
> >   :0 a
> >   $HOME/Mail/Junk/.
> >
> >because the message will be in the standard input and sylfilter
> >wants a filename.
> 
> Shouldn't this simpler invocation work?
> 
> :0 Wc
> | /usr/local/bin/sylfilter -
> :0 a
> $HOME/Mail/Junk

Perhaps; it is certainly nicer is accepted. I don't have sylfilter
to play with. Either way, sylfilter without a filename of any kind
seems invalid.

Cheers,
-- 
Cameron Simpson <cs at zip.com.au>

I had a wierd dream with Ken Thompson in it once.
        - George Politis <george at research.canon.com.au>


More information about the users mailing list