Can't send email with Roundcube

waragham

Verified User
Joined
Mar 16, 2022
Messages
14
Hello,
i got problem sending emails from my roundube instalation, when i try to send it has "successfully sent" notification, but nothing found on target email.
I try to check the mail log ( i use exim ) but got "permission denied"
here's the screenshoot :

Screenshot_390.png


what is the correcct user & group for exim & its log? anyone know how to fix this email problem?
 
You are using the wrong command.
Just using /var/log/exim_mainlog is probably twice wrong because it's /var/log/exim/mainlog directory wise (on RH alike systems). Second error is that you specify the file, but did not use a command to look into it, which is why you got the error.
But to look in it, you need to either use an editor (like nano or vi) or use the "less" command and scroll.

Those are basic linux instructions, so it might be wise to learn some basic Linux on the side.
Next to that there is also a roundcube log.

Try like this (at least on Alma linux or RH alike systems):
less /var/log/exim/mainlog
and for the roundcube logs like this:
/var/www/html/roundcube/logs/errors.log
and
/var/www/html/roundcube/logs/sendmail.log

You can end the less command with pressing the q (from quit).

But I would highly advise to make yourself familiar with the nano editor at least.

Edit: it would be good to check your vps/server ip against blacklists too.
 
Hi Richard, thanks for the explanation,

i try this 2 command :
/var/www/html/roundcube/logs/errors.log

get this result :

Screenshot_392.png

and
/var/www/html/roundcube/logs/sendmail.log

got this result :

Screenshot_391.png

Do you know where is the problem?
 
The error text leads to https://github.com/roundcube/roundcubemail/issues/5579 But the reported case is about "logout" process. So what is the action in the screenshots? And the fact you see the errors is not necessary related to the sending process. At least, if a sending process would fail on the RoundCube's side you would see an error from RoundCube in a browser.

Richard already helped anther user here on the forums recently. And your case might be similar to that one. Check SPF, DKIM, DMARC, rDNS settings as well as listing in SPAM and blacklists. They might be the reason your emails do not reach a target server.
 
Back
Top