On 06-11-12 17:15, Brian Conry wrote: > Hi, > > I recently set up dspam integrated with postfix on my Ubuntu server. I > used the Ubuntu 12.04 packages for everything. > > After some false starts due to stale HOWTO's floating around, I managed > to get it functional, but there are still some things that aren't quite > right and I haven't been able to identify the culprit from the man pages > or web searches on the symptoms. > > Both of them are related to how dspam is handling things in > /var/spool/dspam/data. > > The first problem is that there is a difference between where the daemon > is storing its information and how manually-run programs (e.g. > dspam_stats) are looking for it. > > The dspam daemon integrated with postfix is storing all of the > information under /var/spool/dspam/data/domainname.com/user (except see > below). The command-line dspam_stats program is looking exclusively at > /var/spool/dspam/data/local/ for information. For the moment I've made > local a symlink to domainname.com, but that's a gross hack and I don't > like it.
dspam is storing the data in $DSPAM_HOME/data/$domain/$localpart here, where the dspam username is assumed to be a regular email address containing a localpart (before the @) and a domain (after the @). When a dspam username is supplied through any of dspam's interfaces without a domain, the bogus domain 'local is used in stead. This means that you are using email addresses as usernames at the daemon side, but not at the cli side. Probably this will show when you run dspam_stats withuout supplying a userame (so it'll list stats for all users). > > The second problem is that the dspam daemon is treating eamil addresses > as being case-sensitive, so there's also a > /var/spool/dspam/data/DOMAINNAME.COM/USER directory. > this would be most conveniently solved by configuring the application that hands your email to dspam. Postfix for instance has an option for folding recipient addresses (flags=u in the pipe(8) command). Depending on you have setup dspam and your MTA, this can probably be solved easily. If you're still unsure, please provide more details about your setup. -- Regards, Tom ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user