Estou tentando configurar meu servidor de e-mail local usando este tutorial no meu domínio Mydomain.me
.
Cheguei ao ponto em que posso receber com sucesso o envio de e-mail para meu endereço, mas não consigo configurar uma conta IMAP com o Thunderbird (cf. Instantâneo).
Estranhamente, o Thunderbird não detecta meu serviço IMAPS. Eu testei com openssl s_client -connect mydomain.me:993
, o que parece funcionar bem. É claro que quando tento configurar o imap sem criptografia, me deparo com problemas.
Algumaideiadoqueestoufazendoerrado?MeuprimeiropalpitesãoosregistrosDNSemeusegundomeupostfixconf.Esquecidemencionarqueestoutentandoconfiguraracontaemoutramáquinaquenãoestejanecessariamentenamesmarede.
Conteúdodecatmain.cf|egrep-v"^#"
:
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
append_dot_mydomain = no
readme_directory = no
smtpd_tls_cert_file=/etc/ssl/certs/dovecot.pem
smtpd_tls_key_file=/etc/ssl/private/dovecot.pem
smtpd_use_tls=yes
smtpd_tls_auth_only = yes
smtp_tls_security_level = may
smtp_tls_loglevel = 2
smtpd_tls_received_header = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination
myhostname = mydomain.me
myorigin = $mydomain
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = localhost
virtual_transport = lmtp:unix:private/dovecot-lmtp
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf
local_recipient_maps = $virtual_mailbox_maps
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
Conteúdo de tail -n 30 /var/log/mail.log
:
Nov 28 16:55:07 myServerName postfix/anvil[5449]: statistics: max connection rate 7/60s for (smtp:192.168.0.254) at Nov 28 16:51:27
Nov 28 16:55:07 myServerName postfix/anvil[5449]: statistics: max connection count 1 for (smtp:192.168.0.254) at Nov 28 16:51:14
Nov 28 16:55:07 myServerName postfix/anvil[5449]: statistics: max cache size 2 at Nov 28 16:51:47
Nov 28 16:57:01 myServerName postfix/smtpd[6006]: connect from unknown[192.168.0.254]
Nov 28 16:57:01 myServerName postfix/smtpd[6006]: disconnect from unknown[192.168.0.254]
Nov 28 16:57:01 myServerName postfix/smtpd[6006]: connect from unknown[192.168.0.254]
Nov 28 16:57:01 myServerName postfix/smtpd[6006]: improper command pipelining after EHLO from unknown[192.168.0.254]: QUIT\r\n
Nov 28 16:57:01 myServerName postfix/smtpd[6006]: disconnect from unknown[192.168.0.254]
Aqui estão os meus registros de DNS:
$TTL 3600
@ IN SOA dns106.ovh.net. tech.ovh.net. (2013112701 86400 3600 3600000 300)
IN NS dns106.ovh.net.
IN NS ns106.ovh.net.
IN MX 1 mydomain.me.
IN A xx.xxx.x.xxx
IN TXT "1|www.mydomain.me"
ftp IN CNAME mydomain.me.
mail IN CNAME ns0.ovh.net.
ox IN CNAME ox.ovh.net.
pop3 IN CNAME ns0.ovh.net.
smtp IN CNAME ns0.ovh.net.
www IN MX 1 mydomain.me.
www IN A xx.xxx.x.xxx
www IN TXT "3|welcome"
www IN TXT "l|fr"