User manual

The dnsbl CLI command provides a means to control and monitor the operation of the SPAM
filtering module. The dnsbl command on its own without options shows the overall status of all
ALGs. If the name of the SMTP ALG object on which DNSBL SPAM filtering is enabled is
my_smtp_alg then the output would be:
gw-world:/> dnsbl
DNSBL Contexts:
Name Status Spam Drop Accept
------------------------ -------- -------- -------- --------
my_smtp_alg active 156 65 34299
alt_smtp_alg inactive 0 0 0
The -show option provides a summary of the SPAM filtering operation of a specific ALG. It is used
below to examine activity for my_smtp_alg although in this case, the ALG object has not yet
processed any emails.
gw-world:/> dnsbl my_smtp_alg -show
Drop Threshold : 20
Spam Threshold : 10
Use TXT records : yes
IP Cache disabled
Configured BlackLists : 4
Disabled BlackLists : 0
Current Sessions : 0
Statistics:
Total number of mails checked : 0
Number of mails dropped : 0
Number of mails spam tagged : 0
Number of mails accepted : 0
BlackList Status Value Total Matches Failed
------------------------- -------- ----- -------- -------- --------
zen.spamhaus.org active 25 0 0 0
cbl.abuseat.org active 20 0 0 0
dnsbl.sorbs.net active 5 0 0 0
asdf.egrhb.net active 5 0 0 0
To examine the statistics for a particular DNSBL server, the following command can be used.
gw-world:/> dnsbl smtp_test zen.spamhaus.org -show
BlackList: zen.spamhaus.org
Status : active
Weight value : 25
Number of mails checked : 56
Number of matches in list : 3
Number of failed checks (times disabled) : 0
To clean out the dnsbl cache for my_smtp_alg and to reset all its statistical counters, the following
command option can be used:
gw-world:/> dnsbl my_smtp_alg -clean
Tip: DNSBL servers
A list of DNSBL servers can be found at
http://en.wikipedia.org/wiki/Comparison_of_DNS_blacklists.
6.2.6. The POP3 ALG Chapter 6. Security Mechanisms
223