[Dovecot] Autocreation the home folder

Joan aseques at gmail.com
Wed May 15 15:57:08 EEST 2013


Sorry for this bump, but isn't there a better solution to have those
folders than to be watching the logs for warnings and recreate them?

Regards,

Joan


2013/5/14 Joan <aseques at gmail.com>

> Yes, all folder tree has vmail:vmail as the owner, and dovecot can create
> the folders without issues.
> I verified that when manually creating those folders, the warnings
> disappear, the main issue still remains though.
> When I send the first mail to a user he has this layout:
>   cur
>   dovecot.index.cache
>   dovecot.index.log
>   dovecot-uidlist
>   dovecot-uidvalidity
>   dovecot-uidvalidity.5191f7ad
>   maildirsize
>   new
>   tmp
>
> Sadly ,there's no home folder, so I've no other option than to create the
> folder by hand?
>
>
>
> 2013/5/14 Angel L. Mateo <amateo at um.es>
>
> El 13/05/13 17:50, Steffen Kaiser escribió:
>>
>>  -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> On Mon, 13 May 2013, Joan wrote:
>>>
>>>  Hi Steffen, that was an error I hadn't spotted (copypasting error).
>>>> Still
>>>> after changing mail_home to the proper value (/home/vmail/%d/%n/home)
>>>> the
>>>> errors in the logs are the same
>>>>
>>>
>>>  Am I supposed to create the folders via an external script? Or is
>>>>> there any option to make this automatic.
>>>>>
>>>>
>>> As far as I know, the home directory is not created automatically. You
>>> will need to use an external script.
>>>
>>>          I have this config:
>>
>> mail_home = /mail/users/mailboxes/%2Ln/%Ln
>> mail_location = mdbox:%h/mdbox:INDEX=/mail/**indexes/%2Ln/%Ln
>>
>>         In my config, mail_home is also auto created (I have dovecot
>> 2.1.16)
>>
>>         Do you have any error? Has dovecot user permissions to create
>> direcotories/files under your /var/mail?
>>
>> --
>> Angel L. Mateo Martínez
>> Sección de Telemática
>> Área de Tecnologías de la Información
>> y las Comunicaciones Aplicadas (ATICA)
>> http://www.um.es/atica
>> Tfo: 868887590
>> Fax: 868888337
>>
>
>


More information about the dovecot mailing list