Changes

From SME Server
Jump to navigationJump to search
999 bytes added ,  02:39, 13 October 2008
Line 33: Line 33:     
==== Advanced Example ====
 
==== Advanced Example ====
This example will transfer the public folders 'LearnAsSpam' and 'LearnAsHam' from an Exchange server to the specified user on your SME server:
+
This example will transfer the public folders 'LearnAsSpam' and 'LearnAsHam' from an Exchange server to the specified user on your SME server.
 +
 
 +
If you create and schedule a script to run this command regularly, and combine it with [http://bugs.contribs.org/show_bug.cgi?id=1701#c25 LearnAsSpam.pl] and [http://wiki.contribs.org/Email#Setup_Blacklists_.26_Bayesian_Autolearning|Bayesian Auto-Learning] you could let the users on an internal Exchange Server train your SME spamassassin by dragging SPAM or HAM into public folders in their Outlook.
 +
 
 +
Assumptions:
 +
* For the Exchange Server:
 +
** the user '''spamfilter''' exists on the Exchange server
 +
** the password for '''spamfilter''' on the Exchange server is in the file ''/root/secret1''
 +
** the Exchange Server user '''spamfilter''' has ''Owner'' permissions on both ''Public Folders/LearnAsSpam'' and ''Public Folders/LearnAsHam''
 +
* For the SME Server
 +
** the user '''spamfilter''' exists
 +
** the password for '''spamfilter''' on the SME server is in ''/root/secret2''
 +
** the folders ''LearnAsSpam'' and ''LearnAsHam'' exist in the email root for '''spamfilter'''
 +
 
 +
=====imapsync command=====
 
  <nowiki>/usr/bin/imapsync \
 
  <nowiki>/usr/bin/imapsync \
 
-- noauthmd5 \
 
-- noauthmd5 \

Navigation menu