# Configuration for sa-learn-cyrus # # hjb -- 2008-02-12 # # ------------------------------------------------------- # global parameters # [global] # Directory to store output of sa-learn and ipurge temporarily tmp_dir = /tmp # To avoid race conditions, we use a lock file. lock_file = /var/lock/sa-learn-cyrus.lock # level of verbosity (0 .. 3)? verbose = 1 # Don't excute commands, show only what would be executed, # Change this to 'no' after testing. simulate = yes # ------------------------------------------------------- # Mailbox # [mailbox] # List of mailboxes/users which will be considered. # If this list is empty all mailboxes will be searched. # include_list = '' # If include_list is empty, only mailboxes matching this pattern will be considered include_regexp = '.*' # List of mailboxes/users which will be ignored exclude_list = '' # If exclude_list is empty, mailboxes matching this pattern will be ignored exclude_regexp = '' # Spam folder relative to INBOX (cyrus nomenclature: e.g. 'junk.Spam') spam_folder = 'Learn.Spam' # Ham folder relative to INBOX (cyrus nomenclature: e.g. 'junk.Ham') ham_folder = 'Learn.Ham' # Remove spam after feeding it to SA remove_spam = yes # Remove ham after feeding it to SA remove_ham = yes # ------------------------------------------------------- # Spamassassin # [sa] # Path with system-wide SA preferences site_config_path = /etc/spamassassin # SA configuration file prefs_file = /etc/spamassassin/local.cf # Path to sa-learn learn_cmd = /usr/bin/sa-learn # SA user and group user = mail group = mail # run sa-learn in debug mode (useful to examine problems) debug = no # ------------------------------------------------------- # IMAP # [imap] # Base directory of IMAP spool (below that mailboxes are located) base_dir = /var/spool/cyrus/mail # If base_dir has subdivisions with initial letters of mailbox names # set initial_letter = yes (default), otherwise choose no. # Example for joe's mailbox: # yes: /j/user/joe/ # no: /user/joe/ initial_letter = yes # If your cyrus spool uses domain hierarchy give a list of domains # Example for mailbox fritz@bar.org and joe@foo.com # /domain/b/bar.org/f/fritz # /domain/f/foo.com/j/joe # domains = foo.com bar.org # # If you don't use Cyrus's domain support leave the entry empty. # The initial_letter option (see above) is applied to domains, too. domains = '' # Choose 'unixhierarchysep = yes' if Cyrus is configured to accept usernames # like 'hans.mueller.somedomain.tld' unixhierarchysep = no # imap command to purge mail messages purge_cmd = /usr/sbin/ipurge # Cyrus-IMAPd user user = cyrus