Re: custom mail_location detection for dovecot lda

2016-08-09 Thread Alexander 'Leo' Bergolth
On 08/08/2016 06:27 PM, Stephan Bosch wrote: > Op 8-8-2016 om 18:05 schreef Alexander 'Leo' Bergolth: >> On 08/08/2016 05:34 PM, Stephan Bosch wrote: >>> Op 8-8-2016 om 17:27 schreef Alexander 'Leo' Bergolth: Is it possible to do something like "post-login scripting" to detect and se

Re: custom mail_location detection for dovecot lda

2016-08-08 Thread Stephan Bosch
Op 8-8-2016 om 18:05 schreef Alexander 'Leo' Bergolth: On 08/08/2016 05:34 PM, Stephan Bosch wrote: Op 8-8-2016 om 17:27 schreef Alexander 'Leo' Bergolth: Is it possible to do something like "post-login scripting" to detect and set a per-user custom mail location for dovecot LDA delivery? Y

Re: custom mail_location detection for dovecot lda

2016-08-08 Thread Alexander 'Leo' Bergolth
On 08/08/2016 05:34 PM, Stephan Bosch wrote: > Op 8-8-2016 om 17:27 schreef Alexander 'Leo' Bergolth: >> Is it possible to do something like "post-login scripting" to detect and >> set a per-user custom mail location for dovecot LDA delivery? >> > You could use /usr/lib/dovecot/dovecot-lda -omail_l

Re: custom mail_location detection for dovecot lda

2016-08-08 Thread Stephan Bosch
Op 8-8-2016 om 17:27 schreef Alexander 'Leo' Bergolth: Hi! Is it possible to do something like "post-login scripting" to detect and set a per-user custom mail location for dovecot LDA delivery? I tried to use a wrapper-script around dovecot-lda that sets the environment variables MAIL="..." a

custom mail_location detection for dovecot lda

2016-08-08 Thread Alexander 'Leo' Bergolth
Hi! Is it possible to do something like "post-login scripting" to detect and set a per-user custom mail location for dovecot LDA delivery? I tried to use a wrapper-script around dovecot-lda that sets the environment variables MAIL="..." and USERDB_KEYS="MAIL" just like overriding userdb fields ma