1. SPP_FILTER_#_DEF

DEF envars are defined as:

where "type" is one of:

      ip         list of IP addresses
      from       list of from/sender email addresses
      regexfrom  list of regular expressions to match with from/sender addrs
      rcpt       list of destination/rcptto email addresses
      regexrcpt  list of regular expressions to match with dest/rcptto addrs

CDB hash files (http://cr.yp.to/cdb.html) are automatically generated for

CDB generation is triggered

The "qmaild" user must have write access to the directory containing the file.

The regular expressions are of the POSIX Extended Regular Expression regex(3) format and are case-insensitive.

2. Example envars:

     SPP_FILTER_1_DEF="ip:/var/qmail/control/whitelist_ips"
     SPP_FILTER_1_CMD="A,SSPP_FILTER_WHITELISTEDIP_MATCHED=1"
     SPP_FILTER_2_DEF="regexrcpt:/var/qmail/control/whitelist_regex_rcpts"
     SPP_FILTER_2_CMD="A,HSPP-Filter-Match: send-filter-def"
     SPP_FILTER_3_DEF="regexfrom:/var/qmail/control/blacklist_regex_senders"
     SPP_FILTER_3_CMD="E550 Blacklisted!"
     SPP_FILTER_4_DEF="rcpt:/var/qmail/control/whitelist_rcpts"
     SPP_FILTER_4_CMD="A"
     SPP_FILTER_5_DEF="from:/var/qmail/control/whitelist_senders"
     SPP_FILTER_5_CMD="A"
     SPP_FILTER_6_DEF="from:/var/qmail/control/blacklist_senders"
     SPP_FILTER_6_CMD="E550 Blacklisted!"
     SPP_FILTER_NOMATCH_CMD="SSPP_FILTER_FOUND_NO_MATCH=1"


CategoryDns CategoryWatch CategoryTemplate

MoinQ: qmail/spp/filter/rules (last edited 2022-03-29 05:04:28 by ToshinoriMaeno)