rnicsonweb
(usa CentOS)
Enviado em 11/05/2020 - 14:51h
Possuo um cloud na digitalocean com apache configurado e estou tentando configurar servidor de e-mail.
Estou usando PostFixAdmin, RoundCUbe e Dovecot porém após criar a conta no postfixadmin e tentar acessar no roundcube,qualquer conta está retornando falha imap ao tentar entrar no e-mail pelo roundcube.
Segue abaixo o telnet do servidor.
root@facil10:~# telnet facil10.com.br 143
Trying 167.172.156.205...
Connected to facil10.com.br.
Escape character is '^]'.
* OK Waiting for authentication process to respond..
* BYE Disconnected: Auth process broken
Connection closed by foreign host.
root@facil10:~# telnet webmail.facil10.com.br 143
Trying 167.172.156.205...
Connected to webmail.facil10.com.br.
Escape character is '^]'.
* OK Waiting for authentication process to respond..
* BYE Disconnected: Auth process broken
Connection closed by foreign host.
Configuração Dovecot -N
root@facil10:~# dovecot -n
# 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.21 (92477967)
# OS: Linux 4.15.0-99-generic x86_64 Ubuntu 18.04.4 LTS
auth_mechanisms = plain login
auth_username_format = %n
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_location = maildir:~/Maildir
mail_plugins = quota
mail_privileged_group = mail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext
namespace inbox {
inbox = yes
location =
mailbox Drafts {
auto = subscribe
special_use = \Drafts
}
mailbox Junk {
auto = subscribe
special_use = \Junk
}
mailbox Sent {
auto = subscribe
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
auto = create
special_use = \Trash
}
prefix =
}
passdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
plugin {
quota = maildir:User quota
quota_rule = *:storage=102400
quota_rule2 = Trash:storage=+100M
quota_warning = storage=95%% quota-warning 95 %u
quota_warning2 = storage=80%% quota-warning 80 %u
sieve = ~/.dovecot.sieve
sieve_default = /var/lib/dovecot/sieve/default.sieve
sieve_dir = ~/sieve
}
protocols = imap pop3 imap sieve pop3
service auth {
unix_listener /var/spool/postfix/private/auth {
mode = 0666
}
unix_listener /var/spool/postfix/private/dovecot-auth {
group = postfix
mode = 0660
user = postfix
}
unix_listener auth-master {
mode = 0666
}
user = $default_internal_user
}
service quota-warning {
executable = script /usr/local/bin/quota-warning.sh
unix_listener quota-warning {
user = vmail
}
user = dovecot
}
ssl = required
ssl_cert = </etc/letsencrypt/live/webmail.facil10.com.br/fullchain.pem
ssl_client_ca_dir = /etc/ssl/certs
ssl_key = # hidden, use -P to show it
ssl_prefer_server_ciphers = yes
ssl_protocols = !SSLv3 !TLSv1 !TLSv1.1
userdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
protocol lda {
auth_socket_path = /var/run/dovecot/auth-master
deliver_log_format = msgid=%m: %$
mail_plugins = sieve
postmaster_address = postmaster
quota_full_tempfail = yes
rejection_reason = Your message to <%t> was automatically rejected:%n%r
}
protocol imap {
imap_client_workarounds = delay-newmail
mail_max_userip_connections = 10
mail_plugins = quota quota imap_quota
}
protocol pop3 {
mail_max_userip_connections = 10
mail_plugins = quota quota
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}