You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@spamassassin.apache.org on 2025/03/21 02:36:09 UTC

[Bug 8326] New: erroneous log message when --virtual-config-dir is set

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8326

            Bug ID: 8326
           Summary: erroneous log message when --virtual-config-dir is set
           Product: Spamassassin
           Version: 4.0.1
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: spamc/spamd
          Assignee: dev@spamassassin.apache.org
          Reporter: bugzilla-apache@jon.limedaley.com
  Target Milestone: Undefined

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 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");
}

This has happened for over a decade, but I never got around to reporting it
until now.

Originally filed here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100826

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 8326] erroneous log message when --virtual-config-dir is set

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8326

Giovanni Bechis <gi...@paclan.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |giovanni@paclan.it
         Resolution|---                         |FIXED

--- Comment #1 from Giovanni Bechis <gi...@paclan.it> ---
Sending        spamd/spamd.raw
Transmitting file data .done
Committing transaction...
Committed revision 1924527.

-- 
You are receiving this mail because:
You are the assignee for the bug.