Dear All,
is it possible to edit ACL files regularly with an editor or is there any reason to use doveadm?
- Chris
Am 17.02.2016 um 20:09 schrieb Chris:
Dear All,
is it possible to edit ACL files regularly with an editor or is there any reason to use doveadm?
- Chris
webmailers have acl imap guis , such as Horde/imp
you can also use Thunderbird
https://addons.mozilla.org/de/thunderbird/addon/imap-acl-extension/
doveadm is a multi admin tool for dovecot which covers many complex tasks
Best Regards MfG Robert Schetterer
-- [*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
Robert Schetterer wrote:
Am 17.02.2016 um 20:09 schrieb Chris:
is it possible to edit ACL files regularly with an editor or is there any reason to use doveadm?
webmailers have acl imap guis , such as Horde/imp doveadm is a multi admin tool for dovecot which covers many complex tasks
Sorry, my question was unclear.
I'd like to use a script to set ACLs. Is it better to call doveadm or can I write / modify the acl-files directly?
- Chris
Am 18.02.2016 um 17:54 schrieb Chris:
Robert Schetterer wrote:
Am 17.02.2016 um 20:09 schrieb Chris:
is it possible to edit ACL files regularly with an editor or is there any reason to use doveadm?
webmailers have acl imap guis , such as Horde/imp doveadm is a multi admin tool for dovecot which covers many complex tasks
Sorry, my question was unclear.
I'd like to use a script to set ACLs. Is it better to call doveadm or can I write / modify the acl-files directly?
- Chris
hm
read
http://wiki2.dovecot.org/Tools/Doveadm/ACL
and
decide what fits better in your usecase
long time ago i modified acl files via cron directly but i think more clean way is to use doveadm cause it may give additional warnings and fits better to all kind of mailbox type setups
Best Regards MfG Robert Schetterer
-- [*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 18 Feb 2016, Robert Schetterer wrote:
Am 18.02.2016 um 17:54 schrieb Chris:
I'd like to use a script to set ACLs. Is it better to call doveadm or can I write / modify the acl-files directly?
read
long time ago i modified acl files via cron directly but i think more clean way is to use doveadm cause it may give additional warnings and fits better to all kind of mailbox type setups
That's my experience, too. If you change the acl files directly, it can happen, this change does not take effect in some time, because Dovecot never inspects the file, e.g. nobody accesses the mailbox.
doveadm worked great for me, although it requires more scripting, if you change the ACLs of a whole account etc.pp. But if such script is done once, it fits for all kind of setups as Robert already pointed out.
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBVsbCZnz1H7kL/d9rAQKzPwf/aoLg3HaJO7MPqGsVIibozedXBPbNtaBB wTmII4HUnBrcGa0VfOEIHgsZlL5pBMbOxF3jY5d2UOgGDXyXYO/NpaMMu1hxU9t4 Wehc/XVsoz+NirkfaF0zudJ7OVvkvOjV0RBek/BhGcy9OcXNXClOQsJo01FimS0A QgZyj3p2RUasc0Rp66QdNViSeZB0uCOP22Vul2/C8EN5SCWb4qIQJYlgqgT8kxh2 Togca9Vlux1rdoCnJVi2QcjAKLOKV9exmMJNqcI94WNHIjqS8VNNOROXU+c7zZgX Y3P8XMtwyl2/XzgSD4jPtvqZnHUXvp7CGBPv0IrtT/oCGzxcXAeCPw== =VFvx -----END PGP SIGNATURE-----
On 02/17/2016 08:09 PM, Chris wrote:
is it possible to edit ACL files regularly with an editor or is there any reason to use doveadm? It may be possible, but I'd not recommend it from a general point of view (without knowing the internals of Dovecot).
It is like using the internal objects in a library - not the API - when programming: While it may work with a certain version of the software, it may stop working in the next version. It could also be, that the software uses (or in a future version starts using) caching mechanisms, that render your changes invalid.
The API you can safely use is the command line program doveadm. If you use one of its internal data structures (ACL files), then your software may not be sustainable in the long term.
Greetings Daniel
participants (4)
-
Chris
-
Daniel Tröder
-
Robert Schetterer
-
Steffen Kaiser