Hi Marek,

> As most of you know Outlook doesn't forward headers when you forward an
> e-mail (and with newer Outlook 2002+, you can't even resend with headers
> intact).  Therefore Outlook is a bad tool in traning SA.

Yep, definitely lousy. Depending on your setup and Number of users, there's a
couple of things you can do:
        * If you've got a central exchange server: set up public folders, see
link at bottom for script
        * Have users forward spam/ham as attachment to accounts on the SA
box. You'll need a script to extract these attachments and save them to a
folder before running sa-learn onn them; not too hard, I'm using this for a
setup with very many differnt client setups.

> My question is.. Has anybody tried this [exchange public folders]? 

Yes, this has been done; a perl script has been posted to this list that does
exactly what you require: download from exchange public folders via imap and
call sa-learn on the downloaded messages.

http://marc.theaimsgroup.com/?l=spamassassin-talk&m=104806917615490&w=2
should tak you to the original post. You may want to add a few lines to
automaticaly delete the messages from the public folders after download:

 Put before return statement in read_mail function:

  if ($count > 0) {
        $imap->delete_message( scalar($imap->seen) );
        $imap->close;
  }

Bye, Martin


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to