OT: procmailrc question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear friends,


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. (Since I have been training it for a year, I am not that
keen on switching to spamassassin or bogofilter, etc). However it only
processes within the mailer (sylpheed) currently and that too manually
(a button sequence has to be pressed). There is no automatic processing
in sylpheed.

Being perhaps foolhardy, 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

However, the issue is that I do not quite see how to get this to work
because unlike bogofilter, sylfilter does not add anything to the
header. If it returns a value 0, the mail  is classified as junk,
otherwise it is classified as not spam. These are the return values
(which the user does not see):

Return values:
  0   junk (spam)
  1   clean (non-spam)
  2   uncertain
  127 other errors

My question is: how do i set up my .procmailrc to specify that after
processing, if the value is 0 then it goes to the $HOME/Junk/. section,
otherwise it goes off to be processed in the usual way? In the
bogofilter (and also spamassassin) examples, there is a way to insert a
header in the mail before processing (which is different from
sylfilter's capabilities) so I am a little stumped.

Does anyone have any suggestions on how to handle this? 

Many thanks for your time and help!

Best wishes.
Ranjan



-- 
Important Notice: This mailbox is ignored: e-mails are set to be
deleted on receipt. Please respond to the mailing list if appropriate.
For those needing to send personal or professional e-mail, please use
appropriate addresses.

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth


-- 
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




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux