On 8/27/12 1:34 PM, Christophe Garault wrote: > On 22/08/2012 19:20, Benny Pedersen wrote : >> Den 2012-08-22 18:43, Christophe Garault skrev: >> >>> Le 22/08/2012 18:33, Benny Pedersen a écrit : >>> >>>> in this mail is found !DSPAM:503506e6195581958918765! >>>> Yes I know. That was my question Benny: how do I set OptIn and >>>> OptOut in order to have all my incoming mails going to spamd while >>>> leaving the >>>> outgoing one untouched ??? >>>> >> put opt in >> >> in dspam.conf >> >> in sql put this >> >> INSERT INTO `dspam_preferences` (`uid`, `preference`, `value`) VALUES >> (1, 'optIn', 'on'); >> >> >> uid 1 is me :) >> >> > Thanks for answering Benny, > > I did what you said but I wonder if "opt" is case sensitive because it's > "Opt" in my dspam.conf: > > Preference "optIn=on" # { on | off } > Preference "optOut=off" # { on | off } > Opt in > > > Also, optOut is for outgoing mail right ?
DSPAM has no concept on incoming or outgoing mail. You just send e-mail to it, it gets processed (or not), and then sent forth. Optin/Out only describes if messages passed to DSPAM are processed or not. If you set "Opt in", then all messages that DSPAM receives, are passed on without being processed. Users then need to opt-in in their prefs to get their messages processed. The Preference Optin/Optout are defaults for these settings. If you setup the Optin/out stuff correctly, only messages received by users that are opted in will be processed by dspam. Outgoing messages generally don't go to your users but to fri...@hotmail.com, and since fri...@hotmail.com is not opted in, no processing will happen. So set in dspam.conf: Opt in Preference "OptIn=on" Preference "OptOut=off" Then add users to dspam user database. It would also be a good idea to set the Optin pref in the users preferences: dspam_admin add pref 'u...@example.com' OptIn on NB: If you have more questions regarding dspam configuration, please send them to the -users list, where more ppl are available to help you, and more ppl can learn from the given answers (now and in the future). Thanks ;) -- Tom ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Dspam-devel mailing list Dspam-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-devel