Hi all. I'm trying dspam for the first time and would like to mention something that totally baffled me until I hit on a vital clue after much Googling and bewilderment. I hope my uninformed observations might suggest some additions to the documentation aimed at new users.
I managed to compile dpsam and integrate it with mysql and Exim (with virtual users) following the documentation - so far so good. I used the "simple" approach of creating a single s...@mydomain account and enabled MySQLUIDInSignature. I added the following redirect to Exim.conf: [email protected]: "|/usr/local/bin/dspam --user root --class=spam --source=error" Incidentally, the dspam /doc/exim.txt file talks about adding directors to exim.conf though this term is obsolete with Exim 4. I Googled to find out what a director was as I've only ever used Exim 4. From the Exim 4 README: <begin quote> In Exim 4, there's no such thing as directors -- you need to add a new router instead. </end quote> I followed http://wiki.ledhed.net/index.php/DSpam_File_Permissions to the letter. The problem was dspam did not retrain on emails sent to s...@mydomain. Basically dspam just wasn't working and even after checking dspam's logging info I was still totally bewildered. Finally found the solution (I think - so far things seem to be working) after much Googling: http://www.mail-archive.com/[email protected]/msg01765.html The crucial information from the above post being: <begin quote> ...it is absolutely crucial that the user specified on the commandline as argument to the user option should be known to dspam, i.e., there has to be a matching entry in the dspam_virtual_uids table. Dspam will switch to the uid given in the signature eventually, but you still have to start out with a known user. This matter really should be discussed somewhere prominently in the docs, by the way, as it seems to cause people headaches over and over again. Regards, Elias <end quote> I assumed the user "root" passed to the "--user" option was the system root user. I didn't know dspam was checking for an entry in the dspam_virtual_uids table. As the above post says this really should be highlighted in the docs. One thing I discovered later than I should have is the dspam man page is very good. Spells out things very clearly. I'd recommend all new users start with that. I'm looking forward to tailoring dspam to my needs - seems very configurable. I guess that's part of the reason it is so overwhelming to a new user. Paul Christopher. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Dspam-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspam-user
