Building the Network You Need with OpenBSD's PF: BSDCan, Ottawa May 6th, 2009
Prev |  | Next

# Setting up spamd

Edit `spamd.conf` to specify blacklists and whitelists

    all:\
    :uatraps:whitelist:

    uatraps:\
            :black:\
            :msg="SPAM. Your address %A has sent spam within the last 24 hours":\
            :method=http:\
            :file=www.openbsd.org/spamd/traplist.gz

    whitelist:\
            :white:\
            :method=file:\
            :file=/var/mail/whitelist.txt