Тема: Dovecot недаставляет почту локальному пользователю!
Postfix + Dovecot!
dovecot.conf
ase_dir = /var/run/dovecot/
protocols = imap pop3
protocol imap {
listen = *:143
ssl_listen = *:10943
mail_plugins = quota imap_quota
}
protocol pop3 {
listen = *:110
ssl_listen = *:995
mail_plugins = quota
}
plugin {
quota = maildir
}
disable_plaintext_auth = no
shutdown_clients = yes
log_path = /var/log/dovecot.log
info_log_path = /var/log/dovecot_auth.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 = 64
login_greeting = dovecot MUA ready
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
login_log_format = %$: %s
mail_location = maildir:/var/vmail/postfix/%d/%u
mail_privileged_group = mail
mail_full_filesystem_access = no
mail_debug = yes
verbose_proctitle = yes
first_valid_uid = 25
first_valid_gid = 0
protocol imap {
imap_client_workarounds = delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep
}
protocol pop3 {
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
protocol lda {
postmaster_address = admin@*******.com.ua
auth_socket_path = /var/run/dovecot/auth-master
}
auth_debug = 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 = virtual
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0600
user = virtual
group = virtual
}
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = mail
}
}
}
cat /var/log/maillog
Mar 1 17:14:19 mail postfix/smtpd[6207]: connect from mail.****.net.ua[***.109.52.138]
Mar 1 17:14:19 mail postfix/smtpd[6207]: D762F381029: client=mail.****.net.ua[***.109.52.138]
Mar 1 17:14:19 mail postfix/cleanup[6210]: D762F381029: message-id=<123608449.20100301170959@****.net.ua>
Mar 1 17:14:19 mail postfix/qmgr[1141]: D762F381029: from=<e.oliynik@****.net.ua>, size=1687, nrcpt=1 (queue active)
Mar 1 17:14:19 mail postfix/smtpd[6207]: disconnect from mail.drova.net.ua[212.109.52.138]
Mar 1 17:14:19 mail postfix/pipe[6211]: D762F381029: to=<test@**********.com.ua>, relay=dovecot, delay=0.09, delays=0.08/0.01/0/0, dsn=2.0.0, status=sent (delivered via dovecot service)
cat /var/log/dovecot_auth.log
Mar 01 17:14:19 auth(default): Info: new auth connection: pid=6207
cat /var/log/dovecot.log
пусто
хелп