On 2014/01/07 23:44, Cameron Simpson wrote:
On 07Jan2014 23:14, Ranjan Maitra <maitra.mbox.ignored@xxxxxxxxx> 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,
Shouldn't this simpler invocation work?
:0 Wc
| /usr/local/bin/sylfilter -
:0 a
$HOME/Mail/Junk
{^_^}
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
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