unable to send/receive email in cpanel - SMTP error (504): authentication failed

Post Reply
omidch
Junior Member
Posts: 1
Joined: 15 Jan 2024, 11:31

unable to send/receive email in cpanel - SMTP error (504): authentication failed

Post by omidch »

I cant send Email in Roundcube webmail, when click to send I have this error: SMTP error (504): authentication failed

I use CSF firewall and mail port is open. SMTP_ALLOWLOCAL is on, SMTP_BLOCK in on/off not defference, (I disable CSF but i have same error. Even if I remove CSF completely, the same error still exists.)

I use Cloadflare on my whm hostname and my main domain, but cloudflare setting is defult. and my hostname is dns-only.

My OS is ubuntu 20.04 with litespeed webserver.

I change my email account password but I have same error.

in this log: /var/log/exim_mainlog.1 I have many time this error: 2024-01-07 10:30:01 1rM5Gd-009brq-1z Message is frozen

RDNS is my hostname in Hetzner Cloud and my PTR record is valid.

Also: Exim is not listed service restart menu whm. Exim is not listed service status page whm. even after checking via terminal the status of exim, the reply is always:

Code: Select all

root@server:~# service exim restart
Failed to restart exim.service: Unit exim.service not found.
but Exim Configuration Manager in ok in WHM.

I guess the problem is exim. Is there a way to reinstall/install/repair it? I reset it from Exim Configuration Manager but the problem is still there.

Can I install exim in ubuntu? Does this not cause a crash in Cpanel? Which package should be installed exactly?

Code: Select all

root@server:~# apt install exim Package exim is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it:
cpanel-exim exim4-base
Post Reply