Bug#893839: sqwebmail fix for cache login and right permissions
On 1/2/21 6:44 AM, PICCORO McKAY Lenz wrote: Jan 1 23:33:53 isomaker sqwebmaild: LOGIN, user=user, ip=[186.91.0.20] Jan 1 23:33:53 isomaker sqwebmaild: maildircache: Cache create failure - unable to create file /var/cache/sqwebmail/223550/us/user. solution seems easy and no security will implicate here: in sqwebmail.postinst line 68: add_override courier bin 0770 /var/cache/sqwebmail and in sqwebmail.prerm line 51: del_override courier bin 0770 /var/cache/sqwebmail Thanks for the diagnostics and providing a patch. This was explained in the pull !9 README.Debian of the courier git work and i will added that patch to the merge request. Please stop extending that single pull request, otherwise I won't ever finish reviewing it and it can't ever get merged. Instead, for future fixes and enhancements, please file individual merge requests. Something like one per bug or topic would be ideal. Regards Markus
Bug#893839: sqwebmail fix for cache login and right permissions
as of /etc/cron.d/sqwebmail points.. the user that seems own the cache directory of the sqwebmail is "bin" and cos that the cache files for users when no virtual ones are setup (pam, localdb, ldap) cannot be created: Jan 1 23:33:53 isomaker sqwebmaild: LOGIN, user=user, ip=[186.91.0.20] Jan 1 23:33:53 isomaker sqwebmaild: maildircache: Cache create failure - unable to create file /var/cache/sqwebmail/223550/us/user. solution seems easy and no security will implicate here: in sqwebmail.postinst line 68: add_override courier bin 0770 /var/cache/sqwebmail and in sqwebmail.prerm line 51: del_override courier bin 0770 /var/cache/sqwebmail This was explained in the pull !9 README.Debian of the courier git work and i will added that patch to the merge request. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com