Feature Requests item #2824760, was opened at 2009-07-21 13:16
Message generated for change (Comment added) made by sbajic
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126468&aid=2824760&group_id=250683

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: None
>Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Carlo Rodrigues (csmr)
>Assigned to: Stevan Bajic (sbajic)
Summary: Preferences ignored when using shared,managed groups

Initial Comment:
When using shared,managed groups, all info (stats, history, quarantine and 
preferences) are relative to the group, and can be seen/managed on the webui,
When the group manager changes the preferences for his group, on the 
preferences pane, they are always ignored.

When  an email comes, dspam just checks if there are any preferences for the 
user itself and for uid 0, If there aren't, dspam uses the preferences in 
dspam.conf.

26720: [07/21/2009 11:58:14] input args: dspam --debug --process --user 
[email protected] --deliver=innocent --stdout
26720: [07/21/2009 11:58:14] pass-thru args:
26720: [07/21/2009 11:58:14] processing user [email protected]
26720: [07/21/2009 11:58:14] uid = 1111, euid = 1111, gid = 1111, egid = 1111
26720: [07/21/2009 11:58:14] loading preferences for user [email protected]
26720: [07/21/2009 11:58:14] _mysql_drv_getpwnam: returning NULL for query on 
name: [email protected]
26720: [07/21/2009 11:58:14] _ds_pref_load: unable to 
_mysql_drv_getpwnam([email protected])
26720: [07/21/2009 11:58:14] Loading preferences for uid 0
26720: [07/21/2009 11:58:14] Loading preferences for uid 0
26720: [07/21/2009 11:58:14] default preferences empty. reverting to dspam.conf 
preferences.
26720: [07/21/2009 11:58:14] Loading preferences from dspam.conf
26720: [07/21/2009 11:58:14] using /var/dspam/opt-in/[email protected] 
as path
26720: [07/21/2009 11:58:14] using 
/var/dspam/opt-out/[email protected] as path
26720: [07/21/2009 11:58:14] assigning user [email protected] to group 
[email protected]

$ dspam_admin list pref [email protected]
enableBNR=on
showFactors=off
signatureLocation=message
trainingMode=TUM

The point of the shared,managed groups is for someone to manage that group, and 
to set the global preferences for that group. The training mode, the signature 
location, etc. This cannot be accomplished with the current implementation.

----------------------------------------------------------------------

>Comment By: Stevan Bajic (sbajic)
Date: 2009-07-21 16:37

Message:
Hallo Carlo

> The point of the shared,managed groups is for someone to manage that
> group, and to set the global preferences for that group. The training
> mode, the signature location, etc. This cannot be accomplished
> with the current implementation.
>
Is that really the point of shared,managed groups? I don't use
shared,managed groups so I never have thought about it from a configuration
viewpoint. I always looked at groups from a data storage viewpoint and
never from a configuration viewpoint.


> When the group manager changes the preferences for his group,
> on the preferences pane, they are always ignored.
>
What do you mean with ignored? Are they written back to the preference
table? Can you check that?


Now that you bring that topic up... I think it is logical to allow the
groups to have more value then just being storage for tokens. I would say
that the logic regarding preferences should be:
Priority 1) User preferences
Priority 2) Use group preferences
Priority 3) Use default preferences (uid 0)
Fallback) Use preferences from dspam.conf

What do you think?

I am btw going to move that to Feature Request since the functionality you
mention is not advertised that way in the DSPAM documentation. I know, I
know. Now after reading your text it seems logical to me to have that in
place but you have to be honest that this way of group handling was never
advertised in DSPAM.


Kind Regards from Switzerland

Stevan Bajic

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126468&aid=2824760&group_id=250683

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Dspam-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-devel

Reply via email to