Package: spamassassin
Version: 4.0.1-1~deb12u1
Severity: minor
Tags: patch

When using --virtual-config-dir the log message 
  "spamd: using default config for $username: $prefsfile" 
is always printed, whether the file exists or not.

I have been using this modification for years to avoid this extraneous log 
message:

# Log that the default configuration is being used for a user.
if ( ! -f $prefsfile ) {
  # jondaley: don't log if the file already exists
  info("spamd: using default config for $username: $prefsfile");
}


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

Kernel: Linux 6.1.0-29-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=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 spamassassin depends on:
ii  adduser                     3.134
ii  curl                        7.88.1-10+deb12u12
ii  libhtml-parser-perl         3.81-1
ii  libhttp-date-perl           6.05-2
ii  libio-string-perl           1.08-4
ii  libmail-dkim-perl           1.20230212-2~deb12u1
ii  libnet-dns-perl             1.36-1
ii  libnetaddr-ip-perl          4.079+dfsg-2+b1
ii  libsocket6-perl             0.29-3
ii  libsys-hostname-long-perl   1.5-3
ii  libwww-perl                 6.68-1
ii  perl [libarchive-tar-perl]  5.36.0-7+deb12u1
ii  sysvinit-utils [lsb-base]   3.06-4

Versions of packages spamassassin recommends:
ii  gnupg                      2.2.40-1.1
ii  libbsd-resource-perl       1.2911-2+b1
ii  libmail-dmarc-perl         1.20211209-4
ii  libmail-spf-perl           2.9.0-5
ii  perl [libsys-syslog-perl]  5.36.0-7+deb12u1
ii  sa-compile                 4.0.1-1~deb12u1
ii  spamc                      4.0.1-1~deb12u1

Versions of packages spamassassin suggests:
ii  libdbi-perl                   1.643-4
pn  libencode-detect-perl         <none>
pn  libgeoip2-perl                <none>
ii  libio-socket-ssl-perl         2.081-2
pn  libnet-patricia-perl          <none>
ii  perl [libcompress-zlib-perl]  5.36.0-7+deb12u1
pn  pyzor                         <none>
pn  razor                         <none>

-- Configuration Files:
/etc/spamassassin/init.pre changed [not included]
/etc/spamassassin/local.cf changed [not included]

-- no debconf information

Reply via email to