I would like to humbly ask for some help in configuring Roundcube the correct way.
Please do assume that I am an idiot who may have done stupid mistakes. I have never set up an
email server before.
I am using a Postfix - Dovecot - Let's Encrypt set-up. I can send and receive mail with the terminal.
However, with Roundcube:
- When I try to send an email, the email is sent, but my mail box is
stuck with the "Sending message..." pop up until a new message
warning about a time-out appears.
- I do not receive any email in the inbox. I do, however, reiceive all
mails in my unix inbox.
LOGS
~/logs/error displays:
[01-Mar-2018 16:16:23 +0100]: <9mftbij0> PHP Error: Invalid compose ID in /var/www/html/inbox/program/steps/mail/sendmail.inc on line 37 (POST /inbox/?_task=mail&_unlock=loading1519917382409&_lang=en_US&_framed=1&_action=send)
~/logs/sendmail displays:
[01-Mar-2018 16:25:16 +0100]: <9mftbij0> User taco [IPADDR]; Message for [email protected]; 250: 2.0.0 Ok: queued as 6BCE52C13538
/var/log/maillog displays:
nothing
SPECIFICATIONS
Postfix 3.2.4
Dovecot 2.2.10
Roundcube 1.3.4
VPS on DigitalOcean with Centos 7.4 with SELinux running (but I have tried in permissive mode too)
firewalld with ports open: 25/tcp 110/tcp 143/tcp 465/tcp 587/tcp 993/tcp 995/tcp 80/tcp 443/tcp
LAMP with PHP72 and MariaDB 10.1
ROUNDCUBE config.inc.php
<?php
/* Local configuration for Roundcube Webmail */
$config['db_dsnw'] = 'mysql://mailadmin:mypassword@localhost/dbname';
$config['default_host'] = 'tls://mail.example.com';
$config['support_url'] = '';
$config['des_key'] = 'thekey';
$config['product_name'] = 'NAME';
$config['plugins'] = array();
Any tips, suggestions and namecalling is hugely appreciated :)
If you need the contents of the Postfix or Dovecot files, I can post that too!
You may want to enable smtp_debug in the Roundcube config and see what is happening with the SMTP server.
// Log SMTP conversation to <log_dir>/smtp or to syslog
$config['smtp_debug'] = false;
Thank you for your answer, SKaero.
The problem turned out to be my aliases file.
However, the roundcube panel is still acting buggy:
- It is still stuck with the "Sending message..." animation after I send an email, even though the email reaches the receiver.
- When I click one time on a new mail, I assume it is supposed to show up automatically in the right-hand panel. However, it never shows up. I have to double click it to read the email.
- If I have done something previously, like opening an email by double clicking, I can no longer access the folders. I have to re-enter mail.myexample.com/roundcube (that is, remove the other text following rouncube).
Are these familiar symptoms of something? Are the Certbot certificates creating these problems?
I really appreciate any hints you can give me.
Are there an errors in the browsers JS console? Are there any other errors in the mail Roundcube error log?
Thank your for your patience!
I get these messages from the console:
Load denied by X-Frame-Options: https://mail.example.com/inbox/skins/larry/watermark.html does not permit framing.
Load denied by X-Frame-Options: https://mail.example.com/inbox/?_task=mail&_caps=pdf%3D0%2Cflash%3D0%2Ctiff%3D0%2Cwebp%3D0&_uid=7&_mbox=INBOX&_framed=1&_action=preview does not permit framing.
Edit: Maybe I should open a new topic, since this is not at all related to the initial topic headline?
Ah the X-Frame-Options options problem, maybe this will help: https://www.roundcubeforum.net/index.php/topic,21658.msg58470.html#msg58470