# LOG 2/4
log-level=3
log-target=1

# TLS
#tls-certificate-file
#tls-privatekey-file
#tls-privatekey-password
#tls-privatekey-password-file

# SMTP AUTH
#hostname
#hostname-command
#hostname-file
#smtp-auth-command
#smtp-auth-command-encryption

# Relaying
# access-file=/etc/tcp.smtp

# Reverse DNS
ip-in-rdns-keyword-file=/spamdb/blacklist_keywords
reject-empty-rdns
#reject-unresolvable-rdns

# DNS RBLs
check-dnsrbl=zen.spamhaus.org
#check-dnsrbl=bl.spamcop.net

# DNS RHSBLs
#check-rhsbl

# Whitelists
ip-whitelist-file=/spamdb/whitelist_ip
rdns-whitelist-dir=/spamdb/whitelist_rdns.d
#rdns-whitelist-file=/spamdb/whitelist_rdns

# Blacklists
ip-blacklist-file=/spamdb/blacklist_ip
rdns-blacklist-dir=/spamdb/blacklist_rdns.d
#rdns-blacklist-file
# Rejecting Senders and Recipients
local-domains-file=/var/qmail/control/rcpthosts
recipient-blacklist-file=/spamdb/blacklist_recipients
reject-missing-sender-mx
sender-blacklist-file=/spamdb/blacklist_senders

# DNS Whitelists
#check-dns-whitelist
#check-rhs-whitelist

# Whitelisting Senders and Recipients (No es bueno)
#recipient-whitelist-file
#sender-whitelist-file

# GrayList
graylist-dir=/spamdb/graylist
never-graylist-ip-file=/spamdb/graylist-no-ip
never-graylist-rdns-file=/spamdb/graylist-no-dom
# 5 Minutos
graylist-min-secs=300
# 180 Dias
graylist-max-secs=15552000

# Earlytalkers
greeting-delay-secs=5

# Limiting Numbers of Recipients (25)
max-recipients=25

# Timeouts
# 0=Disable
connection-timeout-secs=600
idle-timeout-secs=45