# HG changeset patch # User carl # Date 1082684813 25200 # Node ID 9ca440c8d1879b25d952f2eebd99daa0a9ad51d3 # Parent 8c65411cd7ab39737caa49a912413266978234e9 integration work on url scanner diff -r 8c65411cd7ab -r 9ca440c8d187 xml/sample.conf --- a/xml/sample.conf Thu Apr 22 14:00:02 2004 -0700 +++ b/xml/sample.conf Thu Apr 22 18:46:53 2004 -0700 @@ -67,11 +67,11 @@ # third token is the path name of the dcc whiteclnt config file to be # included. # entries from the dcc config are mapped as: -# ok -> WHITE -# many -> BLACK -# env_to -> env_to xxx -# env_from -> env_from EMAP xxx -# substitute mail_host -> env_from EMAP xxx +# ok -> WHITE (TAG below) +# many -> BLACK (TAG below) +# env_to -> env_to xxx TAG +# env_from -> env_from EMAP xxx TAG TAG +# substitute mail_host -> env_from EMAP xxx TAG TAG # # # @@ -104,7 +104,7 @@ # special list for the vp env_from TEST dummy-token DEFAULT # inherit the currently defined DEFAULT env_from mapping env_from TEST nai.com BLACK # the vp does not like nai -env_from TEST yahoo.com DEFAULT # +env_from TEST yahoo.com DEFAULT # override the blacklisting of yahoo env_from TEST mother@spammyisp.com WHITE # suppresses dnsbl checking @@ -120,11 +120,11 @@ # specify dnsbl_lists and env_from maps to use for clients domains # env_to mydomain.com DEFAULT DEFAULT -env_to customer1.com CUST1 DEFAULT # all customer 1 domains use just sbl -env_to customer1a.com CUST1 DEFAULT -env_to customer1b.com CUST1 DEFAULT -env_to customer2.com CUST2 DEFAULT # all customer 2 domains use spews and sbl -env_to customer2a.com CUST2 DEFAULT +env_to customer1.com CUST1 CUST1 # all customer 1 domains use just sbl +env_to customer1a.com CUST1 CUST1 +env_to customer1b.com CUST1 CUST1 +env_to customer2.com CUST2 CUST2 # all customer 2 domains use spews and sbl +env_to customer2a.com CUST2 CUST2 ############################################## @@ -135,11 +135,17 @@ ############################################## +# # fetch the normal dcc whitelist file and put the entries into the DEFAULT # envelope-from-map. The ok/many tags in the DCC file turn into # WHITE/BLACK entries when imported. The env_to entries from the DCC # config turn into env_to entries here, and are therefore global to all -# domains. The env_from and substitute mail_host entries turn into -# env_from entries in the named (DEFAULT in this case) envelope-from-map. +# domains. The assumption is that a client will only have whitelist +# env_to entries for their own domains, in their own dcc config file. The +# env_from and substitute mail_host entries turn into env_from entries in +# the named (DEFAULT in this case) envelope-from-map. +# # include_dcc DEFAULT /var/dcc/whitecommon +include_dcc CUST1 /var/dcc/whitecommon.cust1 +include_dcc CUST2 /var/dcc/whitecommon.cust2