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 2008/10/24 22:56:45 UTC

[Bug 6003] New: whitelist_from_rcvd propagates to other users

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6003

           Summary: whitelist_from_rcvd propagates to other users
           Product: Spamassassin
           Version: 3.2.5
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: spamc/spamd
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: williamt@sonic.net


This looks to be along the same lines as bug # 4179

We are seeing whitelist_from_rcvd rules propagating to other users in the same
spamd thread.
Im not sure what sort of information if any you would need to help track this
down.


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6003] whitelist_from_rcvd propagates to other users

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


Justin Mason <jm...@jmason.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P5                          |P2




--- Comment #6 from Justin Mason <jm...@jmason.org>  2009-06-30 02:52:11 PST ---
actually, I want to look at this after the alpha.

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6003] whitelist_from_rcvd propagates to other users

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

Justin Mason <jm...@jmason.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jm@jmason.org
         Resolution|                            |FIXED

--- Comment #7 from Justin Mason <jm...@jmason.org> 2009-09-15 15:06:48 PDT ---
and fixed:

: 288...; svn commit -m "bug 6003: fix leakage of 'whitelist_from_rcvd' entries
between spamd users" 
Sending        lib/Mail/SpamAssassin/Conf.pm
Sending        t/spamd_user_rules_leak.t
Adding         t/spamd_whitelist_leak.t
Transmitting file data ...
Committed revision 815516.

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6003] whitelist_from_rcvd propagates to other users

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


Justin Mason <jm...@jmason.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|Undefined                   |3.3.0




--- Comment #1 from Justin Mason <jm...@jmason.org>  2008-10-27 15:01:36 PST ---
hi William -- if you can come up with a test case that demos the bug, that'd be
great...


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6003] whitelist_from_rcvd propagates to other users

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





--- Comment #5 from William Taylor <wi...@sonic.net>  2009-05-08 10:41:40 PST ---
bump... Had anytime to revist this yet ?


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6003] whitelist_from_rcvd propagates to other users

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


William Taylor <wi...@sonic.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |williamt@sonic.net




--- Comment #2 from William Taylor <wi...@sonic.net>  2008-10-29 09:50:30 PST ---
Here is what I do to replicate it:
user josh prefs:
mysql> select * from userpref where preference='whitelist_from_rcvd' and
username='josh';
+----------+---------------------+-----------------------+---------+
| username | preference          | value                 | prefid  |
+----------+---------------------+-----------------------+---------+
| josh     | whitelist_from_rcvd | * localdomain         | 1182755 |
| josh     | whitelist_from_rcvd | * localhost           | 1182772 |
| josh     | whitelist_from_rcvd | *.sonic.net sonic.net | 1233361 |
| josh     | whitelist_from_rcvd | *@sonic.net sonic.net | 1957930 |
+----------+---------------------+-----------------------+---------+

user dms prefs:
mysql> select * from userpref where preference='whitelist_from_rcvd' and
username='dms';
Empty set (0.00 sec)


cat  foo.msg  | /bin/spamc -u josh -t 180 -H -f -d a.ourspamserver.net -p 784

on a.ourspamserver I look for the pid from the message of user josh.
I then grep for that pid and start sending these:
cat  foo.msg  | /bin/spamc -u dms -t 180 -H -f -d a.ourspamserver.net -p 784
Until I catch the child that user josh used.

I then see this from some debugging code I put into WLBLEval.pm in  'sub
_check_whitelist_rcvd'
HERE:
          if ($rdns =~ /(?:^|\.)\Q${domain}\E$/i) { 
            log_message("info", "FOOBEE: rules: address $addr matches
(def_)whitelist_from_rcvd $list->{$white_addr}{re} ${domain}");
            dbg("rules: address $addr matches (def_)whitelist_from_rcvd
$list->{$white_addr}{re} ${domain}");
            return 1;
          }


from message processed as user dms:
Oct 29 09:39:51 c spamd[11329]: FOOBEE: rules: address
prog-status-bounces+dms=corp.sonic.net@listman.sonic.net matches
(def_)whitelist_from_rcvd ^.*\.sonic\.net$ sonic.net


If you need more info please let me know.


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6003] whitelist_from_rcvd propagates to other users

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





--- Comment #3 from William Taylor <wi...@sonic.net>  2008-12-10 11:58:48 PST ---
Justin,

 Any luck at reproducing this ?


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6003] whitelist_from_rcvd propagates to other users

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





--- Comment #4 from Justin Mason <jm...@jmason.org>  2008-12-15 15:02:42 PST ---
(In reply to comment #3)
> Justin,
> 
>  Any luck at reproducing this ?

hi William -- unfortunately I haven't had the time to look into this :(


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.