dencha
July 14, 2024, 12:48pm
1
Hello, after installing hestia, creating domain, mails I can not login to roundcube with webmail.server.ip link. I`m getting this error:
# Oops... something went wrong!
An internal error has occurred. Your request cannot be processed at this time.
For administrators: Please check the application and/or server error logs for more information.
I am only receiving mails, and cant send them, they just doesnt arrive. Btw I can login from roundcube.server link.
Port 25 is open:
root@sls7:~# telnet ASPMX.L.GOOGLE.COM 25
Trying 2a00:1450:4010:c0f::1aβ¦
Connected to ASPMX.l.google.com .
Escape character is β^]β.
220 mx.google.com ESMTP 2adb3069b0e04-52ed25719c1si887834e87.522 - gsmtp
Regarding roundcube, follow the steps in this post
Itβs a bug, execute these commands as root and try to access webmail again:
chown -R hestiamail:www-data /etc/roundcube/
find /etc/roundcube/ -type f -iname "*php" -exec chmod 640 {} \;
chown -R hestiamail:www-data /var/lib/roundcube/
chown -R hestiamail:www-data /var/log/roundcube/
If you will use phpmyadmin, execute these commands too:
chown -R root:www-data /etc/phpmyadmin/
chown -R hestiamail:www-data /usr/share/phpmyadmin/tmp/
Regarding not sending mails, you should check exim log /var/log/exim4/mainlog
dencha
July 14, 2024, 5:22pm
3
sahsanu:
/var/log/exim4/mainlog
Why they could be frozen?
root@sls7:~# tail /var/log/exim4/mainlog
2024-07-14 19:38:57 Start queue run: pid=20820
2024-07-14 19:38:57 1sSxvw-000Mbn-CB Message is frozen
2024-07-14 19:38:57 1sSy8A-0005l1-FP Message is frozen
2024-07-14 19:38:57 1sSy1Q-0001ek-27 Message is frozen
2024-07-14 19:38:57 End queue run: pid=20820
2024-07-14 20:08:57 Start queue run: pid=23692
2024-07-14 20:08:57 1sSxvw-000Mbn-CB Message is frozen
2024-07-14 20:08:57 1sSy8A-0005l1-FP Message is frozen
2024-07-14 20:08:57 1sSy1Q-0001ek-27 Message is frozen
2024-07-14 20:08:57 End queue run: pid=23692
You should view the complete log to know the reason.
exigrep 1sSy1Q-0001ek-27 /var/log/exim4/mainlog*
Or try to send a new mail and check the log.
dencha
July 14, 2024, 6:04pm
5
sahsanu:
/var/log/exim4/mainlog
Now after every email send try I see tls connection problem, is it bug too?
024-07-14 20:59:01 1sT3Uz-0004ZN-65 <= [email protected] H=localhost (webmail.domain.com) [127.0.0.1] P=esmtpa A=dovecot_login:[email protected] =531 [email protected]
2024-07-14 20:59:01 1sT3Uz-0004ZN-65 H=gmail-smtp-in.l.google.com [64.233.161.26] TLS error on connection (recv): The TLS connection was non-properly terminated.
2024-07-14 20:59:01 1sT3Uz-0004ZN-65 => [email protected] R=dnslookup T=remote_smtp H=gmail-smtp-in.l.google.com [64.233.161.26] X=TLS1.3:ECDHE_X25519__ECDSA_SECP256R1_SHA256__AES_256_GCM:256 CV=yes K C="250 2.0.0 OK 2adb3069b0e04-52ed252d200si890265e87.178 - gsmtp"
2024-07-14 20:59:01 1sT3Uz-0004ZN-65 Completed
You can ignore that TLS error message, it is because the way gmail closes the connection. Anyway, that message was delivered correctly to gmail.
dencha
July 14, 2024, 6:10pm
7
Thank you so much, Roundcub fix worked too. Now I`ve tried to send to my email and saw it went so SPAM folder, gonna try to fix that. You saved me
1 Like
You are welcome
You should double check that you have the right spf and dmarc records for your domain, also, activate dkim and create the right records for it-
1 Like
dencha
July 14, 2024, 6:37pm
9
Gonna check that, thanks!
1 Like
system
Closed
August 13, 2024, 6:38pm
10
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.