Monday, November 03, 2025

Re: spamd-setup error

More info:

I suspect it may be related to the behavior mentioned here:
https://www.undeadly.org/cgi?action=article;sid=20240924105732

On 11/3/2025 1:44 PM, Scott Vanderbilt wrote:
> 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.
>
>

No comments:

Post a Comment