You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Rice, Kevin" <kr...@spss.com> on 2004/03/17 22:03:46 UTC
sa-learn and Exchange
I'm looking for a way to grab spam and ham from Exchange users to run through sa-learn. Originally, I was thinking that having them move the messages to public folders and using IMAP to pick up the messages might be the best bet, but it looks like Microsoft doesn't consider public folders as IMAP folders from what I've been reading...or at least I can't seem to pick them up using fetchmail or IMAPscrape unless my folder path syntax is wrong ('\\Public Folders\\Folder Name'). I don't think its a good idea to give everybody the ability to 'Resend As' so using that option to bounce the message to an account with a procmail script to trigger sa-learn is out as well. Are there any other approaches that can be taken to accomplish this?
Re: sa-learn and Exchange
Posted by "Adam D. Lopresto" <ad...@pubcrawler.org>.
On Wed, 17 Mar 2004, Rice, Kevin wrote:
> I'm looking for a way to grab spam and ham from Exchange users to run
> through sa-learn. Originally, I was thinking that having them move the
> messages to public folders and using IMAP to pick up the messages might be
> the best bet, but it looks like Microsoft doesn't consider public folders as
> IMAP folders from what I've been reading...or at least I can't seem to pick
> them up using fetchmail or IMAPscrape unless my folder path syntax is wrong
> ('\\Public Folders\\Folder Name'). I don't think its a good idea to give
> everybody the ability to 'Resend As' so using that option to bounce the
> message to an account with a procmail script to trigger sa-learn is out as
> well. Are there any other approaches that can be taken to accomplish this?
We have them forward the mail as attachments (create a new message and drag
the offending mail into it) to send it to an account on the gateway box. That
account has a procmailrc file like
:0
* > 256000
toobigtoreport
:0c: spamassassin.lock
| perl /path/to/split-msg.pl --spam
:0:
learned-spam
where split-msg.pl is attached to this message. It allows them to send a
bunch together, and keeps a record of what they fed to it. We've also created
a similar one for ham (which passes --ham to split-msg.pl). Comments welcome.
--
Adam Lopresto
http://cec.wustl.edu/~adam/
Choosy moms choose PNG.
RE: sa-learn and Exchange
Posted by Scott Harris <sa...@pikecreek.com>.
> -----Original Message-----
> From: Rice, Kevin [mailto:krice@spss.com]
> Sent: Wednesday, March 17, 2004 1:04 PM
> To: spamassassin-users@incubator.apache.org
> Subject: sa-learn and Exchange
>
> I'm looking for a way to grab spam and ham from Exchange
> users to run through sa-learn. Originally, I was thinking
> that having them move the messages to public folders and
> using IMAP to pick up the messages might be the best bet, but
> it looks like Microsoft doesn't consider public folders as
> IMAP folders from what I've been reading...or at least I
> can't seem to pick them up using fetchmail or IMAPscrape
> unless my folder path syntax is wrong ('\\Public
> Folders\\Folder Name'). I don't think its a good idea to give
> everybody the ability to 'Resend As' so using that option to
> bounce the message to an account with a procmail script to
> trigger sa-learn is out as well. Are there any other
> approaches that can be taken to accomplish this?
>
>
This is exactly what we do, via perl, it can access public folders no
problem.
I tweaked mine a bit, but it is based on:
http://tirian.magd.ox.ac.uk/~nick/code/
HTH,
Scott