My setup is – FREEBSD 5.4 SA EXIM CLAMAV filters
all incoming mail, once SA & CLAMAV “clean
the mail” it goes to exchange---- The imap2mbox DOES NOT run on the exchange
server, I run from my pc as follows D:\imap2mbox>imap2mbox.exe
--path="public folders/" --folder=1spam --username=xxxxxx --pass=xxxxx That gives me the mbox I use to train sa- sa-learn --spam --mbox export.mbox Nevertheless better to have multiple ways
to “skin the cat” I like this method because it does not
require me to install anything at all on either server From: Ray Dzek
[mailto:[EMAIL PROTECTED] 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 So – If you are running linux in front of your Exchange
server – my If you are running SA on a windows box
– your From: Jean-Paul Natola
[mailto:[EMAIL PROTECTED] SLOW DOWN!!!!!! That’s
sounds like an awful lot when you can just let imap2mbox do it all. Imap2mbox does everything for you , except
moving the messages to the folder http://www.byteplant.com/support/nospamtoday/howtolearnexchange.html http://www.byteplant.com/support/nospamtoday/contrib.html From: Ray Dzek [mailto:[EMAIL PROTECTED]
Your timing is perfect. I just
implemented this yesterday! The script you may be looking for is
imap-sa-learn.pl from: http://www.gagravarr.org/code/ The how-to is here: http://mail-archives.apache.org/mod_mbox/spamassassin-users/200406.mbox/[EMAIL PROTECTED] 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. To fill in some of the missing
blanks… 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. 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. 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 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. 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. If all this is greek, let me know and I
will put together something a little more formal. This method will not work for OWA since
you are not allowed to copy from your mailbox folders to a public folder in
OWA. From: Christopher
Mills [mailto:[EMAIL PROTECTED] Tell me something, is there a pluggin for outlook that would allow me
to train spamassassin on the web server? |
- RE: Train from Outlook? Jean-Paul Natola
- Re: Train from Outlook? Jeremy Fairbrass