https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7442
Bug ID: 7442
Summary: UPDATE permission needed on bayes_seen
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Documentation
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: Undefined
There is an error in the grants in the README.bayes file at:
GRANT SELECT, DELETE, INSERT ON TABLE bayes_seen TO <username>;
I'm using the MySQL driver (maybe it matters), and UPDATE permission is
needed on bayes_seen to avoid:
write(6, "\257\0\0\0\3INSERT INTO bayes_seen (id, msgid, flag)\n
VALUES
('2','2d74cc15f332ac5a1789ac7d979ef9320ac98d80@sa_generated','s')\n\t ON
DUPLICATE KEY UPDATE flag=VALUES(flag)", 179) = 179
read(6, "X\0\0\1\377v\4#42000UPDATE command denied to user
'spamassassin'@'localhost' for table 'bayes_seen'", 16384) = 92
I'm running 3.4.1-6~bpo8+1 from jessie-backports (README.bayes in trunk is the
same) and mariadb-server 10.0.30-0+deb8u2.
--
You are receiving this mail because:
You are the assignee for the bug.