custom mail_location detection for dovecot lda

Alexander 'Leo' Bergolth leo at strike.wu.ac.at
Mon Aug 8 15:27:31 UTC 2016


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 may be done using imap postlogin scripts, but
unfortunately this doesn't seem to be honored. (Also tried with
dovecot-lda -k.)

Woud be very useful for slow migration from one mailbox format to another.

Is there any other way to supply a custom mail_location to dovecot-lda?

Cheers,
--leo
-- 
e-mail   ::: Leo.Bergolth (at) wu.ac.at
fax      ::: +43-1-31336-906050
location ::: IT-Services | Vienna University of Economics | Austria



More information about the dovecot mailing list