Copyright 2011 Donald Craig (donald@mun.ca
)
Technical documentation for a buryspam
, a bayesian email
filter and IMAP client.
Copy buryspam.rb
script to somewhere in your home directory.
Move all your spam/non-spam messages into separate directories.
Create a ~/.buryspamrc
configuration file with
good_dirs
, bad_dirs
and word_file
parameters set.
Initialize filter with ruby buryspam.rb -i
Add filter rules to .procmailrc
file that call ruby
buryspam.rb -f
and store spam in a spam mbox.
To transfer messages from an IMAP server, run ruby buryspam.rb
-t
, or to periodically transfer messages, ruby ruby
buryspam.rb -p
.
See www.cs.mun.ca/~donald/buryspam/ for more details.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <www.gnu.org/licenses/>