spamassassin/local.cf

Thu, 02 Aug 2012 22:07:29 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 02 Aug 2012 22:07:29 +0200
changeset 449
dec7ed8e8eaf
parent 192
62106debeb75
permissions
-rw-r--r--

Correct and update smf(5) logic to accommodate latest vendor version.
Support older and newer platforms by condtionally installing the
manifest to either /var/svc or cacnonical /lib/svc, and avoid usage of
svccfg(1) delete now considered risky. Leverage create_default_instance
smf macro to specify default instance instead of using instance element.
Provide a refresh execution method along with start and stop. Neither
change permissions of manifest nor call the redundant svcadm(1) disable.

     1 ##
     2 ##  @l_prefix@/etc/spamassassin/local.cf -- site-wide defaults for SpamAssassin
     3 ##  (see 'perldoc Mail::SpamAssassin::Conf' for details of what can be tweaked)
     4 ##
     6 #   configuration branding
     7 version_tag             openpkg
     9 #   required score for mail to be considered as spam
    10 required_score          5.0
    12 #   whitelist and blacklist addresses
    13 #whitelist_from         *@example.com
    14 #whitelist_to           *@example.com
    16 #   use a terse header instead of X-Spam-Report
    17 remove_header all Report
    19 #   encapsulate spam in an attachment
    20 report_safe             0
    22 #   enable the Bayes system
    23 use_bayes               1
    25 #   enable Bayes autolearning
    26 bayes_auto_learn        1
    28 #   enable or disable network checks
    29 #skip_rbl_checks         1
    30 #use_razor2              1
    31 #use_dcc                 1
    32 #use_pyzor               1
    34 # DCC/Razor/Pyzor parameters
    35 #dcc_body_max            999999
    36 #dcc_fuz1_max            999999
    37 #dcc_fuz2_max            999999
    38 #dcc_timeout             8
    39 #dcc_home                <homepath>
    40 #dcc_dccifd_path         <socketpath>
    41 #dcc_path                <clientpath>
    42 #dcc_options             <[0-9A-Za-z ,._/-]>
    43 #dccifd_options          <[0-9A-Za-z ,._/-]>
    44 #razor_timeout           5
    45 #razor_config            <filename>
    46 #pyzor_max               5
    47 #pyzor_timeout           3.5
    48 #pyzor_options           --homedir @l_prefix@/etc/spamassassin
    49 #pyzor_path              @l_prefix@/bin/pyzor
    51 #   mail using languages used in these country codes will not
    52 #   be marked as being possibly spam in a foreign language.
    53 #ok_languages            all
    55 #   mail using locales used in these country codes will not
    56 #   be marked as being possibly spam in a foreign language.
    57 #ok_locales              all

mercurial