[Dovecot] Maildir autocreation

Hugo Monteiro hugo.monteiro at fct.unl.pt
Wed Oct 21 18:00:16 EEST 2009


Proskurin Kirill wrote:
> Pascal Volk wrote:
>> On 10/21/2009 01:08 PM Proskurin Kirill wrote:
>>> Hello.
>>>
>>> Today i found what maildir autocreation stop work.
>>> May be after upgrade to 1.2. Here logs:
>>>>>> Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: maildir 
>>> autodetect: 
>>> stat(/var/spool/dovecot/domains/fxclub.org/shershov-oa//cur) failed: 
>>> No such file or directory
>>> Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: mbox 
>>> autodetect: data=/var/spool/dovecot/domains/fxclub.org/shershov-oa/
>>> Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: mbox 
>>> autodetect: INBOX file: 
>>> stat(/var/spool/dovecot/domains/fxclub.org/shershov-oa/) failed: No 
>>> such file or directory
>>> Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: mbox 
>>> autodetect: has .imap/: 
>>> stat(/var/spool/dovecot/domains/fxclub.org/shershov-oa//.imap) 
>>> failed: No such file or directory
>>> Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: mbox 
>>> autodetect: has inbox: 
>>> stat(/var/spool/dovecot/domains/fxclub.org/shershov-oa//inbox) 
>>> failed: No such file or directory
>>> Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Info: mbox 
>>> autodetect: has mbox: 
>>> stat(/var/spool/dovecot/domains/fxclub.org/shershov-oa//mbox) 
>>> failed: No such file or directory
>>> Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Error: 
>>> mail_location: Ambiguous mail location setting, don't know what to 
>>> do with it: /var/spool/dovecot/domains/fxclub.org/shershov-oa/ (try 
>>> prefixing it with mbox: or maildir:)
>>> Oct 21 11:01:25 deliver(shershov-oa at fxclub.org): Fatal: Namespace 
>>> initialization failed
>>>
>>> dovecot -n
>>> # 1.2.4: /usr/local/etc/dovecot.conf
>>> # OS: FreeBSD 7.1-RELEASE-p7 i386  ufs
>>> base_dir: /var/run/dovecot/
>>>>>> login_process_size: 128
>>> login_processes_count: 20
>>> login_max_processes_count: 512
>>   mail_location: ???
>>> mail_max_userip_connections(default): 256
>>> mail_max_userip_connections(imap): 256
>>> mail_max_userip_connections(pop3): 20
>>> mail_max_userip_connections(managesieve): 10
>>>>>> mail_plugins(default): quota imap_quota autocreate mail_log
>>> mail_plugins(imap): quota imap_quota autocreate mail_log
>>>>>> plugin:
>>>>>>    autocreate: Trash
>>>    autocreate2: Sent
>>>    autocreate3: Spam
>>>    autosubscribe: Trash
>>>    autosubscribe2: Sent
>>>    autosubscribe3: Spam
>>
>> Your log excerpt shows excellently how hard Dovecot tries the figure out
>> the mail_location. But that's not all. There is a very useful
>> suggestion: try prefixing it with mbox: or maildir:
>>
>> It looks like your ldap userdb is returning a home field. So set
>> for example mail_location = mailldir:~/Maildir in your dovecot.conf
>
> I have in Dovecot.conf:
>
> mail_location: maildir:/var/spool/dovecot/domains/%d/%n

mail_location = maildir:/var/spool/dovecot/domains/%d/%n

Can you see the difference?


R's,

Hugo Monteiro.

-- 
ci.fct.unl.pt:~# cat .signature

Hugo Monteiro
Email	 : hugo.monteiro at fct.unl.pt
Telefone : +351 212948300 Ext.15307
Web      : http://hmonteiro.net

Centro de Informática
Faculdade de Ciências e Tecnologia da
		   Universidade Nova de Lisboa
Quinta da Torre   2829-516 Caparica   Portugal
Telefone: +351 212948596   Fax: +351 212948548
www.ci.fct.unl.pt	      apoio at fct.unl.pt

ci.fct.unl.pt:~# _



More information about the dovecot mailing list