Re: autocreate ONLY for new Users

2017-03-29 Thread plataleas
Hi All We implemented the autocreate/subscribe for new users with the help of the welcome plugin. This works great, here the configuration: #dovecot --version 2.2.27 (c0f36b0) # cat /usr/local/bin/welcome.sh #!/bin/bash /usr/bin/doveadm mailbox create INBOX.Drafts -s -u $1 /usr/bin/doveadm mailb

Re: autocreate ONLY for new Users

2017-03-15 Thread plataleas
The welcome plugin is only available for Dovecot Versions 2.2.25+. root@dcot02:~# dovecot --version 2.2.24 (a82c823) root@dcot02:~# grep Error /var/log/syslog Mar 15 15:13:47 dcot02 dovecot: imap: Error: Plugin 'welcome' not found from directory /usr/lib/dovecot/modules Mar 15 15:13:47 dcot02 dov

Re: autocreate ONLY for new Users

2017-03-15 Thread Aki Tuomi
welcome plugin is already present in 2.2.24, so in that sense, no need to upgrade. Other than that, it should be rather straightforward upgrade. Aki On 15.03.2017 13:07, plataleas wrote: > Thanks Aki!! > > The welcome plugin sounds like the best workaround. To implement this we > would need to up

Re: autocreate ONLY for new Users

2017-03-15 Thread plataleas
Thanks Aki!! The welcome plugin sounds like the best workaround. To implement this we would need to upgrade our Dovecot installation: dovecot-core: Installed: 1:2.2.24-1~bpo8+1 Candidate: 1:2.2.27-2~bpo8+1 Are there special recommendations for the upgrade process (in addition to the Dovecot

Re: autocreate ONLY for new Users

2017-03-15 Thread Aki Tuomi
You could also use welcome plugin to execute a custom script on first login. Aki On 15.03.2017 09:28, plataleas wrote: > thanks for the feedback! > > Userdb would be an option, however we would need to extend our LDAP > Schema with an additional "autocreate flag". Modifying the LDAP import > scri

Re: autocreate ONLY for new Users

2017-03-15 Thread plataleas
thanks for the feedback! Userdb would be an option, however we would need to extend our LDAP Schema with an additional "autocreate flag". Modifying the LDAP import scripts, this is quite a task. Another option we were thinking of is creating the special folders by a script right after user creati

Re: autocreate ONLY for new Users

2017-03-14 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 14 Mar 2017, plataleas wrote: We are currently migrating accounts to Dovecot. The existing accounts do have special folders with different names. (i.e. sent, sent-mail) The autocreate-function of "special folders" is useful. However we need

autocreate ONLY for new Users

2017-03-14 Thread plataleas
Hi All We are currently migrating accounts to Dovecot. The existing accounts do have special folders with different names. (i.e. sent, sent-mail) The autocreate-function of "special folders" is useful. However we need this feature ONLY for new users. The existing accounts have a mapping for their