Re: [Dovecot] Maildir autocreation
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...@fxclub.org): Info: Loading modules from directory: /usr/local/lib/dovecot/lda Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Module loaded: /usr/local/lib/dovecot/lda/lib10_quota_plugin.so Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Module loaded: /usr/local/lib/dovecot/lda/lib90_sieve_plugin.so Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: auth input: quota_rule=*:storage=2046M Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: auth input: uid=1002 Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: auth input: gid=1002 Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: auth input: home=/var/spool/dovecot/domains/fxclub.org/shershov-oa Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Home dir not found: /var/spool/dovecot/domains/fxclub.org/shershov-oa Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Quota root: name= backend=maildir args= Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Quota rule: root= mailbox=* bytes=2145386496 messages=0 Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Quota rule: root= mailbox=Trash bytes=1317011456 messages=0 Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Quota rule: root= mailbox=SPAM ignored Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Quota warning: bytes=2038117171 (95%) messages=0 command=/usr/local/bin/quota-warning.sh 95 Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Quota warning: bytes=1716309196 (80%) messages=0 command=/usr/local/bin/quota-warning.sh 80 Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: maildir autodetect: stat(/var/spool/dovecot/domains/fxclub.org/shershov-oa//cur) failed: No such file or directory The last line of the above folder listing, I see what looks like a problem: /var/spool/dovecot/domains/fxclub.org/shershov-oa/doubled>/cur Something missing or not being passed for expansion? -- Daniel
Re: [Dovecot] Maildir autocreation
Timo Sirainen пишет: On Oct 21, 2009, at 11:09 AM, Proskurin Kirill wrote: No. :-( #fgrep 'mail_location' /usr/local/etc/dovecot.conf | fgrep -v # mail_location = maildir:/var/spool/dovecot/domains/%d/%n mail_location = /var/spool/dovecot/domains/%d/%n/ Second hit - it is a sieve rules part. What do you mean? The second one in plugin {} overrides the first one. Oh... thanks! I missunderstand it. I don`t know why but it is seems to work well in 1.1... -- Best regards, Proskurin Kirill
Re: [Dovecot] Maildir autocreation
On Oct 21, 2009, at 11:09 AM, Proskurin Kirill wrote: No. :-( #fgrep 'mail_location' /usr/local/etc/dovecot.conf | fgrep -v # mail_location = maildir:/var/spool/dovecot/domains/%d/%n mail_location = /var/spool/dovecot/domains/%d/%n/ Second hit - it is a sieve rules part. What do you mean? The second one in plugin {} overrides the first one.
Re: [Dovecot] Maildir autocreation
Hugo Monteiro wrote: 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...@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...@fxclub.org): Info: mbox autodetect: data=/var/spool/dovecot/domains/fxclub.org/shershov-oa/ Oct 21 11:01:25 deliver(shershov...@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...@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...@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...@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...@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...@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? No. :-( #fgrep 'mail_location' /usr/local/etc/dovecot.conf | fgrep -v # mail_location = maildir:/var/spool/dovecot/domains/%d/%n mail_location = /var/spool/dovecot/domains/%d/%n/ Second hit - it is a sieve rules part. -- Best regards, Proskurin Kirill
Re: [Dovecot] Maildir autocreation
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...@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...@fxclub.org): Info: mbox autodetect: data=/var/spool/dovecot/domains/fxclub.org/shershov-oa/ Oct 21 11:01:25 deliver(shershov...@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...@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...@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...@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...@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...@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.monte...@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 ap...@fct.unl.pt ci.fct.unl.pt:~# _
Re: [Dovecot] Maildir autocreation
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...@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...@fxclub.org): Info: mbox autodetect: data=/var/spool/dovecot/domains/fxclub.org/shershov-oa/ Oct 21 11:01:25 deliver(shershov...@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...@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...@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...@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...@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...@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 And in dovecot-ldap.conf: user_attrs = mailQuotaSize=quota_rule=*:storage=%$M ,=uid=1002,=gid=1002,=home=/var/spool/dovecot/domains/%d/%n -- С уважением, Проскурин Кирилл +7(495)727-06-26 доб. 1070
Re: [Dovecot] Maildir autocreation
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...@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...@fxclub.org): Info: mbox autodetect: > data=/var/spool/dovecot/domains/fxclub.org/shershov-oa/ > Oct 21 11:01:25 deliver(shershov...@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...@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...@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...@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...@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...@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 Regards, Pascal -- The trapper recommends today: deadbeef.0929...@localdomain.org
[Dovecot] Maildir autocreation
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...@fxclub.org): Info: Loading modules from directory: /usr/local/lib/dovecot/lda Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Module loaded: /usr/local/lib/dovecot/lda/lib10_quota_plugin.so Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Module loaded: /usr/local/lib/dovecot/lda/lib90_sieve_plugin.so Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: auth input: quota_rule=*:storage=2046M Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: auth input: uid=1002 Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: auth input: gid=1002 Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: auth input: home=/var/spool/dovecot/domains/fxclub.org/shershov-oa Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Home dir not found: /var/spool/dovecot/domains/fxclub.org/shershov-oa Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Quota root: name= backend=maildir args= Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Quota rule: root= mailbox=* bytes=2145386496 messages=0 Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Quota rule: root= mailbox=Trash bytes=1317011456 messages=0 Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Quota rule: root= mailbox=SPAM ignored Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Quota warning: bytes=2038117171 (95%) messages=0 command=/usr/local/bin/quota-warning.sh 95 Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Quota warning: bytes=1716309196 (80%) messages=0 command=/usr/local/bin/quota-warning.sh 80 Oct 21 11:01:25 deliver(shershov...@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...@fxclub.org): Info: mbox autodetect: data=/var/spool/dovecot/domains/fxclub.org/shershov-oa/ Oct 21 11:01:25 deliver(shershov...@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...@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...@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...@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...@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...@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/ log_path: /var/log/dovecot/dovecot.log info_log_path: /var/log/dovecot/dovecot-debug.log protocols: imap imaps pop3 pop3s managesieve listen(default): * listen(imap): * listen(pop3): * listen(managesieve): *:2000 ssl_ca_file: /usr/local/etc/certs/GlobalSignCA.crt ssl_cert_file: /usr/local/etc/certs/fxclub_org.crt ssl_key_file: /usr/local/etc/certs/fxclub_org.key ssl_cipher_list: ALL:!LOW:!SSLv2 login_dir: /var/run/dovecot/login login_executable(default): /usr/local/libexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(pop3): /usr/local/libexec/dovecot/pop3-login login_executable(managesieve): /usr/local/libexec/dovecot/managesieve-login login_process_size: 128 login_processes_count: 20 login_max_processes_count: 512 mail_max_userip_connections(default): 256 mail_max_userip_connections(imap): 256 mail_max_userip_connections(pop3): 20 mail_max_userip_connections(managesieve): 10 verbose_proctitle: yes first_valid_gid: 0 mail_privileged_group: mail mail_uid: dmail mail_gid: dmail mail_location: maildir:/var/spool/dovecot/domains/%d/%n mail_debug: yes mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/local/libexec/dovecot/pop3 mail_executable(managesieve): /usr/local/libexec/dovecot/managesieve mail_process_size: 512 mail_plugins(default): quota imap_quota autocreate mail_log mail_plugins(imap): quota imap_quota autocreate mail_log mail_plugins(pop3): quota mail_plugins(managesieve): mail_plugin_dir(default): /usr/local/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 mail_plugin_dir(managesieve): /usr/local/lib/dovecot/managesieve imap_client_workarounds(default): delay-newmail tb-extra-mailbox-sep imap_client_workarounds(imap): d