• 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 Postfix configuration - Relay to different places depending on sending domain

DRY411S

Basic Pleskian
I am hosting a PLESK server in Google Cloud, which will not let me send mail direct from the server. Instead, I must configure the PLESK server with an SMTP relay, and am using mailgun as the relay provider.

I am using the instructions that an be found at: Sending email with Mailgun | Compute Engine Documentation

What this does is send all the email from domains hosted on the PLESK server through a single Mailgun account. i.e. Many domains -> One Mailgun account

This works fine and wasn't an issue because the amount of email did not exceed Mailgun's free tier (10,000 mails per month).

However, Mailgun are now charging for every email, and I want therefore to ask each domain owner to open their own Mailgun account, pay Mailgun themselves, and change the PLESK Postfix server so that each domain's email is sent to a separate Mailgun account. i.e One domain -> One Mailgun account (many times)

Can anybody explain how I can set up postfix so that a different relay is used for each domain on the server please. To be more precise, the relay will be the same in each case, but the user/password will be different per domain.
 
Thanks for the reply. I am aware of what the PLESK docs say about this. To achieve what I have already, with respect to MailGun, I could not use PLESK GUI, and had to manually edit postfix configuration files. I would expect to do the same for my question, but I just don't know how.

Lots on the internet about this but I don't understand some of the postfix 'directives' enough to make it work. Was hoping somebody in the PLESK community may have had success.
 
Last edited:
Back
Top