• 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 What would the best setup be?

michaeljoseph01

New Pleskian
Server operating system version
Ubuntu 20.04
Plesk version and microupdate number
18.0.51
So I'm trying to determine the most secure and simple way to set up a single server that hosts a single domain with website + postfix/dovecot mail service. I'm proxying the web traffic through cloudflare. I don't see any way around not exposing the mail server IP, so I'm using a mail.domain mx record with accompanying A record pointing to a 2nd un-proxied IP for the mail service.

This seems logical to me, but only if I can then lock down all non-mail traffic coming into the exposed email IP

So
1. Is there a way to configure the firewall to block traffic by destination/local IP? Or do I need other software for this?
2. Is there any way to secure the mail.domain email server on this setup with lets encrypt? Or does it only work if you run mail through domain.com? I could do that but it would defeat the purpose of hiding my apache IP through cloudflare.

Is there a different setup I should be using?

Thanks
 
I'm guessing you found you can just use the plesk firewall to whitelist only cloudflare's IPs and have it drop the rest for the WWW server service?
 
Yes, and for the mail server I had to change it to webmail.domain because even after 2+ years of feature requests by countless people, plesk/lets encrypt does not issue ssl certs that will cover a mail.domain server setup. Seems incredible but here we are.
 
If you're talking about for accessing webmail then yes you will need to have an A record for webmail.domain.tld but otherwise if you're using mail.domain.tld just for configuring an email client you could use that but you'll need to get a wildcard cert issue for it to work and choose to secure pop/imap/smtp with it.
 
Back
Top