On Thu, 16 May 2024, M. Braun wrote:
> I've seen the same warning in my systemctl status output and tried
> using the suggested postfix configuration:
>
> milter_connect_macros = j {daemon_name} v {if_name} _
> milter_data_macros = j i {auth_type} {daemon_name} v {if_name} _
> milter_default_action = tempfail
> milter_rcpt_macros = j {auth_type} {daemon_name} v {if_name} _
> smtpd_milters = unix:/var/run/clamav/milter.ctl unix:/spamass/spamass.sock
>
> But I'm still receiving the warning
>
> spamass-milter[2573624]: Could not retrieve sendmail macro "b"!. Please add
> it to confMILTER_MACROS_ENVRCPT for better spamassassin results
That's expected; there are a number of macros that postfix does not support.
Reasonable values are put in place for those macros, so it shouldn't be
a big deal.
[The proposed patch just silences the warnings.]
--
Don Armstrong https://www.donarmstrong.com
I may not have gone where I intended to go, but I think I have ended
up where I needed to be.
-- Douglas Adams _The Long Dark Tea-Time of the Soul_