comparison xml/dnsbl.in @ 153:8d7c439bb6fa

add auto whitelisting
author carl
date Sat, 07 Jul 2007 16:10:39 -0700
parents c7fc218686f5
children a220bfb9211f
comparison
equal deleted inserted replaced
152:c7fc218686f5 153:8d7c439bb6fa
535 </para> 535 </para>
536 536
537 <literallayout class="monospaced"><![CDATA[ 537 <literallayout class="monospaced"><![CDATA[
538 CONFIG = {CONTEXT ";"}+ 538 CONFIG = {CONTEXT ";"}+
539 CONTEXT = "context" NAME "{" {STATEMENT}+ "}" 539 CONTEXT = "context" NAME "{" {STATEMENT}+ "}"
540 STATEMENT = (DNSBL | DNSBLLIST | CONTENT | ENV-TO | VERIFY | 540 STATEMENT = (DNSBL | DNSBLLIST | CONTENT | ENV-TO | VERIFY |
541 CONTEXT | ENV-FROM | RATE-LIMIT) ";" 541 AUTOWHITE | CONTEXT | ENV-FROM | RATE-LIMIT) ";"
542 542
543 DNSBL = "dnsbl" NAME DNSPREFIX ERROR-MSG1 543 DNSBL = "dnsbl" NAME DNSPREFIX ERROR-MSG1
544 544
545 DNSBLLIST = "dnsbl_list" {NAME}+ 545 DNSBLLIST = "dnsbl_list" {NAME}+
546 546
569 ENV-TO = "env_to" "{" {(TO-ADDR | DCC-TO)}+ "}" 569 ENV-TO = "env_to" "{" {(TO-ADDR | DCC-TO)}+ "}"
570 TO-ADDR = ADDRESS [";"] 570 TO-ADDR = ADDRESS [";"]
571 DCC-TO = "dcc_to" ("ok" | "many") "{" DCCINCLUDEFILE "}" ";" 571 DCC-TO = "dcc_to" ("ok" | "many") "{" DCCINCLUDEFILE "}" ";"
572 572
573 VERIFY = "verify" HOSTNAME ";" 573 VERIFY = "verify" HOSTNAME ";"
574 AUTOWHITE = "autowhite" DAYS FILENAME ";"
574 575
575 ENV_FROM = "env_from" [DEFAULT] "{" {(FROM-ADDR | DCC-FROM)}+ "}" 576 ENV_FROM = "env_from" [DEFAULT] "{" {(FROM-ADDR | DCC-FROM)}+ "}"
576 FROM-ADDR = ADDRESS VALUE [";"] 577 FROM-ADDR = ADDRESS VALUE [";"]
577 DCC-FROM = "dcc_from" "{" DCCINCLUDEFILE "}" ";" 578 DCC-FROM = "dcc_from" "{" DCCINCLUDEFILE "}" ";"
578 579
699 customer1.com; 700 customer1.com;
700 customer1a.com; 701 customer1a.com;
701 customer1b.com; 702 customer1b.com;
702 }; 703 };
703 704
705 # we can reject unknown users
704 verify mail.customer1.com; 706 verify mail.customer1.com;
707
708 # whitelist anyone to whom we have sent mail in the last 90 days
709 autowhite 90 "autowhite/customer1";
705 710
706 context customer1a { 711 context customer1a {
707 env_to { 712 env_to {
708 customer1a.com; 713 customer1a.com;
709 }; 714 };