Тема: Dovecot не создает maildir
exim + dovecot + postfixadmin
dovecot-1.2.16
exim-4.74
dovecot.conf
base_dir = /var/run/dovecot/
protocols = imap pop3
protocol imap {
listen = *:143
}
protocol pop3 {
listen = *:110
}
disable_plaintext_auth = no
#shutdown_clients = yes
log_path = /var/log/dovecot.log
info_log_path = /var/log/dovecot.log
log_timestamp = "%b %d %H:%M:%S "
#syslog_facility = mail
ssl = no
login_dir = /var/run/dovecot/login
#login_chroot = yes
login_user = dovecot
login_process_size = 64
login_process_per_connection = yes
login_processes_count = 3
login_max_processes_count = 128
login_max_connections = 256
login_greeting = Dovecot ready.
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
login_log_format = %$: %s
mail_location = maildir:/var/mail/exim/%d/%u
mail_debug = yes
mail_log_max_lines_per_sec = 10
verbose_proctitle = yes
first_valid_uid = 25
first_valid_gid = 0
max_mail_processes = 512
mail_process_size = 256
protocol imap {
login_executable = /usr/local/libexec/dovecot/imap-login
mail_executable = /usr/local/libexec/dovecot/imap
imap_max_line_length = 65536
}
protocol pop3 {
login_executable = /usr/local/libexec/dovecot/pop3-login
mail_executable = /usr/local/libexec/dovecot/pop3
pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
postmaster_address = [email protected]
sendmail_path = /usr/sbin/sendmail
auth_socket_path = /var/run/dovecot/auth-master
}
auth_verbose = yes
auth_debug = yes
auth_debug_passwords = yes
auth default {
mechanisms = plain login
passdb sql {
args = /usr/local/etc/dovecot-sql.conf
}
userdb sql {
args = /usr/local/etc/dovecot-sql.conf
}
user = nobody
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0600
user = dovecot
group = dovecot
}
client {
path = /var/run/dovecot/auth-client
mode = 0660
}
}
}
dovecot-sql.conf
driver = mysql
connect = host=localhost dbname=exim user=exim password=password
default_pass_scheme = PLAIN
password_query = SELECT `username` as `user`, `password` FROM `mailbox` WHERE `username` = '%n@%d' AND `active`='1'
user_query = SELECT `maildir` AS `home`, 143 AS `uid`, 143 AS `gid` FROM `mailbox` WHERE `username` = '%n@%d' AND `active`='1'
ls -la /var/mail/ | grep exim
drw-rw---- 2 dovecot dovecot 512 Jan 29 13:40 exim
id dovecot
uid=143(dovecot) gid=143(dovecot) groups=143(dovecot)
Когда в postfixфвьшту создаю пользователя , dovecot не создает папку в /var/mail/exim/
Может что то опустил ?
Спс за ранее!