On 04-04-13 21:55, Antonin wrote: > Hello, > > I am using dspam 3.10.1 (from debian backports). Filtering and access > to the web frontend are working OK, data gets stored in > /var/spool/dspam/data/$domain/$user_without_domain. > > However, when I try to use the command line tools (such as > dspam_stats) or try to set an admin user for the web frontend, dspam > starts looking for data in > /var/spool/dspam/data/local/$user_without_domain. > > For example, dspam_stats fails with the error message "Unable to > attach DSPAM context" (one error message per user) and the web > frontend combo list to select the user to switch to is empty. > > If I symlink /var/spool/dspam/data/local to > /var/spool/dspam/data/$domain, it works OK but each user shows twice > in the lists and only as $user_without_domain (not as $user@$domain). > > How can I make the command line tools and the web frontend use the > /var/spool/dspam/data/$domain/$user_without_domain folder structure ? > > I tried setting $CONFIG{'AUTODETECT'} = 0 and $CONFIG{'DOMAIN_SCALE'} > = 1 in configure.pl but it doesn't help. >
The data/local/username construct is used if you have a setup that requires usernames formatted as email addresses (you have that) but you use a login name without a domain. Dspam then uses the 'local' string in stead of the domain you failed to use. Since you state that data is stored in 'data/$domain/$localpart', it seems that most accounts are ok. What kind of username fails, and under which circumstances? Which cli or webui do you use, and show commandline examples? -- Tom ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user