>> конфиг(postfix/dovecot) + проверьте пути.
> http://paste.org.ru/?vh89n7 - main.cf
> http://paste.org.ru/?kjk4yi - master.cf
> http://paste.org.ru/?w2dxdc - dovecot.conf
> http://paste.org.ru/?zrhy6s - dovecot-mysql.conf
> надеюсь удобно будет просмотреть в таком виде. спасибо так что то у вас dovecot.conf то какой то короткий...
вот с рабочего сервера:
$ cat /etc/dovecot/dovecot.conf
# Каталог для хранения временных файлов
base_dir = /var/run/dovecot/
# Протоколы, которые будем использовать; я включил все, но лишние можно убрать;
# если dovecot используется для аутентификации, а не для доставки почты, выставляем none
protocols = imaps
protocol imap {
# listen=*:143
ssl_listen=*:993
mail_plugins = fts fts_squat quota imap_quota
# login_greeting_capability = yes
imap_client_workarounds = outlook-idle delay-newmail
imap_logout_format = bytes=%i/%o
}
#protocol pop3 {
# listen=*:110
# ssl_listen=*:995
# ssl_cert_file=/usr/local/etc/postfix/cert/pop3d.pem
# ssl_key_file=/usr/local/etc/postfix/cert/pop3d.pem
#}
protocol lda {
# Address to use when sending rejection mails.
postmaster_address = abuse@xxxxxxxx.ru
# Hostname to use in various parts of sent mails, eg. in Message-Id.
# Default is the system's real hostname.
hostname = xxxxx.xxxxxxxxx.ru
# Support for dynamically loadable plugins. mail_plugins is a space separated
# list of plugins to load.
mail_plugins = quota sieve
mail_plugin_dir = /usr/lib/dovecot/modules/lda
# If user is over quota, return with temporary failure instead of
# bouncing the mail.
quota_full_tempfail = yes
# Format to use for logging mail deliveries. You can use variables:
# %$ - Delivery status message (e.g. "saved to INBOX")
# %m - Message-ID
# %s - Subject
# %f - From address
deliver_log_format = msgid=%m: %$
# Binary to use for sending mails.
sendmail_path = /usr/lib/sendmail
# Subject: header to use for rejection mails. You can use the same variables
# as for rejection_reason below.
rejection_subject = Automatically rejected mail
# Human readable error message for rejection mails. You can use variables:
# %n = CRLF, %r = reason, %s = original subject, %t = recipient
rejection_reason = Your message to <%t> was automatically rejected:%n%r
# UNIX socket path to master authentication server to find users.
auth_socket_path = /var/run/dovecot/auth-master
}
# Отключение команды LOGIN, соединения принимаются только через SSL/TLS
disable_plaintext_auth = yes
# Перед выключением Dovecot master process останавливаем все IMAP- и POP3-процессы
shutdown_clients = yes
# Время в журнале в формате strftime(3)
log_timestamp = "%Y-%m-%d %H:%M:%S "
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
syslog_facility = mail
# IP-адрес, с которого будут приниматься SSL-соединения (по умолчанию все)
#ssl_listen =
# Отключение поддержки SSL/TLS
# ssl_disable = no
# Ключи и сертификаты
ssl_cert_file=/etc/ssl/certs/dovecot.crt
ssl_key_file=/etc/ssl/private/dovecot.key
# Пароль для доступа к файлу ключей и файл с сертификатом CA SSL (если требуются)
#ssl_key_password =
#ssl_ca_file =
# Учетная запись, используемая при регистрации
login_user = dovecot
# Расположение почтовых ящиков пользователей (ранее default_mail_env setting)
# По умолчанию параметр пустой, и Dovecot пробует ящики самостоятельно.
mail_location = maildir:/var/mail/%u
# Группы, позволяющие получить доступ к каталогам почтовых ящиков
mail_privileged_group = virtual
# Полный доступ в пределах почтового ящика
#mail_full_filesystem_access = no
# Первый разрешенный UID, для того чтобы пользователи не могли регистрироваться как демоны или системные пользователи
first_valid_uid = 1981
last_valid_uid = 1981
first_valid_gid = 1981
# Маска для вновь создаваемых файлов
# umask = 0077
# Механизмы SASL-аутентификации
# auth_debug = yes
maildir_stat_dirs = yes
maildir_copy_with_hardlinks = yes
maildir_copy_preserve_filename = no
namespace private {
separator = /
prefix =
inbox = yes
}
auth default {
mechanisms = plain login
passdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
userdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0600
user = virtual
group = virtual
}
client {
path = /var/spool/postfix/private/dovecot-auth
mode = 0660
user = postfix
group = postfix
}
}
}
plugin {
quota = maildir
quota_rule2 = Trash:storage=500M
quota_warning = storage=95%% /usr/local/bin/quota-warning.sh 95
quota_warning2 = storage=90%% /usr/local/bin/quota-warning.sh 90
quota_warning3 = storage=80%% /usr/local/bin/quota-warning.sh 80
sieve_global_path = /var/sieve/spam.sieve
}