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...@bugzilla.spamassassin.org on 2005/09/20 23:59:09 UTC

[Bug 4595] New: WhiteListSubject rules global?

http://bugzilla.spamassassin.org/show_bug.cgi?id=4595

           Summary: WhiteListSubject rules global?
           Product: Spamassassin
           Version: 3.1.0
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Plugins
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: jbrunette@excel.net


Using WhiteListSubject plugin that came with 3.1.0 final.

If a spamd child process that is set to die after scanning n messages loads the
config of a user who has "whitelist_subject" and/or "blacklist_subject" rules,
those rules are applied to every message it scans thereafter until it dies or is
recycled.

If bsmith has "whitelist_subject a" and a spamd child process scans a bsmith
message, the "whitelist_subject a" rule is seemingly added as a global rule in
that child process.  Any other messages that are scanned by that child process
will have the "whitelist_subject a" rule applied, regardless of what user spamd
is scanning for or what their config is.



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

[Bug 4595] [review] WhiteListSubject rules global?

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4595





------- Additional Comments From duncf@debian.org  2005-11-07 20:10 -------
+1



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

[Bug 4595] [review] WhiteListSubject rules global?

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4595


spamassassin@dostech.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
  Status Whiteboard|needs 1 vote                |




------- Additional Comments From spamassassin@dostech.ca  2005-11-20 05:30 -------
3.1 r345714



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

[Bug 4595] WhiteListSubject rules global?

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4595


spamassassin@dostech.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |4179






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

[Bug 4595] WhiteListSubject rules global?

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4595





------- Additional Comments From jbrunette@excel.net  2005-09-21 06:22 -------
Not sure if this is related to bug 4179.  This problem doesn't require
allow_user_rules.  All someone needs to do here is set "blacklist_subject *" in
their config and every subsequent message scanned by that particular spamd
process will be blacklisted until that process dies.




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

[Bug 4595] WhiteListSubject rules global?

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4595





------- Additional Comments From jbrunette@excel.net  2005-09-21 09:25 -------
I found the problem.  When the M::SA::Conf is created, it creates empty values
for all of the known config options ("blacklist_to", "more_spam_to", etc).  It
does not include "whitelist_subject" or "blacklist_subject", however.

When the initial config data is loaded in, it's copied to %conf_backup by spamd.
 Unfortunately, %conf_backup won't have the keys "whitelist_subject" or
"blacklist_subject" if there aren't an entries for them in the default config files.

So, when spamd is finished scanning a message for a user, it wants to restore
%conf_backup.  There are no "whitelist_subject" or "blacklist_subject" keys in
%conf_backup so they remain in the M::SA::Conf for the lifetime of the spamd
process.  This means that if a user has "whitelist_subject" entries in their
config, they will stay there and be used for every subsequent scan until the
spamd child that loaded them dies.




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

[Bug 4595] [review] WhiteListSubject rules global?

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4595





------- Additional Comments From jm@jmason.org  2005-11-18 06:51 -------
+1



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

[Bug 4595] WhiteListSubject rules global?

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4595


felicity@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |major
   Target Milestone|Undefined                   |3.1.1






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

[Bug 4595] [review] WhiteListSubject rules global?

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4595


spamassassin@dostech.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|4179                        |
            Summary|WhiteListSubject rules      |[review] WhiteListSubject
                   |global?                     |rules global?






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

[Bug 4595] WhiteListSubject rules global?

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4595





------- Additional Comments From spamassassin@dostech.ca  2005-10-18 00:00 -------
Created an attachment (id=3193)
 --> (http://bugzilla.spamassassin.org/attachment.cgi?id=3193&action=view)
3.1 patch

Committed revision 326039.



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

[Bug 4595] [review] WhiteListSubject rules global?

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4595


spamassassin@dostech.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bertoncello@internet24.de




------- Additional Comments From spamassassin@dostech.ca  2005-12-06 16:35 -------
*** Bug 4720 has been marked as a duplicate of this bug. ***



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

[Bug 4595] [review] WhiteListSubject rules global?

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4595


spamassassin@dostech.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard|                            |needs 1 vote






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