Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#44976 - [dspam] minor fixes

Attached to Project: Community Packages
Opened by Radek Podgorny (rpodgorny) - Friday, 15 May 2015, 15:55 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 27 July 2015, 09:53 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


1) a typo in post-install message: accordenly

2) the paths in the same message /var/lib/dspam/mysql/mysql_objects-space.sql and /var/lib/dspam/mysql/mysql_objects-speed.sql are non-existent.

3) the recommendation to use either mysql_objects-space.sql or mysql_objects-speed.sql seems misleading as the files themselves include: "THIS FILE SHOULD ONLY BE USED ON MYSQL < 4.1, FOR MYSQL 4.1+ PLEASE USE mysql_objects-4.1.sql FILE". so perhaps, you should link to /usr/share/dspam/mysql/mysql_objects-4.1.sql
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 27 July 2015, 09:53 GMT
Reason for closing:  Fixed
Comment by Radek Podgorny (rpodgorny) - Friday, 15 May 2015, 16:02 GMT

4) the message should also mention the need for creation of dspam_virtual_uids table (otherwise dspam chokes when run).

5) the package ships with /usr/share/dspam/mysql/virtual_user_aliases.sql and /usr/share/dspam/mysql/virtual_users.sql which create the dspam_virtual_uids table but each one slightly differently. which one should i use?
Comment by Radek Podgorny (rpodgorny) - Friday, 15 May 2015, 16:08 GMT
6) the /var/lib/dspam is owned by root but the daemon runs under dspam user. therefore dspam fails with "Unable to create directory: /var/lib/dspam/data: Permission denied". fixed by "sudo chown dspam:dspam /var/lib/dspam" but the correct solution should probably be to add this to /usr/lib/tmpfiles.d/dspam.conf