On 07Jan2014 23:14, Ranjan Maitra <maitra.mbox.igno...@inbox.com> wrote:
> > Example (untested, needed adapting):
> > 
> >   # Get rid of duplicates
> >   :0 Wc
> >   | sylfilter ...
> >   :0 a
> >   /dev/null
> 
> So, I tried this, but without the .... (I guessed that you were
> suggesting this for arguments, is this correct, and the default
> versions are just fine for using sylfilter). 
> 
> Therefore, I put in this:
> 
> :0 Wc
> | /usr/local/bin/sylfilter 
> :0 a
> $HOME/Mail/Junk/.
> 
> 
> However, I still get the same error in my procmail.log file:
> 
> No input file.

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.

Cheers,
-- 
Cameron Simpson <c...@zip.com.au>

We've all heard that a million monkeys banging on a million typewriters
will eventually reproduce the works of Shakespeare.  Now, thanks to the
Internet, we know this is not true.
        - Robert Wilensky of the University of California
See also: RFC2795
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to