I used to have own rules in /etc/mail/spamassassin directory. But removed them thinking that duplicates may come from them.
I now have only default files in /etc/mail/spamassassin init.pre local.cf spamassassin-default.rc spamassassin-helper.sh spamassassin-spamc.rc v310.pre v312.pre v320.pre I still have duplicates. Looking just at one of them [15021] dbg: rules: __MO_OL_58CB5 merged duplicates: __MO_OL_B4B40 I found the following in /var/lib/spamassassin/3.002001/updates_spamassassin_org/72_active.cf ---------------------------------------- meta XMAILER_MIMEOLE_OL_58CB5 (__XM_OL_58CB5 && __MO_OL_58CB5) header __MO_OL_58CB5 X-MimeOLE =~ /Produced\ By\ Microsoft\ MimeOLE\ V5\.50\.4133\.2400/ and meta XMAILER_MIMEOLE_OL_B4B40 (__XM_OL_B4B40 && __MO_OL_B4B40) header __MO_OL_B4B40 X-MimeOLE =~ /Produced\ By\ Microsoft\ MimeOLE\ V5\.50\.4133\.2400/ ---------------------------------------- Is it normal? Thank you. Irina ======================== ----- Original Message ----- From: "Bowie Bailey" <[EMAIL PROTECTED]> To: <users@spamassassin.apache.org> Sent: Friday, June 29, 2007 12:30 PM Subject: RE: Rules in 2 locations 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 > > > > > >