• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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