• 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 BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Configure e-mail incoming / outgoing server

vincentx3

New Pleskian
Server operating system version
20.04
Plesk version and microupdate number
Plesk Obsidian Web Admin 18.0.52
Hello everyone,
Admittedly, a somewhat "stupid" question, but currently I don't seem to understand something or am doing something fundamentally wrong.

My mail server is currently configured as follows, i.e. SPF, DMARC and DKIM

Plesk runs with a firewall, just for fun I "played" with the incoming and outgoing mail servers when configuring the e-mails via Thunderbird
Egro: no matter what I take, it works as long as there is a .XYZ.com.

My question:
How can I configure it so that only a specific server (e.g. mail.XYZ.com or XYZ.com) is allowed and the rest result in an error.

I'm currently approaching Plesk / Linux / DNS

About the system:
Linux 20.04
Plesk Obsidian
postfix as mail server
Firewall enabled


Thank you very much
 
The server can always be addressed by all domains that point to the same ip address. SSL/TLS encryption does not work in such cases, but nevertheless a connection is possible. I could imagine that you can create an iptables (firewall) rule that blocks traffic based on a logical AND for domain names NOT matching a certain pattern AND at the same time limited to only certain ports (the mail ports 993, 995, 143, 465, 587, but not 25), but such a construct would be quite odd. That however will still leave port 25 open, which is a necessity, and also allow clients to connect using an IP address instead of the hostname.

All in all, just don't do it. It will only create problems and not improve anything.
 
Back
Top