roundcube cannot send emails - relay access denied after migrating to new server

I am having an issue with roundcube webmail client not being able to send emails after migration to new server. It worked perfectly on old server. I am getting:

SMTP Error (454): Failed to add recipient me@you.com 4.7.1 me@you.com: Relay access denied).

Status: 
Active

Comments

still can't get this going?

Howdy -- out of curiosity, are other clients able to send email? For example, can you send email using Outlook or Thunderbird?

I'm curious if that's perhaps a symptom of TLS not setup or working.

Hi, I don't let anyone send mail through my server - only my webmail clients. It was working ok on the old server?

ok, fixed this one too. For some reason CentOS 7 has a setting that doesn't like the 'localhost' setup in the smtp area of config.inc.php If you remove the 'localhost' and leave it as '' then roundcube will use PHP Mail instead - which works.

Ah, sounds like you figured that out as well! Was this RoundCube installation migrated from your other server? Or was it a new installation?

I fixed this issues by editing the saslauthd file like suggested in virtualmin.com/node/43216.

Appears to be an issue with install script as the options array still has a “-r” at the end that cause the demon to exit at run.

After editing both typos this issue was fixed for me.

You can confirm by checking status of saslauthd. If correct should return a status of loaded and active with a CG data tree.

“service saslauthd status” is the command I used

Ilia's picture
Submitted by Ilia on Thu, 05/06/2021 - 14:10

Appears to be an issue with install script as the options array still has a “-r” at the end that cause the demon to exit at run.

On which distro are you seeing this issue?

Ilia's picture
Submitted by Ilia on Thu, 05/06/2021 - 14:11

That would be a problem if combined realm with the login containing @ would be removed.