[Dovecot] Verbose logs to show ACL hits?
Hi all,
Using Beta here, but can't see anything in dovecot.conf for this?
Any tips?
Gavin.
-- Kind Regards,
Gavin Henry. Managing Director.
T +44 (0) 1224 279484 M +44 (0) 7930 323266 F +44 (0) 1224 824887 E ghenry@suretecsystems.com
Open Source. Open Solutions(tm).
<quote who="Timo Sirainen"> > On Mon, 2006-06-12 at 13:59 +0100, Gavin Henry wrote: >> Hi all, >> >> Using Beta here, but can't see anything in dovecot.conf for this? >> >> Any tips? > > Doesn't exist. If they were added, it should be controlled by mail_debug > setting. Patches welcome ;) >
What files in src/plugins/acl/ should we be looking at?
Thanks.
-- Kind Regards,
Gavin Henry. Managing Director.
T +44 (0) 1224 279484 M +44 (0) 7930 323266 F +44 (0) 1224 824887 E ghenry@suretecsystems.com
Open Source. Open Solutions(tm).
On Mon, 2006-06-12 at 14:15 +0100, Gavin Henry wrote:
<quote who="Timo Sirainen"> > On Mon, 2006-06-12 at 13:59 +0100, Gavin Henry wrote: >> Hi all, >> >> Using Beta here, but can't see anything in dovecot.conf for this? >> >> Any tips? > > Doesn't exist. If they were added, it should be controlled by mail_debug > setting. Patches welcome ;) >
What files in src/plugins/acl/ should we be looking at?
did you mean you want to log all ACL checks or only when ACL prevents something? For the former mail_debug=yes would be good, but for latter I think there should be new plugin setting, something like verbose_acl=yes in the plugin {} section. Anyway both of these can be taken with getenv("DEBUG") or getenv("VERBOSE_ACL").
Maybe the easiest way would be to handle this in acl-storage.c acl_storage_have_right() since all checks go through it.
participants (2)
-
Gavin Henry
-
Timo Sirainen