1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
# Postscreen Settings
postscreen_access_list = permit_mynetworks,
    cidr:/etc/postfix/postscreen_access.cidr
postscreen_dnsbl_threshold = 3
postscreen_dnsbl_sites =
    list.dnswl.org=127.0.[0..255].3*-5,
    list.dnswl.org=127.0.[0..255].2*-3,
    list.dnswl.org=127.0.[0..255].1*-1,
    #zen.spamhaus.org=127.0.0.2*2,
    #zen.spamhaus.org=127.0.0.3*2,
    #zen.spamhaus.org=127.0.0.[4..8]*1,
    #zen.spamhaus.org=127.0.0.[10..11]*1,
    bl.mailspike.net=127.0.0.2*2,
    bl.mailspike.net=127.0.0.10*2,
    bl.mailspike.net=127.0.0.[11..12]*1,
    b.barracudacentral.org*1,
    dnsbl.njabl.org*1,
    dnsbl.ahbl.org*1,
    dnsbl.sorbs.net*1,
    bl.spamcop.net*1

postscreen_dnsbl_action = drop
postscreen_dnsbl_ttl = 1h
postscreen_helo_required = yes
postscreen_blacklist_action = drop
postscreen_cache_cleanup_interval = 12h
postscreen_cache_retention_time = 7d
postscreen_client_connection_count_limit = 25
postscreen_command_count_limit = 20
postscreen_command_time_limit = ${stress?10}${stress:60}s
postscreen_greet_action = drop
postscreen_greet_ttl = 1d
postscreen_greet_wait = ${stress?3}${stress:7}s