comparison xml/dnsbl.in @ 144:31ff00ea6bfb stable-5-24

allow parent/child to share a fully qualified env_to address
author carl
date Sun, 15 Oct 2006 12:23:17 -0700
parents 4028de9b46dd
children 9330b8d6a56b
comparison
equal deleted inserted replaced
143:ecb40aa3eaa5 144:31ff00ea6bfb
252 <refsect1 id='filtering.1'> 252 <refsect1 id='filtering.1'>
253 <title>Filtering Procedure</title> 253 <title>Filtering Procedure</title>
254 <para> 254 <para>
255 If the client has authenticated with sendmail, the rate limits are 255 If the client has authenticated with sendmail, the rate limits are
256 checked. If the authenticated user has not exceeded the hourly rate 256 checked. If the authenticated user has not exceeded the hourly rate
257 limits, then the mail is accepted, the filtering contexts are not used, 257 limit, then the mail is accepted, the filtering contexts are not used,
258 the dns lists are not checked, and the body content is not scanned. If 258 the dns lists are not checked, and the body content is not scanned. If
259 the client has not authenticated with sendmail, we follow these steps 259 the client has not authenticated with sendmail, we follow these steps
260 for each recipient. 260 for each recipient.
261 </para> 261 </para>
262 <orderedlist> 262 <orderedlist>
574 <refsect1 id='sample.5'> 574 <refsect1 id='sample.5'>
575 <title>Sample</title> 575 <title>Sample</title>
576 <literallayout class="monospaced"><![CDATA[ 576 <literallayout class="monospaced"><![CDATA[
577 context main-default { 577 context main-default {
578 // outbound dnsbl filtering to catch our own customers that end up on the sbl 578 // outbound dnsbl filtering to catch our own customers that end up on the sbl
579 dnsbl localp partial.blackholes.five-ten-sg.com "Mail from %s rejected - local; see http://www.five-ten-sg.com/blackhole.php?%s";
579 dnsbl local blackholes.five-ten-sg.com "Mail from %s rejected - local; see http://www.five-ten-sg.com/blackhole.php?%s"; 580 dnsbl local blackholes.five-ten-sg.com "Mail from %s rejected - local; see http://www.five-ten-sg.com/blackhole.php?%s";
580 dnsbl sbl sbl-xbl.spamhaus.org "Mail from %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s"; 581 dnsbl sbl sbl-xbl.spamhaus.org "Mail from %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s";
581 dnsbl dul dul.dnsbl.sorbs.net "Mail from %s rejected - dul; see http://www.sorbs.net/lookup.shtml?%s"; 582 dnsbl dul dul.dnsbl.sorbs.net "Mail from %s rejected - dul; see http://www.sorbs.net/lookup.shtml?%s";
582 dnsbl_list local sbl dul; 583 dnsbl_list local sbl dul;
583 584
600 // we only send bounces to our own customers 601 // we only send bounces to our own customers
601 env_from unknown { 602 env_from unknown {
602 "<>" black; 603 "<>" black;
603 }; 604 };
604 605
605 // per recipient rates - only used in the default (first top level) context 606 // hourly recipient rate limit by smtp auth client id
606 rate_limit 30 { // default 607 rate_limit 30 { // default
607 fred 100; // override default limits 608 fred 100; // override default limits
608 joe 10; // "" 609 joe 10; // ""
609 }; 610 };
610 }; 611 };