List Info

Thread: Re: whitelist/blacklist rules not being picked up.




Re: whitelist/blacklist rules not being picked up.
country flaguser name
United States
2007-12-04 14:02:46
Robert LeBlanc wrote:
> Kurt Buff wrote:
> 
> > I've got a file called 000_black_white.cf in 
> /usr/local/etc/mail/spamassassin, along with the
various .pre 
> files. However, the changes I make to this file are not
being 
> picked up, though the directory shows when I do 'su
vscan -c 
> "spamassassin --lint --debug"'.
> > 
> > Not only are the new whitelists not being picked
up, the 
> deletions I've made, both blacklist and whitelist, have
yet 
> to disappear.
> 
> 
> >      'su vscan -c /usr/local/sbin/amavisd-maia
reload'
> 
> This line is likely your problem.  You want to
/restart/ amavisd-maia,
> not just reload its configuration.  That's the only way
SpamAssassin
> rule changes will get noticed by amavisd-maia.

My, how time flies when you're having fun.  This is a
beyond-reasonable-time response, so I beg your indulgence.



Anyway, I've finally had a chance to sit down and test
this.

The message I'm getting:

     "2007-12-04 11:00:12 Maia: [load-sa-rules] 0 new
rules added (846 rules total), all scores updated."

does not change after updating the black/white list in
/usr/local/etc/mail/spamassassin.

I've checked in /var/amavisd/maia/scripts/load-sa-rules.pl,
and that directory is listed in 

         # SpamAssassin local.cf directory ($local_cf_dir)
         my site_rules_path = (
             "/etc/mail/spamassassin",
             "%%PREFIX%%/etc/mail/spamassassin",
             "%%PREFIX%%/etc/spamassassin",
             "/usr/local/etc/mail/spamassassin",
             "/usr/local/etc/spamassassin",
             "/usr/pkg/etc/spamassassin",
             "/usr/etc/spamassassin",
             "/etc/spamassassin",
         );

I have changed 

     'su vscan -c /usr/local/sbin/amavisd-maia reload'

to

     'su vscan -c /usr/local/sbin/amavisd-maia stop'
     'su vscan -c /usr/local/sbin/amavisd-maia start'

Still no joy.

What might I be missing?

Kurt
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )