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


William Taylor <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[EMAIL PROTECTED]




--- Comment #2 from William Taylor <[EMAIL PROTECTED]>  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 | [EMAIL PROTECTED] 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
[EMAIL PROTECTED] 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.

Reply via email to