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.
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.