Author Topic: I can't send nor receive emails on Roundcube  (Read 219 times)

Offline roguitar

  • Newbie
  • *
  • Posts: 1
I can't send nor receive emails on Roundcube
« on: August 26, 2020, 06:39:38 PM »
 :) I followed all the steps from Installer, I ran the tests and it went ok. Now I try to send an email, I click on the Send button and... Nothing, nil, nada! It's like Send button is not working. I have Postfix and Dovecot active in my Ubuntu 16.04 LTS. In my VPS, I have PHP 7.4, Nginx, Apache was uninstalled, and PHPMyAdmin, they're all ok. My Roundcube Webmail version is 1.3.8. In Postfix, following a tutorial, I added the following lines (there in /etc/postfix/

Code: [Select]
smtpd_tls_loglevel = 1
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache

smtp_tls_security_level = may
smtp_tls_loglevel = 1
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

#Enforce TLSv1.3 or TLSv1.2
smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
smtpd_tls_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
smtp_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
smtp_tls_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1


Code: [Select]
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname =
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = $myhostname, localdomain, localhost, localhost.localdomain, localhost
relayhost =
mynetworks = [::ffff:]/104 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = ipv4
message_size_limit = 52428800
mailbox_transport = lmtp:unix:private/dovecot-lmtp
smtputf8_enable = no
myorigin = /etc/mailname

There in my (the one located inside roundcubemail/config):

Code: [Select]
$config['smtp_server'] = 'ssl://';
I'm not sure whether the correct smtp server is 'ssl://' or 'ssl://' (the latter is exactly where I open the login page and type my password). All I know is that during the Installer test I used 'tls://' (or 'localhost'), I cannot remember well and it did right.

So, there's also the following:
Code: [Select]
$config['smtp_port'] = 465;
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p';

Well, I had followed those tutorials here to install and configure Postfix and Dovecot:

I hope I have provided sufficient information. Thanks!
« Last Edit: August 26, 2020, 06:45:01 PM by roguitar »

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,487
Re: I can't send nor receive emails on Roundcube
« Reply #1 on: August 27, 2020, 08:08:04 AM »
Is there anything in the Roundcube error log?

The letsencrypt cert is probably the issue, PHP cannot verify those automatically so you either need to configure Roundcube to be able to verify it or disable cert verification. See
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦