ToniSoftware
New Pleskian
Hello there,
I'm using Plesk Onyx 17.8.11 on a Ubuntu 16.04.5 VPS.
All of the sudden my roundcube stopped sending emails via smtp tonight.
Receiving emails is still working.
First it gave me the error Code 220 but now after some time trying to fix it, I get no error code and after some time roundcube just stops sending the email (or at least the notification of trying to send it goes away)
Here's my error log:
my master.cf:
my main.cf:
and my defaults.inc.php (just the smtp part of it):
I hope somebody out there could help me!
Thanks in Advance
Toni
I'm using Plesk Onyx 17.8.11 on a Ubuntu 16.04.5 VPS.
All of the sudden my roundcube stopped sending emails via smtp tonight.
Receiving emails is still working.
First it gave me the error Code 220 but now after some time trying to fix it, I get no error code and after some time roundcube just stops sending the email (or at least the notification of trying to send it goes away)
Here's my error log:
[03-Aug-2018 07:53:28 UTC] ERROR: STARTTLS failed ()
[03-Aug-2018 07:53:28 UTC] ERROR: Invalid response code received from server (-1)
[03-Aug-2018 07:53:28 UTC] ERROR: Invalid response code received from server (-1)
[03-Aug-2018 07:53:28 +0000]: <n3tgarjj> SMTP Error: Authentication failure: STARTTLS failed (Code: ) in /usr/share/psa-roundcube/program/lib/Roundcube/rcube.php on line 1667 (POST /?_task=mail&_unlock=loading1533282806325&_lang=de_DE&_framed=1&_action=send)
my master.cf:
smtp inet n - - - - smtpd
submission inet n - - - - smtpd
-o smtpd_sasl_auth_enable=yes
smtps inet n - - - - smtpd -o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
my main.cf:
smtpd_banner = mail.domain.tld
biff = no
readme_directory = no
smtpd_tls_cert_file = /etc/postfix/postfix_default.pem
smtpd_tls_key_file = $smtpd_tls_cert_file
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = $mydomain, localhost, localhost.localdomain
alias_maps = hash:/etc/aliases, hash:/var/spool/postfix/plesk/aliases
alias_database = hash:/etc/aliases
myorigin = mail.domain.tld
mydestination = localhost.contabo.host, localhost, localhost.localdomain, mail.domain.tld
relayhost =
mynetworks = localhost
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
virtual_mailbox_domains = $virtual_mailbox_maps, hash:/var/spool/postfix/plesk/virtual_domains
virtual_alias_maps = $virtual_maps, hash:/var/spool/postfix/plesk/virtual
virtual_mailbox_maps = , hash:/var/spool/postfix/plesk/vmailbox
transport_maps = , hash:/var/spool/postfix/plesk/transport
smtpd_tls_security_level = may
smtp_tls_security_level = may
smtp_use_tls = yes
smtpd_timeout = 3600s
smtpd_proxy_timeout = 3600s
disable_vrfy_command = yes
smtpd_sender_restrictions = check_sender_access hash:/var/spool/postfix/plesk/blacklists, permit_sasl_authenticated
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated
smtp_send_xforward_command = yes
smtpd_authorized_xforward_hosts = 127.0.0.0/8 [::1]/128
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
virtual_mailbox_base = /var/qmail/mailnames
virtual_uid_maps = static:30
virtual_gid_maps = static:31
smtpd_milters = ,, inet:127.0.0.1:12768
non_smtpd_milters =
milter_default_action = accept
milter_protocol = 6
sender_dependent_default_transport_maps = hash:/var/spool/postfix/plesk/sdd_transport_maps
virtual_transport = plesk_virtual
plesk_virtual_destination_recipient_limit = 1
mailman_destination_recipient_limit = 1
virtual_mailbox_limit = 0
smtpd_tls_ciphers = medium
smtpd_tls_mandatory_ciphers = medium
tls_medium_cipherlist = HIGH:!aNULL:!MD5
smtpd_tls_mandatory_protocols = TLSv1 TLSv1.1 TLSv1.2
smtpd_tls_protocols = TLSv1 TLSv1.1 TLSv1.2
recipient_canonical_maps = tcp:127.0.0.1:12346
recipient_canonical_classes = envelope_recipient,header_recipient
and my defaults.inc.php (just the smtp part of it):
$config['smtp_server'] = 'tls://localhost';
$config['smtp_port'] = 25;
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p';
$config['smtp_auth_type'] = 'PLAIN';
$config['smtp_auth_cid'] = null;
$config['smtp_auth_pw'] = null;
$config['smtp_helo_host'] = '';
$config['smtp_timeout'] = 0;
I hope somebody out there could help me!
Thanks in Advance
Toni