Mercurial > dnsbl
comparison xml/dnsbl.in @ 148:9330b8d6a56b
add documentation fixes, allow env_from target of inherit
author | carl |
---|---|
date | Tue, 30 Jan 2007 16:27:49 -0800 |
parents | 31ff00ea6bfb |
children | 9581f6e62574 |
comparison
equal
deleted
inserted
replaced
147:812c80305f26 | 148:9330b8d6a56b |
---|---|
517 </refsynopsisdiv> | 517 </refsynopsisdiv> |
518 | 518 |
519 <refsect1 id='description.5'> | 519 <refsect1 id='description.5'> |
520 <title>Description</title> | 520 <title>Description</title> |
521 <para>The <command>@PACKAGE@.conf</command> configuration file is | 521 <para>The <command>@PACKAGE@.conf</command> configuration file is |
522 specified by this partial bnf description.</para> | 522 specified by this partial bnf description. Comments start with // |
523 or # and extend to the end of the line. To include the contents | |
524 of some file verbatim in the dnsbl.conf file, use | |
525 <literallayout class="monospaced"><![CDATA[include "<file>";]]></literallayout> | |
526 </para> | |
523 | 527 |
524 <literallayout class="monospaced"><![CDATA[ | 528 <literallayout class="monospaced"><![CDATA[ |
525 CONFIG = {CONTEXT ";"}+ | 529 CONFIG = {CONTEXT ";"}+ |
526 CONTEXT = "context" NAME "{" {STATEMENT}+ "}" | 530 CONTEXT = "context" NAME "{" {STATEMENT}+ "}" |
527 STATEMENT = (DNSBL | DNSBLLIST | CONTENT | ENV-TO | VERIFY | | 531 STATEMENT = (DNSBL | DNSBLLIST | CONTENT | ENV-TO | VERIFY | |
566 RATE-LIMIT = "rate_limit" [DEFAULTLIMIT] "{" (RATE)+ "}" | 570 RATE-LIMIT = "rate_limit" [DEFAULTLIMIT] "{" (RATE)+ "}" |
567 RATE = USER LIMIT [";"] | 571 RATE = USER LIMIT [";"] |
568 | 572 |
569 DEFAULT = ("white" | "black" | "unknown" | "inherit" | "") | 573 DEFAULT = ("white" | "black" | "unknown" | "inherit" | "") |
570 ADDRESS = (USER@ | DOMAIN | USER@DOMAIN) | 574 ADDRESS = (USER@ | DOMAIN | USER@DOMAIN) |
571 VALUE = ("white" | "black" | "unknown" | CHILD-CONTEXT-NAME)]]></literallayout> | 575 VALUE = ("white" | "black" | "unknown" | "inherit" | CHILD-CONTEXT-NAME)]]></literallayout> |
572 </refsect1> | 576 </refsect1> |
573 | 577 |
574 <refsect1 id='sample.5'> | 578 <refsect1 id='sample.5'> |
575 <title>Sample</title> | 579 <title>Sample</title> |
576 <literallayout class="monospaced"><![CDATA[ | 580 <literallayout class="monospaced"><![CDATA[ |
701 verify mail.customer1.com; | 705 verify mail.customer1.com; |
702 | 706 |
703 context customer1a { | 707 context customer1a { |
704 env_to { | 708 env_to { |
705 customer1a.com; | 709 customer1a.com; |
706 } | 710 }; |
707 env_from black { # blacklist everything | 711 env_from black { # blacklist everything |
708 first@acceptable.com unknown; # except these specific envelope senders | 712 first@acceptable.com unknown; # except these specific envelope senders |
709 second@another.com unknown; | 713 second@another.com unknown; |
710 yahoo.com inherit; # delegate to the parent | 714 yahoo.com inherit; # delegate to the parent |
711 }; | 715 }; |