Outlook Express Setup

Tom Allison tallison at tacocat.net
Mon Nov 4 01:22:47 CET 2002


Jim wrote:
> I'm using a FreeBSD 4.7 qmail setup with vpopmail and MySQL, specifically
> Matt Simerson's Pop Toaster for FreeBSD:
> http://matt.simerson.com/computing/mail/toaster/
> 
> Per the instructions in the bogofilter package:
> 
> I set up an alias account that takes 4 different emails:
> 
> To register:
> 	 spam, send to bogofilter-register-spam at exampl.com
>   	 nonspam, send to bogofilter-register-nonspam at example.com
> 
>   To correct misclassified:
> 
> 	 spam, send to bogofilter-spam at example.com
>   	 nonspam, send to bogofilter-nonspam at example.com
> 
> I checked the dates of the goodlist.db and badlist.db in my bogofilter email
> and they are updated right after I send the email.  So I know I'm updating
> my db.
> 
> Now, I figured out how to 'sift' the incoming email on Outlook Express.  You
> simply set up a rule through the rules wizard.  "When incoming mail arrive
> check for the header 'X-Bogosity: Yes' and send to spam folder".  It's all
> in the client application.  It sits there for the user to determine if it
> really was spam or a false pos.
> 
> Now, I can't seem to setup the same rule in Outlook Express, only Outlook.
> Most people have Outlook Express since it comes with the operating system.
> How you would do something similar in Outlook Express?  Maybe I'm
> overlooking something?
> 
> It would be nice to have bogofilter attach 4 links on the "spam" email to
> let you click on the email instead of having to type
> "bogofilter-nonspam at example.com".  Maybe a future feature?
> 
> My last unanswered question is this.  The instructions say:  It is important
> that users bounce or redirect the messages rather than forward them since
> forwarding loses important header information.  Now how do you "bounce or
> redirect" the messages?  I don't have a "bounce" button, only reply and
> forward.
> 
> Thanks!
> 
> 
> ---------------------------------------------------------------------
> FAQ: http://bogofilter.sourceforge.net/bogofilter-faq.html
> To unsubscribe, e-mail: bogofilter-unsubscribe at aotto.com
> For summary digest subscription: bogofilter-digest-subscribe at aotto.com
> For more commands, e-mail: bogofilter-help at aotto.com

Jim,
I've been working on a slightly different angle for these POP accounts.  (I 
assume you are running POP and not IMAP.)

First, I'm not sure how you are able to get the alias emails to properly 
understand the different users that may be sending in corrections.  Are you 
able to get each user to make corrections to their own bogofilter files?

This was a problem that I ran into and didn't see an obvious way around the 
problem.  I am also rather poor at procmail and make no claims for aptitude.

What I was able to do was set up a slightly different solution.
I send the email as a forward to myself with a one word instruction "spam" or 
"nospam".  Using the fact that the From = me and the body contains one of 
these two words, I am able to make corrections to the bogofilter files.

But I had to strip out a few things, like:
every header
the line containing "spam" or "nospam"
the line containing "Original Message"

Everything else seemed to be OK.

The following is what I am currently using in procmail for making these 
corrections.  I do not know that this will be of any help with your Outlook 
question.  I'll have to look into that as soon as I find a working Windows box.

--------------  procmail snippett  ---------------------
SHELL         = /bin/sh
BOGOFILTER    = "/usr/bin/bogofilter"
SPAMASSASSIN  = "/usr/bin/spamassassin"
FORMAIL       = "/usr/bin/formail"
MYDOMAIN      = `/bin/dnsdomainname`
GREP          = "/bin/grep"

#  Method of making corrections to bogofilter and spamassassin
:0
* $ ^^From $LOGNAME@$MYDOMAIN
{

         :0c
         * B ?? ^^ *spam$
         | $SPAMASSASSIN -R

         :0A
         | $FORMAIL -cI ""| $GREP -v "(^ *spam$|Original Message)" | 
${BOGOFILTER} -r -S -l

         :0E
         | $FORMAIL -cI ""| $GREP -v "(^ *nospam$|Original Message)" | 
${BOGOFILTER} -r -N -l

}

# run both filters through one file locking
:0fw: foo
| $SPAMASSASSIN -a | $BOGOFILTER -p -e -r -u -l


# Use Spamassassin to help educate bogofilter, for now.
:0c
* ^X-Spam-Status: Yes
* ^X-Bogosity: No
| $BOGOFILTER -S -r -l

--------------  procmail snippett  ---------------------

The above snippet works pretty well.
It doesn't do aliases as far as I know.


-- 
If God wanted us to have a President, He would have sent us a candidate.
		-- Jerry Dreshfield





More information about the Bogofilter mailing list