l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
September 2: Social Gathering
Next Installfest:
Sat. Sept. 27, 10am-6pm
Latest News:
Aug. 30: September Installfest scheduled
Page last updated:
2006 May 19 10:13
Events
 Meetings
 Installfests
 Demos
 Photos
Services
 Library
 LERT
 Jobs
 Documents
Interact
 Mailing Lists
 - Search
 - Archives
 Chat
About Us
 Members
 Projects
 Testimonials
 Call for Speakers
 Why Not MS?
 Finances
 Sponsors

^Home
?Search
?News & RSS
?Calendar
@Contact Us
$Buy Stuff
=Printable


The following is an archive of a post made to our 'vox mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox] mutt macros for bogofilter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox] mutt macros for bogofilter



On Thu 18 May 06,  2:53 PM, Eric Engelhard <eric@mail.cvbig.org> said:
> This may be very old news for many, but I just found the Linux Journal article
> "Busting Spam with Bogofilter, Procmail and Mutt" by Nick Moffit at
> http://www.linuxjournal.com/article/6439 with an update at
> http://www.linuxjournal.com/article/7436. The mutt macros make it very easy
> to add mail to the bogofilter spam list. I've been running the set up for
> three days and a recent rash of spam has slowed to a trickle and my spam
> folder is collecting "trophies".
> 
> Has anyone been running this set up?
> 
> Eric Engelhard

i'll take a look.  always interested in seeing what other mutt users do.
here's a couple of pretty plain-jane macros i wrote a long time ago:

macro pager S "<pipe-entry>bogofilter -s\n"
macro index S "<pipe-entry>bogofilter -s\n"
macro pager N "<pipe-entry>bogofilter -n\n"
macro index N "<pipe-entry>bogofilter -n\n"

so an email is "s"pam, unless it's "n"ot spam.   ;-)

also have some for spamcop too.


fcc-hook 'submit.foo@spam.spamcop.net' /dev/null
# Set varioius things in messages that go to spamcop.
send-hook 'submit.foo@spam.spamcop.net' \
	'set pgp_autosign=no ; set mime_forward ; set editor=/bin/true ; push y'
# Pressing ctl-f sends the email to spamcop in pager and index mode.
macro pager F "<display-toggle-weed><forward-message>submit.foo@spam.spamcop.net\n<exit>"
macro index F "<display-toggle-weed><forward-message>submit.foo@spam.spamcop.net\n<exit>"

those were hard to get right.

pete
_______________________________________________
vox mailing list
vox@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox



Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

CD Burns Wanted!

LUGOD: Linux Users' Group of Davis
1105 Kennedy Place, Suite 1, Davis, CA 95616
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Z-World
Who has helped LUGOD immensely!