spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ray Dzek" <Ray.D...@specialized.com>
Subject RE: Train from Outlook?
Date Wed, 23 Aug 2006 20:41:22 GMT
Imap2mbox resides on a windows server and only converts the imap format
into an mbox format.  Reading the links you provided there is an
executable and external batch files to run on a windows machine.  So
that would/could be a solution if your environment is windows only.  We
are running a linux server with postfix + amavisd-new with SA and ClamAV
to pre-process mail coming into our Exchange server.    The solution I
described is an all in one perl script that runs on the linux server.
Imap-sa-learn.pl reads directly from the SPAM and NO-SPAM folders on the
Exchange server, processes the messages, and removes them.  There are no
extra processes that need to be run on the Exchange server itself.

=20

So -=20

If you are running linux in front of your Exchange server - my solution
works.

If you are running SA on a windows box - your solution works.

=20

________________________________

From: Jean-Paul Natola [mailto:jnatola@familycareintl.org]=20
Sent: Wednesday, August 23, 2006 12:24 PM
To: users@spamassassin.apache.org
Subject: RE: Train from Outlook?

=20

SLOW DOWN!!!!!!   That's sounds like an awful lot  when you can just let
imap2mbox do it all.

=20

Imap2mbox does everything for you , except moving the messages to the
folder

=20

http://www.byteplant.com/support/nospamtoday/howtolearnexchange.html

=20

=20

http://www.byteplant.com/support/nospamtoday/contrib.html

=20

=20

=20

________________________________

From: Ray Dzek [mailto:Ray.Dzek@specialized.com]=20
Sent: Wednesday, August 23, 2006 3:10 PM
To: users@spamassassin.apache.org
Subject: RE: Train from Outlook?

=20

Your timing is perfect.  I just implemented this yesterday!

=20

The script you may be looking for is imap-sa-learn.pl from:
http://www.gagravarr.org/code/

=20

The how-to is here:
http://mail-archives.apache.org/mod_mbox/spamassassin-users/200406.mbox/
%3Ccboj9u$qip$1@sea.gmane.org%3E

=20

Users then drag (very important they drag the message to the folder to
preserve headers) the messages into the appropriate public folder and
are then processed by the script at the interval you set with a cron
job.

=20

To fill in some of the missing blanks...

=20

You create 2 new public folders.  The how-to called them HAM and SPAM.
All my users know what SPAM is, but explaining the concept of HAM proved
futile for some reason so I just renamed the folder NOT-SPAM.

=20

Create a spamassassin user in AD and create an exchange mailbox.  No
mail is every sent to/from this user, it is only so the user has access
permissions to the mailboxes.

=20

You may need to add a few perl modules to get this to work.  The main
one is Mail::IMAPClient.  So just CPAN and then install Mail::IMAPClient


=20

The script is written with -no-rebuild and --rebuild which is
depreciated in current versions of SA, so just edit the script and
change those to -no-sync and -sync otherwise the script will throw
errors when you run it. =20

=20

Add the script to crontab -e so it runs as often as you like.  I run
mine every hour.  It automatically grabs each message, processes it with
sa-learn, and then deletes it from the SPAM folder.

=20

If all this is greek, let me know and I will put together something a
little more formal.

=20

This method will not work for OWA since you are not allowed to copy from
your mailbox folders to a public folder in OWA.

=20

________________________________

From: Christopher Mills [mailto:chrysalis.boss@gmail.com]=20
Sent: Wednesday, August 23, 2006 5:07 AM
To: users@spamassassin.apache.org
Subject: Train from Outlook?

=20

Tell me something, is there a pluggin for outlook that would allow me to
train spamassassin on the web server?
Eg, messages come in, end up in my Junk Mail folder, can i somehow
select them, and click a button with this 'addin' and have it find our
web server and train spam assassin with the data in my local inbox?
That would be a very cool addon if someone could develop it.=20


Mime
View raw message