[Greylist-users] problems in SPAMD greylist with OpenBSD 4.9

Ali Faiez Taha aftaha at cirp.usp.br
Thu May 19 10:54:34 PDT 2011


I am trying to undestand some problems with a greylist, SPAMD, in OpenBSD 4.9. recent install.
According to the rules and parameters in /etc/rc.conf, /etc/syslog.conf, pf.conf and /etc/mail/spamd.conf, (bellow) , when I use the
spamdb command, there are not at least ONE line with GREY word.

-----------------------------------------------------------------------------------------------------------------------------
* partial /etc/rc.conf:
# For normal use: "-L sm-mta -bd -q30m", and note there is a cron job
sendmail_flags="-L sm-mta -C/etc/mail/localhost.cf -bd -q30m"
spamd_flags="-v -n \"domain.com.br - DOMAIN\" -G 5:1:864" # for normal use: "" and see spamd(8)
spamd_black=NO          # set to YES to run spamd without greylisting
spamd_grey=YES
spamlogd_flags=""       # use eg. "-i interface" and see spamlogd(8)


* partial /etc/syslog.conf:
!spamd
daemon.err;daemon.warn;daemon.info;daemon.debug         /var/log/spamd
!spamlogd
daemon.debug                                            /var/log/spamlogd


* partial /etc/pf.conf
table <spamd-white> persist
table <nospamd> persist file "/etc/mail/nospamd"
pass in log on egress proto tcp from <whitelist> to any port smtp rdr-to $mail_server port smtp
pass in log on egress proto tcp from any to any port smtp rdr-to 127.0.0.1 port spamd
pass in log on egress proto tcp from <nospamd> to $mail_server port smtp
pass in log on egress proto tcp from <spamd-white> to any port smtp
pass out log on egress proto tcp to any port smtp
pass out log on egress proto tcp from $ext_if to any port smtp
table <spamd> persist
pass in log on egress proto tcp from <spamd> to any port smtp rdr-to 127.0.0.1 port spamd
pass out log quick on $ext_if inet proto tcp to any port smtp


* partial /etc/mail/spamd.conf
all:\
        :blacklist:whitelist:
whitelist:\
        :white:\
        :method=file:\
        :file=/etc/whitelist.conf:
blacklist:\
        :black:\
        :msg="SPAM. Your address %A is blocked":\
        :method=file:\
        :file=/etc/blacklist.conf:
-----------------------------------------------------------------------------------------------------------------------------

Any help ?

Thanks.


More information about the Greylist-users mailing list