Home (/var/dspam) deleted; now unable to recreate data.
John Smith <[email protected]> Fri, 20 Mar 2015 19:37:55 -0600
| Newsgroups | gmane.mail.spam.dspam.user |
|---|---|
| Message-ID | <CAAArM6ckVKZ3fYDKWUDf9Wti1OnuDafOAv8ms3+chJojkFSQzg@mail.gmail.com> |
Debian 7, Postfix 2.6, Dovecot 2.0.14, dspam 3.10.1 Everything was up and running smoothly, but in a poor attempt to force data and statistics to be restarted from scratch (and to move Home to a new location), changed the location of Home in the config file, deleted /var/spool/dspam and started dspam back up. Let me reiterate that *nothing* else was changed. We stopped dspam, removed the directory, started dspam. Boom. Instead of recreating the file structure in the new location (as it had to do the first time it was ever run), it spits out the following any time a spam message is moved into the junk folder or "dspam_stats -H <user>" is run (or anything else involving dspam occurs, of course). --- Mar 21 01:10:16 burg dspam[4967]: Unable to open file for writing: /var/newlocation/dspam/data/virtualdomain.com/ bobsmith/bobsmith.lock: No such file or directory Mar 21 01:10:16 burg dspam[4967]: unable to attach dspam context --- I've tried manually creating the directories (though I then of course have no way of knowing how to properly secure them or what permissions they dspam requires on them), but even though dspam is able to create the bobsmith.css and bobsmith.lock file after that, anything involving spam or training results in a complaint about trying to find signatures. I've also tried reinstalling and the removing and installing again, in the hopes that would somehow spur it to generate the file structure within /var/newlocation/dspam that it needs. Still no luck. Any help to get over this dumb mistake would be sincerely appreciated. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Dspam-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspam-user