On Friday 09 December 2005 05:35, Martin Hepworth wrote: >Gene > >By default the RDJ script will put it's updates in > /etc/mail/spamassasin/ > But, since all this is running as root, I just changed the config to put them in /root/.spamassassin, moved copies from /etc/mail/spamassasin that it may have been updateing & then re-ran rdj, which did update 1 rule for a change. Remembering the the anitdrug.cf was deprecated, I removed all of them.
We'll see how it works now. Thanks Martin. I also added most of what you show below that I didn't have in my config trusted stuff & reran it again. >If you have rules in the 'users' .spamassassin dir these will > override any similar named rules held elsewhere. > > >For RDJ to work you need a config file...this is normally in >/etc/rulesjudour and called 'config' > >Mine looks like this...watch out line breaks my email program has put >in...and my config is MailScanner specific as well. > ># IMPORTANT! Edit the TRUSTED_RULESETS line to choose which RuleSets > to update >TRUSTED_RULESETS="TRIPWIRE EVILNUMBERS EVILNUMBERS1 EVILNUMBERS2 > SARE_RANDOM RAN >DOMVAL BOGUSVIRUS SARE_ADULT SARE_BML SARE_URI0 SARE_URI1 SARE_URI3 >SARE_URI_ENG > SARE_SPOOF SARE_BAYES_POISON_NXM SARE_OEM SARE_RANDOM SARE_HEADER0 >SARE_HEADER2 > SARE_CODING SARE_SPECIFIC SARE_REDIRECT_POST300 SARE_GENLSUBJ > SARE_UNSUB SARE_O >BFU SARE_OBFU2 SARE_OBFU3 SARE_WHITELIST SARE_WHITELIST_SPF >SARE_WHITELIST_RCVD >ZMI_GERMAN"; > ># Both FOOBAR and BARBAZ are non-existant rulesets. ># Please choose for yourself which sets you want to track.. ># Here are some of the rulesets included in the 1.12 release: ># "MRWIGGLY BIGEVIL TRIPWIRE ANTIDRUG EVILNUMBERS BOGUSVIRUS > SARE_ADULT SARE_FRA >UD SARE_BML SARE_RATWARE SARE_SPOOF SARE_BAYES_POISON_NXM SARE_OEM >SARE_RANDOM S >ARE_HEADER_ABUSE SARE_CODING_HTML"; > >#### Local SpamAssassin/system Settings #### >#### Modify these to match your system. #### ># Note that these settings take precedence over the settings found in > the stock >rules_du_jour. > >SA_DIR="/etc/mail/spamassassin"; # Change this to > your SA lo >cal config > # directory, probably >/etc/mail/ >spamassassin. > # For amavisd > chrooted, this may > be: > # >/var/amavisd/etc/mail/spamassa >ssin >MAIL_ADDRESS="root"; # Where do Email >notifications g >o >SINGLE_EMAIL_ONLY="true"; # Send only one > notification ema >il per run >SA_LINT="/usr/local/bin/spamassassin -p >/opt/MailScanner/etc/spamassassin.prefs. >conf --lint"; # Command used to lint spamassassin >SA_RESTART="/usr/local/etc/rc.d/MailScanner.sh restart"; # Command > used to rest >art spamd > # May be >/etc/rc.d/init.d/spamas >sassin restart > # For amavisd, may be >/etc/init. >d/amavisd restart >WGET="wget -N" # Location (and > flags) of the wg >et program >PERL="perl"; # Location of the > perl program >MAILCMD="mail"; # Location of the > mail program t >hat supports the -s flag >GREP="grep"; # Location of the > grep program > # (solaris users may > want to poi >nt this to gnu grep) > >#### End Local Settings #### > >-- >Martin Hepworth >Snr Systems Administrator >Solid State Logic >Tel: +44 (0)1865 842300 > -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) 99.36% setiathome rank, not too shabby for a WV hillbilly Yahoo.com and AOL/TW attorneys please note, additions to the above message by Gene Heskett are: Copyright 2005 by Maurice Eugene Heskett, all rights reserved.
