• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Issue Relay access denied for root mails

fliegerhermi

Regular Pleskian
Server operating system version
Ubuntu 24.04.1 LTS
Plesk version and microupdate number
Plesk Obsidian 18.0.66 Update 2
Hi. I have a brand new plesk server on Ubuntu 24.
Root Mails are configured to be sent to an external address through /etc/aliases.

However when "monit" tries to send me mails, I get the follow maillog message:
Jan 13 20:11:11 web10 postfix/smtpd[13406]: connect from localhost.localdomain[::1]
Jan 13 20:11:11 web10 postfix/smtpd[13406]: NOQUEUE: reject: RCPT from localhost.localdomain[::1]: 454 4.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<web10.XXXX.de>
Jan 13 20:11:11 web10 psa-pc-remote[7732]: Message aborted.
Jan 13 20:11:11 web10 psa-pc-remote[7732]: Message aborted.
Jan 13 20:11:11 web10 postfix/smtpd[13406]: disconnect from localhost.localdomain[::1] ehlo=1 mail=1 rcpt=0/1 quit=1 commands=3/4

I noticed that the mynetworks= config field is empty in the main.cf
Usually localhost should be permitted, because it is in mynetworks. I noticed that another server is working with the exact same main.cf, but ipv6 is not enabled on the other node.
How can I resolve this issue? Is it save to setup the mynetworks field or does that screw up something like outgoing mail limit?

Thank you for your help
 
Assuming this is all being done locally you can can go to Tools & Settings > Mail Server Settings > White List and add 127.0.0.1/32 if it's not already in there.
 
Assuming this is all being done locally you can can go to Tools & Settings > Mail Server Settings > White List and add 127.0.0.1/32 if it's not already in there.
Assuming this is a v6 problem, that should be ::1/128.
 
I ended up commenting out the empty mynetworks= config.
The postfix default is to accept from all local IPs. I guess that fixed the problem.

I just wanted to make sure, that everything will still work with outgoing mail limits etc.
I excepted Plesk to leave it blank on purpose.

Thx for the help!
 
Back
Top