On Sat, 2011-06-11 at 06:45 -0400, Michael Scheidell wrote:
> On 6/10/11 9:56 PM, Karsten Bräckelmann wrote:
> > spamassassin -D config --lint 2>&1 | less
> so, one MORE option, we don't need to add the symlink to crontab?
> 
> Jun 11 06:39:13.419 [71425] dbg: config: read file 
> /var/db/spamassassin/3.003001/sought_rules_yerp_org.cf
> Jun 11 06:39:13.419 [71425] dbg: config: read file 
> /var/db/spamassassin/3.003001/updates_spamassassin_org.cf
> Jun 11 06:39:13.420 [71425] dbg: config: using 
> "/usr/local/etc/mail/spamassassin" for site rules dir
> 
> 
> we could put it into out ../etc/mail/spamassassin dir?
> 
> to summarize:
> 
> 
> 
> On 6/10/11 1:14 PM, Karsten Bräckelmann wrote:
> > This merely requires a re-ordering hack, though. A symlink zzz_sought.cf
> > in your rule updates dir, pointing at the channel generated cf should
> > do. These channel cf files only hold include statements, to pull in the
> > actual cf files in the per-channel dir.
> >
> (or freebsd, your MMV)
> 
> cd ../updates/spamassassin_org.cf (or ../etc/mail/spamassassin)
> ln -s /var/db/spamassassin/{ver}/sought_rules_yerp_org.cf 
> /var/db/spamassassin/{ver}/updates_spamassassin_org.cf/zzz_sought.cf
> 
> right? scores are ok now?

OK - Forgive my ignorance, I just want to be sure about this...

On my F15 system, in my /var/lib/spamassassin/3.003002/ directory I have
the following:

# ls -l /var/lib/spamassassin/3.003002/
drwxrwxr-x. 2 root root 4096 Jun 11 12:19 sought_rules_yerp_org
-rw-rw-r--. 1 root root  120 Jun 11 12:19 sought_rules_yerp_org.cf
drwxr-xr-x. 2 root root 4096 Jun 11 12:17 updates_spamassassin_org
-rw-r--r--. 1 root root 2599 Jun 11 12:17 updates_spamassassin_org.cf

Inside sought_rules_yerp_org.cf is the following:
# cat /var/lib/spamassassin/3.003002/sought_rules_yerp_org.cf 
# UPDATE version 3301124446
include sought_rules_yerp_org/20_sought.cf
include sought_rules_yerp_org/20_sought_fraud.cf

I create a symlink of the sought_rules cf file to a file called
zzz.something.cf

ln -s sought_rules_yerp_org.cf zzz_sought_rules_yerp_org.cf

I now have this:
drwxrwxr-x. 2 root root 4096 Jun 11 12:19 sought_rules_yerp_org
-rw-rw-r--. 1 root root  120 Jun 11 12:19 sought_rules_yerp_org.cf
drwxr-xr-x. 2 root root 4096 Jun 11 12:17 updates_spamassassin_org
-rw-r--r--. 1 root root 2599 Jun 11 12:17 updates_spamassassin_org.cf
lrwxrwxrwx. 1 root root   24 Jun 11 12:40 zzz_sought_rules_yerp_org.cf -> 
sought_rules_yerp_org.cf

I am now sorted - Is that right?






Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to