My spamd greylisting configuration does not appear to be working. It is probably something to do with the following result I get when I run spamd-setup:

    $ doas sh /usr/libexec/spamd-setup -n
    /usr/libexec/spamd-setup[1]: syntax error: NUL byte unexpected

This puzzles me. The contents of spamd-setup is taken straight from the spamd.conf man page:

all:\
        :nixspam:override:myblack:

nixspam:\
        :black:\
        :msg="Your address %A is in the nixspam list\n\
        See http://www.heise.de/ix/nixspam/dnsbl_en/ for details":\
        :method=https:\
        :file=www.openbsd.org/spamd/nixspam.gz

override:\
        :white:\
        :method=file:\
        :file=/etc/mail/override.txt:

myblack:\
        :black:\
        :msg=/etc/mail/myblackmsg.txt:\
        :method=file:\
        :file=/etc/mail/myblack.txt:

I don't see any funky characters in either myblackmsg.txt or myblack.txt.

Might anyone kindly point out what else could be going wrong here?

Many thanks in advance.


Reply via email to