Не отправляется почта с Rcube?

Всем Привет!
Не могу понять почему не отправляется почта с веб-интерфейса RoundCube
С клиентов (Moz Thbrd, eM Client) все ок
По telnet тоже проходят

Права на папки
ls -lh /var/vmail
drwxrwx--- 4 vmail mail 4.0K Jan 20 12:19 site.ru


Лог ошибки var/log/mailog
spoiler
Jan 24 17:36:30 site dovecot: auth: Debug: auth client connected (pid=2450)
Jan 24 17:36:30 site dovecot: auth: Debug: client in: AUTH#0111#011CRAM-MD5#011service=imap#011secured#011lip=127.0.0.1#011rip=127.0.0.1#011lport=143#011rport=57114
Jan 24 17:36:30 site dovecot: auth: Debug: client out: CONT#0111#011PDA0MTk1NTc1MzkzMTcwODkuMTQ4NTI2ODU5MEBzdGF0dXM+
Jan 24 17:36:30 site dovecot: auth: Debug: client in: CONT#0111#011dGVzdGVyQGNhcmNhbS5ydSAzNzhhNTcwOWNiNzM0MDA4NzBkZGYwMWQ3NDdlNDExYw==
Jan 24 17:36:30 site dovecot: auth: Debug: sql(tester@site.ru,127.0.0.1): query: SELECT username as user, password, '/var/vmail/site.ru/tester' as userdb_home, 'maildir:/var/vmail/site.ru/tester' as userdb_mail, 1150 as userdb_uid, 12 asuserdb_gid FROM mailbox WHERE username = 'tester@site.ru' AND active = '1'
Jan 24 17:36:30 site dovecot: auth: Debug: password(tester@site.ru,127.0.0.1): Credentials: 554ea298a95c70f4d47c3895501be1ed7031c27577aaee09bff3323754a0cc1b
Jan 24 17:36:30 site dovecot: auth: Debug: client out: OK#0111#011user=tester@site.ru#011asuserdb_gid=12
Jan 24 17:36:30 site dovecot: auth: Debug: master in: REQUEST#011469893121#0112450#0111#011b523755b5865ae38f6278b03f9e0e5a3
Jan 24 17:36:30 site dovecot: auth: Debug: sql(tester@site.ru,127.0.0.1): SELECT '/var/vmail/site.ru/tester' as home, 'maildir:/var/vmail/site.ru/tester'as mail, 1150 AS uid, 12 AS gid, concat('dirsize:storage=', quota) AS quota FROM mailbox WHERE username = 'tester@site.ru' AND active = '1'
Jan 24 17:36:30 site dovecot: auth: Debug: master out: USER#011469893121#011tester@site.ru#011home=/var/vmail/site.ru/tester#011mail=maildir:/var/vmail/site.ru/tester#011uid=1150#011gid=12#011quota=dirsize:storage=0
Jan 24 17:36:30 site dovecot: imap-login: Login: user=<tester@site.ru>, method=CRAM-MD5, rip=127.0.0.1, lip=127.0.0.1, mpid=2451, secured
Jan 24 17:36:30 site dovecot: imap: Debug: Loading modules from directory: /usr/lib64/dovecot
Jan 24 17:36:30 site dovecot: imap: Debug: Module loaded: /usr/lib64/dovecot/lib20_autocreate_plugin.so
Jan 24 17:36:30 site dovecot: imap: Debug: Added userdb setting: mail=maildir:/var/vmail/site.ru/tester
Jan 24 17:36:30 site dovecot: imap: Debug: Added userdb setting: plugin/quota=dirsize:storage=0
Jan 24 17:36:30 site dovecot: imap(tester@site.ru): Debug: Effective uid=1150, gid=12, home=/var/vmail/site.ru/tester
Jan 24 17:36:30 site dovecot: imap(tester@site.ru): Debug: maildir++: root=/var/vmail/site.ru/tester, index=, control=, inbox=/var/vmail/site.ru/tester
Jan 24 17:36:30 site dovecot: imap(tester@site.ru): Debug: Namespace : Using permissions from /var/vmail/site.ru/tester: mode=0770 gid=-1
Jan 24 17:36:30 site dovecot: imap(tester@site.ru): Disconnected: Logged out bytes=44/531



Dovecot.conf
spoiler
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = plain login cram-md5
auth_verbose = yes
base_dir = /var/run/dovecot/
disable_plaintext_auth = no

ssl = yes
ssl_cert = </etc/postfix/certs/cert.pem
ssl_key = </etc/postfix/certs/key.pem

first_valid_uid = 1150
last_valid_uid = 1150
log_timestamp = %Y-%m-%d %H:%M:%S
mail_debug = yes
mail_location = maildir:/var/vmail/%d/%u

passdb {
          args = /etc/dovecot/dovecot-sql.conf
          driver = sql
}

protocols = imap pop3

service auth {
   unix_listener /var/spool/postfix/private/dovecot-auth {
          user = postfix
          group = postfix
          mode = 0660
    }
   unix_listener auth-master {
          user = vmail
          group = mail
          mode = 0660
    }
   unix_listener auth-userdb {
          user = vmail
          group = mail
          mode = 0660
    }

#user=root
}

service imap-login {
    executable = /usr/libexec/dovecot/imap-login
           inet_listener imap {
           address = *
           port = 143
     }

           inet_listener imaps {
           port = 993
           ssl = yes
     }
}

service imap {
    executable = /usr/libexec/dovecot/imap
}

service pop3-login {
     executable = /usr/libexec/dovecot/pop3-login
           inet_listener pop3 {
           address = *
           port = 110
     }
           inet_listener pop3s {
           port = 995
           ssl = yes
     }
}

service pop3 {
           executable = /usr/libexec/dovecot/pop3
}

userdb {
           args = /etc/dovecot/dovecot-sql.conf
           driver = sql
} 

protocol lda {
            auth_socket_path = /var/run/dovecot/auth-master
            postmaster_address = admin@site.ru
}


protocol imap {
  mail_plugins = $mail_plugins autocreate
}

plugin {
    autocreate = INBOX
    autocreate2 = Sent
    autocreate3 = Trash
    autocreate4 = Drafts
    autocreate5 = Junk
    autosubscribe = INBOX
    autosubscribe2 = Sent
    autosubscribe3 = Trash
    autosubscribe4 = Drafts
    autosubscribe5 = Junk
}

  • Вопрос задан
  • 417 просмотров
Решения вопроса 1
Вы говорите
не отправляется почта
и выкладываете лог IMAP... Не надо так.
Выложите лог вашего postfix при попытке отправки из RoundCube
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы