comparison xml/dnsbl.in @ 124:ea6f9c812faa stable-5-16

put hostname in smtp message for uribl style lookups
author carl
date Thu, 16 Mar 2006 15:20:37 -0800
parents e8971c595845
children 2b1a4701e856
comparison
equal deleted inserted replaced
123:ecd97e7eb1f0 124:ea6f9c812faa
518 CONFIG = {CONTEXT ";"}+ 518 CONFIG = {CONTEXT ";"}+
519 CONTEXT = "context" NAME "{" {STATEMENT}+ "}" 519 CONTEXT = "context" NAME "{" {STATEMENT}+ "}"
520 STATEMENT = (DNSBL | DNSBLLIST | CONTENT | ENV-TO | VERIFY | 520 STATEMENT = (DNSBL | DNSBLLIST | CONTENT | ENV-TO | VERIFY |
521 CONTEXT | ENV-FROM) ";" 521 CONTEXT | ENV-FROM) ";"
522 522
523 DNSBL = "dnsbl" NAME DNSPREFIX ERROR-MSG 523 DNSBL = "dnsbl" NAME DNSPREFIX ERROR-MSG1
524 524
525 DNSBLLIST = "dnsbl_list" {NAME}+ 525 DNSBLLIST = "dnsbl_list" {NAME}+
526 526
527 CONTENT = "content" ("on" | "off") "{" {CONTENT-ST}+ "}" 527 CONTENT = "content" ("on" | "off") "{" {CONTENT-ST}+ "}"
528 CONTENT-ST = (FILTER | URIBL | IGNORE | TLD | CCTLD | HTML-TAGS | 528 CONTENT-ST = (FILTER | URIBL | IGNORE | TLD | CCTLD | HTML-TAGS |
529 HTML-LIMIT | HOST-LIMIT) ";" 529 HTML-LIMIT | HOST-LIMIT) ";"
530 FILTER = "filter" DNSPREFIX ERROR-MSG 530 FILTER = "filter" DNSPREFIX ERROR-MSG2
531 URIBL = "uribl" DNSPREFIX ERROR-MSG 531 URIBL = "uribl" DNSPREFIX ERROR-MSG3
532 IGNORE = "ignore" "{" {HOSTNAME [";"]}+ "}" 532 IGNORE = "ignore" "{" {HOSTNAME [";"]}+ "}"
533 TLD = "tld" "{" {TLD [";"]}+ "}" 533 TLD = "tld" "{" {TLD [";"]}+ "}"
534 CCTLD = "cctld" "{" {TLD [";"]}+ "}" 534 CCTLD = "cctld" "{" {TLD [";"]}+ "}"
535 HTML-TAGS = "html_tags" "{" {HTMLTAG [";"]}+ "}" 535 HTML-TAGS = "html_tags" "{" {HTMLTAG [";"]}+ "}"
536 ERROR-MSG = string containing exactly two %s replacement tokens 536 ERROR-MSG1 = string containing exactly two %s replacement tokens
537 for the client ip address 537 both are replaced with the client ip address
538 ERROR-MSG2 = string containing exactly two %s replacement tokens
539 the first is replaced with the hostname, and the second
540 is replaced with the ip address
541 ERROR-MSG3 = string containing exactly two %s replacement tokens
542 both are replaced with the hostname
538 543
539 HTML-LIMIT = "html_limit" ("on" INTEGER ERROR-MSG | "off") 544 HTML-LIMIT = "html_limit" ("on" INTEGER ERROR-MSG | "off")
540 545
541 HOST-LIMIT = "host_limit" ("on" INTEGER ERROR-MSG | "off" | 546 HOST-LIMIT = "host_limit" ("on" INTEGER ERROR-MSG | "off" |
542 "soft" INTEGER) 547 "soft" INTEGER)