Re: blacklistd, blocklistd and Postfix

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Tue, 02 Dec 2025 08:46:15 UTC
On 2 Dec 2025, at 09:30, Lexi Winter <ivy@FreeBSD.org> wrote:
> 
> Juraj Lutter wrote in <38446FB2-D17B-4F91-BDFA-866B1F025DE1@lutter.sk>:
>>> in /etc/rc.conf, i have this for Postfix:
>>> 
>>> blocklistd_flags="-r -s /var/spool/postfix/var/run/blacklistd.sock"
>>> 
>>> does Postfix still need blacklistd.sock, or does it prefer
>>> blocklistd.sock?
>> 
>> mail/postfix maintainer here:
>> 
>> It relies on whatever blacklist_open() wants/needs/provides.
> 
> thanks.  so i will ask a new question: what does blacklist_open()
> expect?

contrib/blocklist/include/bl.h has:

#ifndef _PATH_BLSOCK
#define _PATH_BLSOCK "/var/run/blocklistd.sock"
#endif

I don't see it overridden anywhere in a Makefile, but I may have missed it. :)

-Dimitry