mharc-users

using procmail with sylfiter

2014-01-26 09:59:32
Hello,

I am not sure that this is the correct place to ask this question, but the 
procmail mailing list appears to be a black hole for me. I send in a subscribe 
request but I do not even get in a response. So I am hoping that someone who 
has experience with procmail here will be able to help me.


I am new to making my own procmail recipes and am a bit stumped with
this one. I use sylfilter as my spam-filtering tool: this tool is available at 
http://sylpheed.sraoss.jp/sylfilter/ and does ok. However it only processes 
within the mailer currently and
that too manually (a button sequence has to be pressed). Being ambitious and 
perhaps foolish, I have been trying to get syfilter
to work with procmail using my .procmailrc. I was trying to mimic the
example here: http://www.math.tohoku.ac.jp/~kuroki/keijiban/procmailrc.txt 
After seeking advice from Fedora users on the mailing list (I use an
updated Fedora 20), I got the following from two responders: 1. The web page 
shows: sylfilter ~/Mail/inbox/1234 as the example to classify a message. So I 
believe you want: :0 wc | /usr/bin/sylfilter /dev/stdin :0 a $HOME/Mail/Junk/. 
because the message will be in the standard input and sylfilter
wants a filename. 2. A slightly simpler response: :0 wc
| /usr/bin/sylfilter - :0 a
$HOME/Mail/Junk However, none of them work. In particular, I get the same error 
in my
procmail.log file: No input file.
procmail: Program failure (2) of "/usr/bin/sylfilter"
Before reporting on the process for the next step (as it was doing
previously wthout the new recipe in). How does one handle this?

Once again, I apologize for any inconvenience for this post in this mailing 
list.

Best,
Aarem
<Prev in Thread] Current Thread [Next in Thread>