A mio avviso si dovrebbe connettere sulla porta 465 o 587 con protocollo STARTTLS oppure SSL/TLS.
Provoa cambiare i settaggi ma non si connette, le porte sono aperte sul firewalle sul router.
l'IMAP si connette regolarmente sia alla 143 che alla 993.
in /etc/postfix/main.cf è settato:
Codice: Seleziona tutto
smtp_use_starttls=yes
smtpd_use_tls=yes
inet_interfaces = all
inet_protocols = all
smtpd_tls_security_level=may
smtpd_tls_protocols = !SSLv2, !SSLv3
Codice: Seleziona tutto
sam@locale:~$ telnet localhost 25
Trying ::1...
Connected to locale.
Escape character is '^]'.
220 locale.ga ESMTP Postfix (Sam9999)
ehlo test
250-locale.ga
250-PIPELINING
250-SIZE 25600000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250 SMTPUTF8
Codice: Seleziona tutto
sam@locale:~$ telnet localhost 465
Trying ::1...
Connected to locale.
Escape character is '^]'.
220 locale.ga ESMTP Postfix (Sam9999)
helo test
250 locale.ga
quit
221 2.0.0 Bye
Perché in un primo tentativo non ha funzionato oppure non ho capito come funziona.
ho notato adesso questa cosa che mi sembra buona in invio email, appare nella ricevuta di conferma invio:
Codice: Seleziona tutto
This is the mail system at host locale.ga.
Your message was successfully delivered to the destination(s)
listed below. If the message was delivered to mailbox you will
receive no further notifications. Otherwise you may still receive
notifications of mail delivery errors from other systems.
The mail system
mail@tomail.com: delivery via spamassassin:
delivered via spamassassin service
Reporting-MTA: dns; locale.ga
Original-Envelope-Id: <a7e702ef-d500-884e-7984-67a182d5925b@sam-aps.ga>
X-Postfix-Queue-ID: 737AE1C5A3B
X-Postfix-Sender: rfc822; mail@miamail.ga
Arrival-Date: Sun, 6 May 2018 10:22:31 +0200 (CEST)
Final-Recipient: rfc822; mail@tomail.com
Original-Recipient: rfc822;mail@tomail.com
Action: relayed
Status: 2.0.0
Diagnostic-Code: X-Postfix; delivery via spamassassin: delivered via
spamassassin service