Skocz do zawartości

Polecane posty

Witam, posiadam serwer VPS na nazwa.pl
Skonfigurowałem pocztę i emaile wysyłają się poprawnie jednakże trafiają do spamu i nie są szyfrowane, mimo konfiguracji.  Możliwe że ja coś przeoczyłem bo nie ukrywam że w kwestii konfiguracji poczty na serwerach VPS jestem zielony i wiem że jest to trudny temat jednakże postanowiłem że podejmę się tego tematu. No ale do rzeczy, poniżej przedstawiam logi i wszelkie pliki konfiguracyjne.

 

https://prnt.sc/ubiuon

 

Logi z wysyłania emaila

2020-09-04 12:42:22 SERVER -> CLIENT: 220 Toni-Poczta ESMTP Postfix (Debian)
2020-09-04 12:42:22 CLIENT -> SERVER: EHLO panel.toni.cool
2020-09-04 12:42:22 SERVER -> CLIENT: 250-Toni-Poczta250-PIPELINING250-SIZE 10240000250-ETRN250-STARTTLS250-ENHANCEDSTATUSCODES250-8BITMIME250 DSN
2020-09-04 12:42:22 CLIENT -> SERVER: STARTTLS
2020-09-04 12:42:22 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS
2020-09-04 12:42:22 CLIENT -> SERVER: EHLO panel.toni.cool
2020-09-04 12:42:22 SERVER -> CLIENT: 250-Toni-Poczta250-PIPELINING250-SIZE 10240000250-ETRN250-AUTH PLAIN LOGIN250-ENHANCEDSTATUSCODES250-8BITMIME250 DSN
2020-09-04 12:42:22 CLIENT -> SERVER: AUTH LOGIN
2020-09-04 12:42:22 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2020-09-04 12:42:22 CLIENT -> SERVER: [credentials hidden]
2020-09-04 12:42:22 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2020-09-04 12:42:22 CLIENT -> SERVER: [credentials hidden]
2020-09-04 12:42:24 SERVER -> CLIENT: 235 2.7.0 Authentication successful
2020-09-04 12:42:24 CLIENT -> SERVER: MAIL FROM:<o.mucha@toni.cool>
2020-09-04 12:42:24 SERVER -> CLIENT: 250 2.1.0 Ok
2020-09-04 12:42:24 CLIENT -> SERVER: RCPT TO:<virelox@gmail.com>
2020-09-04 12:42:24 SERVER -> CLIENT: 250 2.1.5 Ok
2020-09-04 12:42:24 CLIENT -> SERVER: DATA
2020-09-04 12:42:24 SERVER -> CLIENT: 354 End data with <CR><LF>.<CR><LF>
2020-09-04 12:42:24 CLIENT -> SERVER: Date: Fri, 4 Sep 2020 14:42:22 +0200
2020-09-04 12:42:24 CLIENT -> SERVER: To: Oskar Mucha <virelox@gmail.com>
2020-09-04 12:42:24 CLIENT -> SERVER: From: Oskar Mucha <o.mucha@toni.cool>
2020-09-04 12:42:24 CLIENT -> SERVER: Reply-To: Kontakt <o.mucha@toni.cool>
2020-09-04 12:42:24 CLIENT -> SERVER: Subject: Testowy email
2020-09-04 12:42:24 CLIENT -> SERVER: Message-ID: <4QsbYwPHMnxSbOOpkhhtK9nKsQOBHFkCETIGBhJbik@panel.toni.cool>
2020-09-04 12:42:24 CLIENT -> SERVER: X-Mailer: PHPMailer 6.1.7 (https://github.com/PHPMailer/PHPMailer)
2020-09-04 12:42:24 CLIENT -> SERVER: MIME-Version: 1.0
2020-09-04 12:42:24 CLIENT -> SERVER: Content-Type: multipart/alternative;
2020-09-04 12:42:24 CLIENT -> SERVER: boundary="b1_4QsbYwPHMnxSbOOpkhhtK9nKsQOBHFkCETIGBhJbik"
2020-09-04 12:42:24 CLIENT -> SERVER: Content-Transfer-Encoding: 8bit
2020-09-04 12:42:24 CLIENT -> SERVER:
2020-09-04 12:42:24 CLIENT -> SERVER: This is a multi-part message in MIME format.
2020-09-04 12:42:24 CLIENT -> SERVER:
2020-09-04 12:42:24 CLIENT -> SERVER: --b1_4QsbYwPHMnxSbOOpkhhtK9nKsQOBHFkCETIGBhJbik
2020-09-04 12:42:24 CLIENT -> SERVER: Content-Type: text/plain; charset=us-ascii
2020-09-04 12:42:24 CLIENT -> SERVER:
2020-09-04 12:42:24 CLIENT -> SERVER: Testowa wiadomosc
2020-09-04 12:42:24 CLIENT -> SERVER:
2020-09-04 12:42:24 CLIENT -> SERVER: --b1_4QsbYwPHMnxSbOOpkhhtK9nKsQOBHFkCETIGBhJbik
2020-09-04 12:42:24 CLIENT -> SERVER: Content-Type: text/html; charset=us-ascii
2020-09-04 12:42:24 CLIENT -> SERVER:
2020-09-04 12:42:24 CLIENT -> SERVER: Testowa wiadomosc <b>test</b>
2020-09-04 12:42:24 CLIENT -> SERVER:
2020-09-04 12:42:24 CLIENT -> SERVER:
2020-09-04 12:42:24 CLIENT -> SERVER: --b1_4QsbYwPHMnxSbOOpkhhtK9nKsQOBHFkCETIGBhJbik--
2020-09-04 12:42:24 CLIENT -> SERVER:
2020-09-04 12:42:24 CLIENT -> SERVER: .
2020-09-04 12:42:24 SERVER -> CLIENT: 250 2.0.0 Ok: queued as 2EDA8465E
2020-09-04 12:42:24 CLIENT -> SERVER: QUIT
2020-09-04 12:42:24 SERVER -> CLIENT: 221 2.0.0 Bye
Message has been sent

 

Konfiguracja SSL dovecot (10.ssl.conf)

##
## SSL settings
##

# SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>
ssl = required

# PEM encoded X.509 SSL/TLS certificate and private key. They're opened before
# dropping root privileges, so keep the key file unreadable by anyone but
# root. Included doc/mkcert.sh can be used to easily generate self-signed
# certificate, just make sure to update the domains in dovecot-openssl.cnf
ssl_cert_file = /etc/dovecot/private/toni.pem
ssl_key_file  = /etc/dovecot/private/toni.key

# If key file is password protected, give the password here. Alternatively
# give it when starting dovecot with -p parameter. Since this file is often
# world-readable, you may want to place this setting instead to a different
# root owned 0600 file by using ssl_key_password = <path.
#ssl_key_password =

# PEM encoded trusted certificate authority. Set this only if you intend to use
# ssl_verify_client_cert=yes. The file should contain the CA certificate(s)
# followed by the matching CRL(s). (e.g. ssl_ca = </etc/ssl/certs/ca.pem)
#ssl_ca = 

# Require that CRL check succeeds for client certificates.
#ssl_require_crl = yes

# Directory and/or file for trusted SSL CA certificates. These are used only
# when Dovecot needs to act as an SSL client (e.g. imapc backend). The
# directory is usually /etc/ssl/certs in Debian-based systems and the file is
# /etc/pki/tls/cert.pem in RedHat-based systems.
#ssl_client_ca_dir =
#ssl_client_ca_file =

# Request client to send a certificate. If you also want to require it, set
# auth_ssl_require_client_cert=yes in auth section.
#ssl_verify_client_cert = no

# Which field from certificate to use for username. commonName and
# x500UniqueIdentifier are the usual choices. You'll also need to set
# auth_ssl_username_from_cert=yes.
#ssl_cert_username_field = commonName

# DH parameters length to use.
#ssl_dh_parameters_length = 1024

# SSL protocols to use
#ssl_protocols = !SSLv3

# SSL ciphers to use
#ssl_cipher_list = ALL:!LOW:!SSLv2:!EXP:!aNULL

# Prefer the server's order of ciphers over client's.
#ssl_prefer_server_ciphers = no

# SSL crypto device to use, for valid values run "openssl engine"
#ssl_crypto_device =

# SSL extra options. Currently supported options are:
#   no_compression - Disable compression.
#ssl_options =

 

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Bądź aktywny! Zaloguj się lub utwórz konto

Tylko zarejestrowani użytkownicy mogą komentować zawartość tej strony

Utwórz konto

Zarejestruj nowe konto, to proste!

Zarejestruj nowe konto

Zaloguj się

Posiadasz własne konto? Użyj go!

Zaloguj się


×