imap-postlogin and doveadm

Hans Morten Kind Kind at
Sat Oct 25 20:31:20 UTC 2014

On Sat, Oct 25, 2014 at 04:14:44PM -0400, Gedalya wrote:
> On 10/25/2014 03:16 PM, Hans Morten Kind wrote:
>> Would it be possible to make the location available for doveadm
>> in a similar way, either with command line arguments or in the
>> enviroment?
> Normally you would return this from the userdb. I normally like to use  
> SQL, among the reasons is the fact that the SQL language allows to do  
> some logic beyond just returning the contents of a column.
> You didn't specify what your auth backend is and what logic is being  
> done in your bash script. But if you can get the right response to come  
> straight from the userdb, that would affect doveadm too.

The placement of INBOX is not known by userdb, it is picked from a CDB shared
by exim, the delivery agent. The bash-script exports something like this before
exec libexec/imap



More information about the dovecot mailing list