-------- Original-Nachricht -------- Datum: Tue, 06 Feb 2007 15:49:42 +0100 Von: Marcin Krol <[EMAIL PROTECTED]> An: dspam-users@lists.nuclearelephant.com CC: Betreff: [dspam-users] Whitelisting
> Hello everyone, > Hallo Marcin > Does anyone know how to get DSPAM explicitly recognize the address fed > to it as whitelisted? > It depends on your configuration. But in general the From: header line must have enough innocent hits to be recognized as whitelisted. For example: Your email is: Marcin Krol <[EMAIL PROTECTED]> If I get a email from you, then DSPAM will transform the header from line to a hash and increase the spam_hits or innocent_hits by one. The token for your email would be: mail tmp # dspam_crc 'From*Marcin Krol <[EMAIL PROTECTED]>' TOKEN: 'From*Marcin Krol <[EMAIL PROTECTED]>' CRC: 12966070897030757792 mail tmp # If that token would have enough innocent hits for my uid, then you are considered as whitelisted. > I need to add address whitelist/blacklist management feature to this > very nice PHP web ui by Michael Thompson: > > http://michaelthompson.org/dspam/ > > I've read his code, but still have no idea how he does this, all I found > is this: > > } > if( strlen($email)<1 ) $email = "#$msgFrom"; > queueMail($wl_user,"wl-add:$user",$email); > } > > > It seems like he's feeding "wl-add:someuser" string into subject: > > function queueMail($addr,$subj,$msg,$header=null) > { > [...] > > I have no idea what this does to/with DSPAM. :-) If somebody knows, > please share this secret command with me, OK? > > It's either that, or adding this user directly to MySQL database I > guess? But there has to be some 'whitelist command' feature in DSPAM > given it uses many storage backends. > For blacklisting it is much more easy: In my setup all the DSPAM data are in /var/spool/dspam/data. So my directory is (depending if you have domain or large scale this directory could be different on your setup): /var/spool/dspam/data/s/t/[EMAIL PROTECTED]/ I can blacklist addresses by adding them to: /var/spool/dspam/data/s/t/[EMAIL PROTECTED]/[EMAIL PROTECTED] > -- > Marcin Krol > cheers Steve > Domeny, Hosting, Kolokacja, Certyfikaty SSL, Monitoring serwerów ... > ------------------------------------------------------------------ > DOMENY.PL sp. z o.o. ul. Wielicka 50, 30-552 Kraków, Poland > tel. +48(12)296 3663, info: +48 501 DOMENY > fax. +48(12)296 3664, +48(22)3 987 365 > e-mail: [EMAIL PROTECTED], www: http://www.Domeny.pl > ------------------------------------------------------------------ > Komunikator online/ Live Chat: > http://live2.domeny.pl/request_email.php?l=phplive&x=1&deptid=2 > -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer