From: "Mauricio Fernández" Date: 2003-04-16T16:39:11+09:00 Subject: Re: [OFF-TOPIC] bogofilter (was: Re: Urgent Assistance) On Wed, Apr 16, 2003 at 08:01:59AM +0900, Daniel Carrera wrote: > Thanks for the help. Could you help me with a couple more questions?: > > 1) How do I know if the system here is using procmail? I know it's > installed on the system. Should I do this: > > $ cat > ~/.forward > | procmail > > Will that do what I want? It will unless your site's MTA doesn't honor it (happened to me) :) But depending on how the MTA is configured you might not need it at all (sometimes procmail is called automatically if ~/.procmailrc is found). > 2) Do I need to do something to my mail client (mutt) to it reads the > mail from a different directory? (wherever procmail puts the mail). I > suppose so. I'll try google for that information. You can tell procmail to put the mail anywhere you like w/ MAILDIR=/path/to/dest/dir in ~/.procmailrc. Don't forget to instruct mutt to read mail from the same directory: set folder=/path/to/dest/dir in ~/.muttrc. > 3) How do I train bogofilter? > > I can see this: > > > bash$ cat false-positive-spam | bogofilter -Sn > > bash$ cat false-negative-spam | bogofilter -Ns > > But I still need to get the false-(positive|negative) into a file. Can I > just save the file with my mail client and do the above? Or will that > lose some important information? Should work. As you're using mutt you can tag all files at once ('t') and then move them all to a different folder (';s'). -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com If loving linux is wrong, I dont wanna be right. -- Topic for #LinuxGER