Roundcube login not working because of Exim/Dovecot permissions issue

filmturn

New member
After a while I got roundcube login working and then spent some more time getting it to send and receive. The main issue was permissions for the dovecot and exim directories. I used the following commands to get it working:

for dovecot permission
sudo chmod +x /etc/exim/domains/

sudo chown -R dovecot:dovecot /etc/exim/domains/

sudo systemctl restart dovecot

for exim permission
sudo chown -R exim:exim /etc/exim/domains/

sudo service exim restart
 

matt

New member
@admin the information that @filmturn provided needs to be a part of the email setup documentation IMO. I have an open ticket with your support to resolve not being able to access Roundcube webmail and executing the commands they provided fixed my problem instantly. Thanks!
 

admin

Administrator
Staff member
Hi Matt,

Glad to hear that you already solved the problem.

@filmturn Big thanks to you too, and do you mind sharing any other steps/fixes you applied (mainly, around sending/receiving mails) so other community members can also benefit from that.

Thanks
 

filmturn

New member
That's all I needed to do to get roundcube working:

for dovecot permission
sudo chmod +x /etc/exim/domains/

sudo chown -R dovecot:dovecot /etc/exim/domains/

sudo systemctl restart dovecot

for exim permission
sudo chown -R exim:exim /etc/exim/domains/

sudo service exim restart

after that I just set up the emails through the admin panel using local mailserver settings. I also set up the certificates with letsencrypt through the admin panel and used the default DNS with the main zeslecp domain as the main nameserver and ns2. nameserver with the same IP. Just all the defaults basically. For IMAP I'm using sendgrid so I had to add the sendgrid CNAMES and TXT records and set that up with WPSMTP for the wordpress installs, but that really has nothing to do with webmail. Hope this all makes sense.
 
Top