SA will get its main rules from either /var/lib/... (if it exists), or /usr/local/... The /etc/mail/spamassassin directory is for user rules. It will be read after the main rules directories. So if you are duplicating any of the built-in rules in /etc/mail/spamassassin, that would explain these errors.
Bowie Irina wrote: > Oh, ok. Thank you. But... > > Why I asked?... When running spamassassin --lint -D, it shows many > duplicates. Such as the following, for example: > > [9460] dbg: rules: __MO_OL_91287 merged duplicates: __MO_OL_B30D1 > __MO_OL_CF0C0 > [9460] dbg: rules: __MO_OL_015D5 merged duplicates: __MO_OL_6554A > > That is why I thought SA uses both directories and includes 2 sets of > rules. > > Since it uses only 1 directory, it puzzles me where these duplicates > are coming from. Does anybody know? > > Thank you > Irina > =========================== > > > > > ----- Original Message ----- > From: "Luis Hernán Otegui" <[EMAIL PROTECTED]> > To: "Irina" <[EMAIL PROTECTED]> > Cc: <users@spamassassin.apache.org> > Sent: Friday, June 29, 2007 12:14 PM > Subject: Re: Rules in 2 locations > > > > Irina: > > This is normal. Stock distribution rules are installed in > > /usr/local/share/spamassassin when you install SA. But as new rules > > are updated via SARE, they get downloaded to > > /var/lib/spamassassin/3.002001/updates_spamassassin_org/. Notice the > > version dependent subdir. After sa-update, SA will use the new > > rules sitting on /var/lib/... > > > > > > Luix > > > > 2007/6/29, Irina <[EMAIL PROTECTED]>: > > > Can someone clarify? > > > > > > Spamassassin is in > > > /etc/mail/spamassassin > > > /usr/local/share/spamassassin > > > > > > I then run sa-update > > > sa-update --nogpg --allowplugins --channel > > > saupdates.openprotect.com --channel updates.spamassassin.org > > > > > > I now see the same set of file in the following 2 directories: > > > /usr/local/share/spamassassin/ > > > /var/lib/spamassassin/3.002001/updates_spamassassin_org/ > > > > > > Is it normal? > > > > > > Thank you > > > Irina > > > > > >