You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Robert Fargher <fa...@gmail.com> on 2006/10/16 19:36:22 UTC

Problem with local.cf file processing

Hi,

  I'm running Spamassassin 3.14 on a Fedora Core 5 mail server and am 
experiencing a puzzling problem.  In a nutshell, the local.cf file doesn't 
seem to be processed properly and I can't figure out 
why.  "spamassassin --lint" runs without errors

  We're getting complaints from some of our clients, who have opted out of 
spam processing, that their mail is still being processed.  Those clients are 
listed below in the whitelist_to and all_spam_to lines.

  The  "whitelist_from cabscharf@telus.net" record used to be near the bottom 
of the whitelist_from records and didn't work there.  It was moved near the 
top and started working!  So that would indicate that there is a problem 
somewhere in these records but I'm damned if I can see 
it.  "spamassassin --lint" runs without errors.   Following Linus' Law, I'm 
hoping that more eyes than mine can spot what's going wrong.

  Multiple pints of Guinness will be provided to whomever manages to tell me 
where the screw-up occurs.  To be collected in Vancouver, B.C. (which stands 
for Bring Cash, BTW, not British Columbia! :-)

--
Thanks!
Rob


-- contents of  /etc/mail/spamassassin/local.cf

rewrite_header subject *****SPAM*****
report_safe 1
trusted_networks 192.168.222.
#auto_whitelist_path /etc/mail/spamassassin/auto_whitelist
use_auto_whitelist 0
use_bayes 0
add_header                      spam Report _REPORT_
required_score 4.1

whitelist_from *@kidrobot.com
whitelist_from *@UnitedOffers.com
whitelist_from *@evalues.net
whitelist_from *@emailizer.com
whitelist_from WeatherOffice@ec.gc.ca
whitelist_from ConnectIT@integratedmar.com
whitelist_from *@astroadvice.com
whitelist_from cabscharf@telus.net
whitelist_from thewilliamtell@telus.net
whitelist_from ingenuitymarketing@telus.net
whitelist_from HotelligenceReports@travelclick.net
whitelist_from thebest@prontomail.com
whitelist_from vancouverticket@telus.net
whitelist_from reservations@thrifty.com
whitelist_from spectrum-events@telus.net
whitelist_from john@parkhillhotel.com
whitelist_from *@sitepronews.com
whitelist_from avisos@mundoejecutivo.net
whitelist_from carlosmmarquez@hotmail.com
whitelist_from *@ctc-cct.ca
whitelist_from Newsletter@Dollarmakers.com
whitelist_from info@womenempoweringwomen.biz
whitelist_from *@csbemail.org
whitelist_from mark.jones@virtualtravelguides.com
whitelist_from *@marriott.m0.net
whitelist_from mexicotravelnews@bm.com
whitelist_from *@spca.bc.ca
whitelist_from *arhideaways@yahoo.com
whitelist_from *@ebay.com
whitelist_from *@ebay.ca
whitelist_from *@csbemail.org
whitelist_from *elcosystems.com
whitelist_from *@yahoo-inc.com
whitelist_from *@webex.com
whitelist_from *@adobe.com
whitelist_from *@hightech-pr.com
whitelist_from *@sportmart.ca
whitelist_from *stockhouse.ca
whitelist_from *stockhouse.com
whitelist_from *@estimatorplus.net
whitelist_from *@psychicchat.com
whitelist_from *@mcafee.com
whitelist_from *@campingworld.m0.net
whitelist_from *@justladiesfitness.com
whitelist_from *@barmedia.com
whitelist_from *@findaccountingsoftware.com
whitelist_from *@ientrynetwork.net
whitelist_from *@classmates.com
whitelist_from sueurie@hotmail.com
whitelist_from *@renshawtravel.com
whitelist_from *@bartendingsecretsexposed.com
whitelist_from *@bismail.com
whitelist_from *@newsletters.microsoft.com
whitelist_from *@tradeexchangecanada.com
whitelist_from echannelline@echannelline.com
whitelist_from *@nationalenvelope.com
whitelist_from *@natenv.com
whitelist_from *@dowco.com
whitelist_from *@domainpeople.com
whitelist_from *@cctoyscustom.com
whitelist_from *@swsoft.com
whitelist_from *@sw-soft.com
whitelist_from *@navigata.ca
whitelist_from *@navigata.com
whitelist_from *@navigata.net
whitelist_from *@entertainment.com
whitelist_from martin@rothchild.ca
whitelist_from newsletter@vancouveram.ca
whitelist_from *@your.hp.com
whitelist_from wbg@imineralsinc.com
whitelist_from pgenge@encompassinc.ca
whitelist_from *@gta-travel.com
whitelist_from *@autismtoday.com
whitelist_from *@smallbizpros.com
whitelist_from cozypines@shaw.ca
whitelist_from *@andresaudiotronic.com
whitelist_from faxsupport@telus.net
whitelist_from notify@payments.certapay.com
whitelist_from indigocrystalkid@hotmail.com
whitelist_from celine.13@shaw.ca
whitelist_from hcarton@shaw.ca
whitelist_from *@purolator.com
whitelist_from *@registerfly.com
whitelist_from *@snuggerybnb.com


# entries for sites and addresses that are opting out of the filtering
whitelist_to *@bosmanshotel.com
whitelist_to *@oceanside-hotel.com
whitelist_to *@otellas.com
whitelist_to *@hydrovane.com
whitelist_to *@hydrovaneselfsteering.com
whitelist_to submissions@kootenays-bc.com
whitelist_to submissions@extremebartending.com
whitelist_to edits@in-vancouver.com
whitelist_to edits@invancouver.com
whitelist_to reservations@budgetpathotel.bc.ca
whitelist_to reservations@cambiehostels.com
whitelist_to gastown@cambiehostels.com
whitelist_to housing@triumf.ca

all_spam_to robert@in-vancouver.com
all_spam_to *@lindellbeach.ca
all_spam_to orders@extremebartending.com
all_spam_to *@encompassinc.ca


# Specific blacklist entries
blacklist_from *@freebibleemail.com



Re: Problem with local.cf file processing

Posted by Robert Fargher <fa...@gmail.com>.
>On Mon, 16 Oct 2006, Robert Fargher wrote:
>>   We're getting complaints from some of our clients, who have
>> opted out of spam processing, that their mail is still being
>> processed.  Those clients are listed below in the whitelist_to and
>> all_spam_to lines.
>
>How are you hooking SA into your mail system? If you're using
>procmail, the it'd be much easier to put a file test in procmail than
>fiddling around with the SA config. Then to opt a user out you'd just
>drop a file in the user's home directory.

  Yes, SA is being invoked via procmail and I have thought of that.  But in 
doing it that way, I don't learn what is wrong and how to avoid similar 
problems in the future.

--
Cheers,
Rob

Re: Problem with local.cf file processing

Posted by "John D. Hardin" <jh...@impsec.org>.
On Mon, 16 Oct 2006, Robert Fargher wrote:

>   We're getting complaints from some of our clients, who have
> opted out of spam processing, that their mail is still being
> processed.  Those clients are listed below in the whitelist_to and
> all_spam_to lines.

How are you hooking SA into your mail system? If you're using
procmail, the it'd be much easier to put a file test in procmail than
fiddling around with the SA config. Then to opt a user out you'd just
drop a file in the user's home directory.

--
 John Hardin KA7OHZ    ICQ#15735746    http://www.impsec.org/~jhardin/
 jhardin@impsec.org    FALaholic #11174    pgpk -a jhardin@impsec.org
 key: 0xB8732E79 - 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  ...the Fates notice those who buy chainsaws...
                                              -- www.darwinawards.com
-----------------------------------------------------------------------
 15 days until Halloween