EDIT
Cela fonctionne maintenant sur Thunderbid. Je n'ai pourtant rien changé. Je ne vois pas pourquoi, peut être la propagation des DNS...
J'ai tout recommencé.
Le problème est mystérieusement résolu !
########
Je rencontre un problème nouveau.
Je n'ai pas de soucis en passant par le webmail.
J'ai bien 10/10 au mail-tester.
Mais au niveau de Thunderbird, je reçois les mails
mais je ne parviens pas à les envoyer.
Au niveau des log ça donne ça :
Sep 19 20:52:43 hostname postfix/submission/smtpd[23400]: connect tldom hostname.domain.tld[IP_SERVEUR]
Sep 19 20:52:43 hostname postfix/submission/smtpd[23400]: improper command pipelining after EHLO tldom hostname.domain.tld[IP_SERVEUR]: QUIT\r\n
Sep 19 20:52:43 hostname postfix/submission/smtpd[23400]: disconnect tldom hostname.domain.tld[IP_SERVEUR]
Sep 19 20:52:43 hostname dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=IP_SERVEUR, lip=MON_IP, TLS: SSL_read() failed: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca: SSL alert number 48, session=<U8gzm28DOgBtviak>
Est-ce que c'est ça le problème :
improper command pipelining after EHLO
qui engendre l'erreur d'après au niveau "ssl" ou rien à voir?
J'ai fais une recherche sur "improper commande pipelining after EHLO" :
... Il s'agit d'une commande invalide de type pipe dans le master.cf ...
Résultat de
postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
inet_interfaces = all
inet_protocols = ipv4
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
milter_default_action = accept
milter_protocol = 2
mydestination = localhost
myhostname = irisa.shtako.fr
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
non_smtpd_milters = inet:localhost:12301
readme_directory = no
recipient_delimiter = +
relayhost =
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_client_restrictions = permit_mynetworks, permit_inet_interfaces, permit_sasl_authenticated
smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname, reject_unknown_helo_hostname
smtpd_milters = inet:localhost:12301
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unauth_destination, reject_unknown_recipient_domain
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain = $mydomain
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = reject_non_fqdn_sender, reject_unknown_sender_domain,
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/ssl/certs/dovecot.pem
smtpd_tls_key_file = /etc/ssl/private/dovecot.pem
smtpd_tls_security_level = may
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/mail
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
virtual_transport = lmtp:unix😛rivate/dovecot-lmtp
virtual_uid_maps = static:5000
Je ne reçois pas non plus les mail d'ossec :
Sep 20 01:22:13 hostname postfix/smtpd[27500]: connect tldom hostname.domaine.tld[MON_IP]
Sep 20 01:22:13 hostname postfix/smtpd[27500]: NOQUEUE: reject: RCPT tldom hostname.domaine.tld[MON_IP]: 450 4.7.1 <notify.ossec.net>: Helo command rejected: Host not found; tldom=<ossecm@domaine.tld> to=<admin@domaine.tld> proto=SMTP helo=<notify.ossec.net>
Sep 20 01:22:13 hostname postfix/smtpd[27500]: lost connection after RCPT tldom hostname.domaine.tld[MON_IP]
Sep 20 01:22:13 hostname postfix/smtpd[27500]: disconnect tldom hostname.domaine.tld[MON_IP]