Bug#1031196: spamass-milter: Correct configuration does not work for me

2024-05-16 Thread Don Armstrong
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_



Bug#1031196: spamass-milter: Correct configuration does not work for me

2024-05-16 Thread M. Braun
Package: spamass-milter
Version: 0.4.0-2
Followup-For: Bug #1031196

Dear Maintainer,

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

Regards



-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-20-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to de_DE.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages spamass-milter depends on:
ii  adduser 3.134
ii  libc6   2.36-9+deb12u7
ii  libgcc-s1   12.2.0-14
ii  libmilter1.0.1  8.17.1.9-2
ii  libstdc++6  12.2.0-14
ii  spamc   4.0.0-6

Versions of packages spamass-milter recommends:
ii  postfix   3.7.10-0+deb12u1
ii  spamassassin  4.0.0-6

spamass-milter suggests no packages.

-- Configuration Files:
/etc/default/spamass-milter changed:
OPTIONS="-u spamass-milter -m -i 192.168.0.0/16 -I -f -p 
/var/spool/postfix/spamass/spamass.sock -- 
--socket=/run/spamassassin/spamd.sock"
SOCKET="/var/spool/postfix/spamass/spamass.sock"
SOCKETOWNER="postfix:postfix"
SOCKETMODE="0660"


-- no debconf information