Hi guys!I have this same setup. We created public Ham and Spam IMAP folders on the exchange server
I have a email gateway running spamassassin, amavisd-new and postfix. I am blocking a good chunk of spam. However, I am trying to figure out a good way to get the users involved in creating our own "blacklist" (I work for a private company, not a ISP)
The mail gateway sits in from of our exchange server. I have created a public folder on the exchange box for the users to drag spam too. But I guess the next question is..... how do I get the mail "with headers attached" from the MS box back to the mail gateway so I can autolearn? Fetchmail?
Any thoughts? Is anyone else doing anything like this? Or maybe I am going about this the wrong way?
Thanks in advance! Dan
where people can drag n' drop ham/spam. We also created a spam filter user and group for
Exchange.
On the mail filter box, fetchmail is used to grab the mail from the public folders and pass
it to sa-learn. This is run from cron every four hours:
15 */4 * * * root /usr/bin/fetchmail -s -f /etc/postfix/fetchmail-ham
45 */4 * * * root /usr/bin/fetchmail -s -f /etc/postfix/fetchmail-spam
The fetchmail-{ham,spam} scripts look like this: # Configuration created Thu Dec 4 10:00:49 PST 2003 set no bouncemail set no spambounce set properties "" defaults proto imap poll exchange.domain.com proto imap user "spamfilter/SpamFilter" pass "XXXXXXX" is spamlearn here folder "Public Folders/spam" fetchall no rewrite
[In the fetchamil script, "exchange.domain.com" is the Exchange server, "spamfilter/
SpamFilter" are the Exchange user & group (I don't remember which is which) and
"XXXXXXX" is the password for the spamfilter user. "spamlearn" is the local "user"
(on the filter box) that will get the mail grabbed from Exchange. "Public Folders/spam"
is the public spam mailbox Exchange.]
Then finally, in /etc/postfix/aliases: spamlearn: "|/usr/bin/sa-learn --spam --norebuild" hamlearn: "|/usr/bin/sa-learn --ham --norebuild"
Other tools can be used as the imap client to grab the mail of the exchange server, but
this was recommended in something I read and so far has been working fine.
-Bill
------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk