On Mon, Mar 05, 2007 at 10:41:07PM +0000, David Reid wrote: > I'm trying to move my usage of dspam along but can't seem to > arrive at a point where the quarantine files are created. I think > this is due to my using --deliver=innocent,spam for the client and > so all spam messages are delivered (even if the preference > 'spamAction' is set to 'quarantine') - does that make sense? > > If it is, is there any way that I can specify that a specific user > has messages quarantined on the server while everyone else has > them delivered?
I think you just need to do it the other way around; set the --deliver option to innocent, and then use user preferences to determine if it should be quarantined or not. Obviously, you'd set the default to quarantine, then individual users can change that if they want to. You should be able to use something like dspam_admin list pref default to see what preferences are set by default, and dspam_admin change pref default spamAction deliver to set the default action if needed. Possible actions are: quarantine - what you'd expect deliver - deliver normally (but with X-Dspam headers) tag - deliver, but prepend text to the subject line If you choose to tag it, the preference "spamSubject" sets the string to prepend; by default I think it's "[SPAM] ". I'm assuming you're using one of the database backends for user info; I'm not sure if the dspam_admin command works for file-based preferences (though I would hope it does). > I assume patches to the readme file are accepted? :-) Well, Jon hasn't been around much lately and I don't know who else has commit access, so I'm not sure there's anyone around to "accept" them. But certainly any corrections to the docs would be useful for others to see.
