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 tasksSorry, 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 http://wiki.dovecot.org/ACL 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 > > http://wiki2.dovecot.org/Tools/Doveadm/ACL> 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 setupsThat'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-----