• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Root Mails relay access denied

llaehn

New Pleskian
Server operating system version
Almalinux 8
Plesk version and microupdate number
18.0.45
Hi,

we use monit and some otzher tools on the plesk server.
The tools sending mails from root@servername to our external mailaddress.
The server reject the mails with relay access denied

it works with whitelist the localhost (127.0.0.1 and ::1, Emails sent through a mailing list in Plesk to external mailboxes are not received: Relay access denied - Support Cases from Plesk Knowledge Base) but the mail limits not working.

how can i sent mails from server cli and root without whitelist the 127.0.0.1?
can i whitelist the root user?

br
lars
 
When you say "The server rejects the mails ...", is that the sender or the recipient from where the error message comes?

Scripts should be able to send mails at all times. The whitelisting only applies to the outgoing mail limits, but when you don't exceed the limit, you can still send mails. "Relay access denied" is rather caused by a missing login. It depends on how you try to send the mail. Through an SMTP login? In that case you must authenticate your "user", else the mail server won't accept the mail for transport. Or you do it through an interpreter which is allowed to mail by default (e.g. using the PHP mail() function).
 
Back
Top