D Ivago wrote: > Hi, > > I'm trying to blacklist some domians who sent me spam, I added > following lines in local.cf <http://local.cf> like I do to whitelist a > domain. > > whitelist_from_rcvd *@ vsko.be <http://vsko.be> vsko.be <http://vsko.be> > whitelist_from_rcvd [EMAIL PROTECTED] <http://vlhorb.be> vlhorb.be > <http://vlhorb.be> > whitelist_from_rcvd [EMAIL PROTECTED] <http://ocmdgent.be> omcdgent.be > <http://omcdgent.be> > blacklist_from_rcvd [EMAIL PROTECTED] <http://le20wines.com> > > > but I keep getting spam from those 2 blacklisted domains. 1) it's blacklist_from not blacklist_from_rcvd. There's no reason to use the Received: header check to prevent forgery of blacklists.
2) *EVERY* time you edit your config files, run spamassassin --lint. It should run quietly and just exit if all is well. If there's a problem parsing your config, it will print a message to that effect.