l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2006 May 19 10:36

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, May 18, 2006 at 07:02:55PM -0400, Peter Jay Salzman wrote:
> 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.   ;-)

Moffit's macros are similar except that he links normal saving and replying
keys to the not spam collection. "X" is the only new key, which deletes a
message and adds it to the spam collection.

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

I've not used spamcop, but I like the idea of reporting and having an
(potential) impact on the source. Thanks, I'll try it.
vox mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

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

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
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:
EDGE Tech Corp.
For donating some give-aways for our meetings.