[Dovecot] Dovecot creating aditional folders?
Pablo
boinker at gmail.com
Wed Sep 1 13:31:26 EEST 2010
Thank you for your response.
Yes, I know that I'm using maildir, but when we create an account,
file sistem look likes:
/home/vmail/domain.com/user1/new
/home/vmail/domain.com/user1/cur
/home/vmail/domain.com/user1/tmp
My problem is that dovecot is creating additional folders:
/home/vmail/user1/new
/home/vmail/domain.com/user/cur
/home/vmail/domain.com/user/tmp
Mail are received in first directories, second ones are created but not used.
What's the problem?
Thanks again!
2010/9/1 <spamvoll at googlemail.com>:
> its because u using maildir to store your mails.
>
> THE MAILDIR STRUCTURE
> A directory in maildir format has three subdirectories, all
> on the same filesystem: tmp, new, and cur.
>
> 2010/9/1 Pablo <boinker at gmail.com>:
>> Hi guys.
>>
>> My conf:
>>
>> # 1.2.9: /etc/dovecot/dovecot.conf
>> # OS: Linux 2.6.32-23-server x86_64 Ubuntu 10.04.1 LTS reiserfs
>> log_timestamp: %Y-%m-%d %H:%M:%S
>> protocols: imap imaps pop3 pop3s
>> ssl_cert_file: /etc/ssl/mail/dovecot.crt
>> ssl_key_file: /etc/ssl/mail/dovecot.key
>> disable_plaintext_auth: no
>> login_dir: /var/run/dovecot/login
>> login_executable(default): /usr/lib/dovecot/imap-login
>> login_executable(imap): /usr/lib/dovecot/imap-login
>> login_executable(pop3): /usr/lib/dovecot/pop3-login
>> mail_location: maildir:/home/vmail/%u/
>> mail_debug: yes
>> mbox_write_locks: fcntl dotlock
>> mail_executable(default): /usr/lib/dovecot/imap
>> mail_executable(imap): /usr/lib/dovecot/imap
>> mail_executable(pop3): /usr/lib/dovecot/pop3
>> mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
>> mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
>> mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
>> auth default:
>> mechanisms: plain login
>> verbose: yes
>> debug: yes
>> debug_passwords: yes
>> passdb:
>> driver: sql
>> args: /etc/dovecot/dovecot-sql.conf
>> userdb:
>> driver: sql
>> args: /etc/dovecot/dovecot-sql.conf
>> socket:
>> type: listen
>> client:
>> path: /var/spool/postfix/private/auth
>> mode: 432
>> user: postfix
>> group: postfix
>> master:
>> path: /var/run/dovecot/auth-master
>> mode: 384
>> user: vmail
>> group: vmail
>> -------------------------------------
>>
>> My problem is that dovecot is creating aditional folders:
>>
>> #ls -l /home/vmail
>>
>> drwx------ 6 vmail vmail 184 2010-09-01 01:31 escuelasuperiordecoaching.com
>> drwx------ 8 vmail vmail 392 2010-09-01 10:58
>> pablo.rodriguez at escuelasuperiordecoaching.com
>>
>> # ls -l escuelasuperiordecoaching.com/
>> drwx------ 5 vmail vmail 120 2010-08-30 14:35 pablo.rodriguez
>>
>> I'm receiving mail in
>> /home/vmail/escuelasuperiordecoaching.com/pablo.rodriguez/new without
>> problem, but why is dovecot creating aditional folders?
>>
>> My log:
>>
>> Sep 1 10:58:30 socrates dovecot: auth(default): master in:
>> REQUEST^I162^I4003^I1
>> Sep 1 10:58:30 socrates dovecot: auth-worker(default):
>> sql(pablo.rodriguez at escuelasuperiordecoaching.com,127.0.0.1): SELECT
>> maildir, 1001 AS uid, 1001 AS gid FROM mailbox WHERE username =
>> 'pablo.rodriguez at escuelasuperiordecoaching.com'
>> Sep 1 10:58:30 socrates dovecot: auth(default): master out:
>> USER^I162^Ipablo.rodriguez at escuelasuperiordecoaching.com^Imaildir=escuelasuperiordecoaching.com/pablo.rodriguez/^Iuid=1001^Igid=1001
>> Sep 1 10:58:30 socrates dovecot: imap-login: Login:
>> user=<pablo.rodriguez at escuelasuperiordecoaching.com>, method=PLAIN,
>> rip=127.0.0.1, lip=127.0.0.1, secured
>> Sep 1 10:58:30 socrates dovecot:
>> IMAP(pablo.rodriguez at escuelasuperiordecoaching.com): Effective
>> uid=1001, gid=1001, home=(none)
>> Sep 1 10:58:30 socrates dovecot:
>> IMAP(pablo.rodriguez at escuelasuperiordecoaching.com): maildir:
>> data=/home/vmail/pablo.rodriguez at escuelasuperiordecoaching.com/
>> Sep 1 10:58:30 socrates dovecot:
>> IMAP(pablo.rodriguez at escuelasuperiordecoaching.com): maildir++:
>> root=/home/vmail/pablo.rodriguez at escuelasuperiordecoaching.com,
>> index=, control=,
>> inbox=/home/vmail/pablo.rodriguez at escuelasuperiordecoaching.com
>> Sep 1 10:58:30 socrates dovecot:
>> IMAP(pablo.rodriguez at escuelasuperiordecoaching.com): Namespace : Using
>> permissions from
>> /home/vmail/pablo.rodriguez at escuelasuperiordecoaching.com: mode=0700
>> gid=-1
>> Sep 1 10:58:30 socrates dovecot:
>> IMAP(pablo.rodriguez at escuelasuperiordecoaching.com): Disconnected:
>> Logged out bytes=117/1383
>>
>> I can see that Dovecot is creating when...I login?
>>
>> What's the problem? I can't understand...
>>
>> Thanks in advance.
>>
>
More information about the dovecot
mailing list