Can multiple mail relay hosts be used on a single webmin CP?

2 posts / 0 new
Last post
#1 Fri, 10/27/2017 - 14:47
adamjedgar

Can multiple mail relay hosts be used on a single webmin CP?

I am not all that savy with mail and stumbling my way along through the intracacies of email server configuration. As some may be aware, i have been experimenting with google cloud compute instances and virtualmin (as well as a couple of other cp's).

On google cloud outbound smtp ports 25, 465, and 587 are blocked and so either one must use "GSuite" or another 3rd party mail relay host such as "Sendgrid".

Now, Sendgrid offers a free account however i believe it has a limitation of 100 emails per day...for a web hosting server with multiple clients on it, i am presupposing this would very quickly become an impossible situation for clients on my server.

bearing in mind i am using a single static external ip address and ephenumeral internal one on google cloud at present, and am offering a very basic "shared hosting service"...

Instead of me configuring webmin>servers>postfix with a single sendgrid account...can this be done at a virtualmin>virtual server level (so each one of my clients would setup their own email relay host account with sendgrid? (or competitor)

Fri, 10/27/2017 - 19:11
noisemarine

Postfix is very powerful and can be configured to do some very useful things. You could look at sender_dependent_relayhost_maps and sender_dependent_default_transport_maps. http://www.postfix.org/postconf.5.html#sender_dependent_default_transpor...

I haven't looked to see if there is a Virtualmin method to implement them, but this may help you focus your research into the matter.

Topic locked