• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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