So we have these requirements:

  1. use /var for updates, instead of /etc or /usr

  2. sa-update updates must not overwrite any packaged files

  3. the user shouldn't have to choose at package-install time whether
  they want to use packaged rules, or sa-update rules.  (although
  conversely, it's ok to entirely stop using packaged rules from that
  point on, if sa-update installs an update set.)


So the suggestion is to use:

    /etc/mail/spamassassin:

        *.cf
        *.pre: Admin-installed local settings


    /usr/share/spamassassin:

        default, distro-package-installed scores and rules


    /var/lib/spamassassin/3.1.0:
    /var/lib/spamassassin/3.1.1:
    /var/lib/spamassassin/3.1.2:
    /var/lib/spamassassin/3.2.0:

        sa-update-installed scores and rules


The presence of anything in /var/lib/spamassassin/3.1.1 causes
/usr/share/spamassassin to be ignored.

All rules, including the code-tied stuff for that release, are put in the
sa-update tarballs (and therefore /var/lib/spamassassin/3.1.2 etc.)

I think this should work for everyone?

--j.

Reply via email to