two different mail_location

Aki Tuomi aki.tuomi at open-xchange.com
Sat Oct 9 07:59:08 EEST 2021



On 8 October 2021 19.13.22 UTC, Gabx <gabriel1 at tcpreset.net> wrote:
>On 10/6/21 10:11 AM, Aki Tuomi wrote:
>
>> 
>> 
>> Return `mail=maildir:/var/%u` from auth. See https://doc.dovecot.org/configuration_manual/authentication/user_databases_userdb/
>> 
>> Aki
>> 
>
>My problem is i server can't stop running for mistakes.
>We are talking abouth etc/dovecot/conf.d/auth-* files where i should 
>write the above directive, am i correct ?
>
>However what about leaving dovecot to auto detect the mail_location 
>parameter whit an empty value ?
>
>Thanks and Regards
>
>
>Gabriele
>

You could deploy a test instance. No, I mean you need to set up your userdb (or passdb) to return mail=driver:/path for that user. You can return it for all users too, just different values.

Aki


More information about the dovecot mailing list