Problem on whitelist/blacklist rules

Steve Campbell campbell at
Thu Mar 23 13:53:17 GMT 2006

Yes, that's right. Just add the sender to the blacklist file.

The last line should be the default line in both files. I've seen different opinions on where it can be placed, but I always thought the lists were a "first find" type search-and-match, so the default makes sense at the end. 

Steve Campbell
campbell at
Charleston Newspapers

  ----- Original Message ----- 
  From: spart cus 
  To: MailScanner discussion 
  Sent: Wednesday, March 22, 2006 6:53 PM
  Subject: Re: Problem on whitelist/blacklist rules

  Steve Campbell <campbell at> wrote:
    No, you're overlooking the blacklist part. The whitelist "no" parm you used for "test" indicates that it is not whitelisted and must go through the normal steps of any other email. You need to add test to the blacklist to make it definitely spam.

    You should use your example in a circumstance where you might whitelist an entire domain, but want only the "test" address "not" to be whitelisted. For example:

    In whiteli! st file
    FromOrTo:    test at    no
    FromOrTo:    *    yes

    In blacklist file
    FromOrTo:    test at    yes

    This would exclude the "test" address from whitelisting but whitelist everyone else in that domain . The blacklist would make "test" definitely spam. The "no" in the white/black list is used mostly for exclusions, the "yes" is for inclusion, for the white or black list file it is inside of.

    By removing both entries above from the whitelist and keeping the blacklist rule, you would be changing the strategy only for the * , as now everyone but "test" would be required to pass your rules before it is delivered. As stands above, everyone but "test" automatically passes.

    Clear? or more confusing?

    Steve Campbell
    campbell at
    Charleston Newspapers

  Hi Steve,
  Got some part of it. Since im getting some spam mails, i just want to block certain sender. If thats the case then i would just add it on the blacklil! st file. Is this correct ?

  In blacklist file
  FromOrTo:    test at    yes   # blacklist this sender

  FromOrTo:    default                        no   >>> ? Do i have to put these on the last line of my blacklist.rules ???


  New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.


  MailScanner mailing list
  mailscanner at

  Before posting, read

  Support MailScanner development - buy the book off the website! 
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list