~semi-hallikas/sspamm/3.0-devel

« back to all changes in this revision

Viewing changes to sspamm.conf

  • Committer: Sami-Pekka Hallikas
  • Date: 2010-11-26 14:09:40 UTC
  • Revision ID: semi@hallikas.com-20101126140940-c0n1rwkzw7ku220z
Added possibility to use different action for different RBL servers, like:
        (?#flag)cbl.abuseat.org

.. Will flag CBL Abuseat matches, even if default action would be block.

Show diffs side-by-side

added added

removed removed

Lines of Context:
185
185
                dnsbl-2.uceprotect.net
186
186
# Level 1, Host block
187
187
                dnsbl-1.uceprotect.net
188
 
#               bl.spamcop.net
189
 
#               b.barracudacentral.org
190
 
#               xbl.spamhaus.org
191
 
#               zen.spamhaus.org
192
 
#               cbl.abuseat.org
193
 
#               psbl.surriel.com
194
 
#               sbl.spamhaus.org
 
188
# Sometimes these have false positives
 
189
#               (?#flag)bl.spamcop.net
 
190
                (?#flag)sbl.spamhaus.org
 
191
                (?#flag)psbl.surriel.com
 
192
#               (?#flag)b.barracudacentral.org
 
193
##              (?#flag)xbl.spamhaus.org
 
194
##              (?#flag)zen.spamhaus.org
 
195
                (?#flag)cbl.abuseat.org
195
196
 
196
197
 
197
198
### NOTE! comments in rules!
294
295
# in accept, if that rule matches, it will skip blocking. But all other
295
296
# tests are done.
296
297
#####           (?#delete)@hallikas.com$
 
298
                (?#delete)(prizecrazy|imustlotto)@peltonen.com
297
299
 
298
300
##
299
301
ipfromto:
308
310
                (?#skip)(support|abuse|postmaster)@target.org$
309
311
                (?#skip)^(smtp-gw1.crescom.fi|80.81.171.48):
310
312
# Known ads:
311
 
                (?#skip)directmail.rwcmp.com:noreply[A-Za-z0-9_.=+-]+@bounce\d.rwcmp.com
 
313
                (?#accept)mailout.playstationmail.com:news@eu.playstationmail.com:
 
314
                (?#skip)directmail.rwcmp.com:noreply[A-Za-z0-9_.=+-]+@bounce\d.rwcmp.com:
 
315
                (?#skip)suorakirje.atbusiness.com:sskirje@suorakirje.atbusiness.com:
312
316
 
313
317
charset:
314
318
                (?#skip)(utf-8|iso-8859-1|us-ascii)
320
324
headers:
321
325
                (?#delete)(?i)From:.*(V[il1]agra|Rolex|Pfizer)
322
326
                (?#reject)\<(halen@iki.fi|samipekka.hallikas@nic.fi)\>
323
 
#
324
 
                (?#flag)(Received: from google.com|\(HELO google.com\))
 
327
                (?#accept)Delivered-To: 24-pamela.sandstrom@kaumo.fi
325
328
                (?#flag)X-Spam-Flag: YES
326
329
 
327
330
dyndns:
328
331
###
329
332
### authmx - define mail relay hosts, that can/would accept 'dyndns'. Don't do dyndns check after match.
330
333
###
331
 
                (?#authmx)^(\w)?(mail|smtp(in|out)?|out|mx|mq|secmx|post|relay|proxy|ns|gw|list|mta|pop|imap|sender|spamgw|filter|filtteri|gate|posti|(e|www)mail|webmail)(\d)?(\d)?
 
334
                (?#authmx)^(\w)?(mail|smtp(in|out)?|out|mx|mq|secmx|post|relay|proxy|gw|list|mta|pop|imap|sender|spamgw|filter|filtteri|gate|posti|(e|www)mail|webmail)(\d)?(\d)?
 
335
                (?#authmx)^ns\d{1,3}?\.
 
336
#
 
337
#
 
338
#               (?#authmx)^(\w)?(mail|smtp(in|out)?|out|mx|mq|secmx|post|relay|proxy|ns|gw|list|mta|pop|imap|sender|spamgw|filter|filtteri|gate|posti|(e|www)mail|webmail)(\d)?(\d)?
 
339
#
 
340
#
 
341
#
332
342
# Known relay domains
333
343
                (?#authmx)mail-.+.google.com
334
344
#               (?#authmx)\.iki\.fi|\.hotmail\.com|\.gmail\.com|\.google\.com|\.yahoo\.com|\.sth\.basefarm\.net|\.fre\.skanova\.net
359
369
#               (?#skip)(?#smilehouse.com)193.94.205.129|(?#tamroshop.fi)193.65.59.129|(?#mail.duodecim.fi)195.236.0.9
360
370
 
361
371
# Badly configured hosts:
 
372
                (?#skip)(?#mta162.anp.se).128-25.62.131.88.in-addr.arpa
362
373
                (?#skip)(?#lists.janstock.fi)baana-81-175-188-237.fw.dsl.phnet.fi
363
374
 
364
375