>[оверквотинг удален]
> Expunged message reappeared to mailbox (UID 2898 < 2901, seq=1, idx_msgs=0)
> про какие UID он пишет? понять не могу(((
> кляните меня опять чёрными словами, но помогите, а? уже неделю как мучаюсь...и
> авторизацию прикрутил и научил довекот понимать пароли страшно шифрованные...а всё чет
> не до конца крутится
> до некоторых ящиков почта уходит
> Aug 3 16:11:47 mailtest postfix/pipe[2337]: 181CA61AC9: to=<super-dry@ma.ru>, relay=dovecot,
> delay=0.07, delays=0.04/0.01/0/0.02, dsn=2.0.0, status=sent (delivered via dovecot
> service)
> а в ящиках не появляется.рабочие конфиги. все работает от пользователя virtual. его uid и gid 1981 (именно эти и используются ИД используются в запросе и в настройках dovecot)
пути фрёвые. т.к. работаю тока с фрей.
$ cat /etc/passwd | grep virtual
virtual:*:1981:1981:User &:/var/mail/virtual:/usr/sbin/nologin
$ cat /usr/local/etc/dovecot-sql.conf
driver = mysql
connect = host=/tmp/mysql.sock dbname=postfix user=postfix password=xxxxxxxxxxxxxxxxxxxxxx
default_pass_scheme = MD5-CRYPT
password_query = SELECT username AS user,password FROM mailbox WHERE username = '%u' AND active = '1' LIMIT 1
user_query = SELECT maildir, 1981 AS uid, 1981 AS gid, CONCAT('maildir:storage=', FLOOR( quota / 1024 ) ) AS quota FROM mailbox WHERE username = '%u' AND active = '1'
$ cat /usr/local/etc/dovecot.conf
base_dir = /var/run/dovecot/
protocols = pop3 pop3s imap imaps managesieve
ssl_cert_file=/usr/local/etc/dovecot/cert.pem
ssl_key_file=/usr/local/etc/dovecot/key.pem
mail_location = maildir:/var/mail/virtual/%d/%n
protocol imap {
listen=*:143
ssl_listen=*:993
mail_plugins = quota imap_quota
imap_client_workarounds = delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep
imap_logout_format = bytes=%i/%o
}
protocol pop3 {
listen=*:110
ssl_listen=*:995
pop3_uidl_format = %08Xu%08Xv
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
mail_plugins = quota
}
protocol lda {
postmaster_address = postmaster@xxxxxxx.xx
hostname = xxxxxxxx.xxxxxxxxx.xx
mail_plugins = quota sieve
deliver_log_format = msgid=%m: %$ %f
sendmail_path = /usr/sbin/sendmail
auth_socket_path = /var/run/dovecot/auth-master
}
shutdown_clients = yes
log_timestamp = "%Y-%m-%d %H:%M:%S "
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
syslog_facility = mail
first_valid_uid = 1981
last_valid_uid = 1981
first_valid_gid = 1981
last_valid_gid = 1981
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 cram-md5
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0600
user = virtual
group = virtual
}
client {
path = /var/spool/postfix/private/dovecot-smtp-auth
mode = 0660
user = postfix
group = postfix
}
}
passdb sql {
args = /usr/local/etc/dovecot-sql.conf
}
userdb sql {
args = /usr/local/etc/dovecot-sql.conf
}
user=virtual
}
plugin {
quota = maildir
quota_rule2 = Trash:storage=500M
sieve = ~/.dovecot.sieve
sieve_global_path = /var/mail/virtual/.sieve
}