Submitted by sgrayban on Sun, 05/09/2010 - 03:10
Why do you need to add a default MX record for this plugin ? Shouldn't that be set per domain instead ?
EG; If a client uses google apps they will have 5 MX records to add.
Status:
Active
Comments
Submitted by JamieCameron on Sun, 05/09/2010 - 13:22 Comment #1
Are you sure you want to use the mail relay plugin when delivering email to gmail? It would be simpler to just not enable the mail or mail relay features, and instead set MX records for the domain pointing to google's servers. You can even setup a custom template for this with the records pre-populated..
Submitted by sgrayban on Sun, 05/09/2010 - 22:02 Comment #2
But still who only has 1 MX record these days ? You should be able to define more then 1 and certainly not any default ones. I originally suggested this plugin but I didn't think it through enough.
Submitted by JamieCameron on Sun, 05/09/2010 - 23:28 Comment #3
So is all you want is a domain that has multiple MX records, and doesn't receive or relay email on the virtualmin system at all?
Submitted by sgrayban on Mon, 05/10/2010 - 09:29 Comment #4
Well yes.. per domain. I find more often then not clients are editing the dns incorrectly and doing things like
MX 71.32.15.193. O
MX 0 mail
MX mail.domain.com.
which are wrong -- I need something that is stupid proof or close to it for clients to use when they use outside mail servers.
Submitted by JamieCameron on Tue, 05/11/2010 - 00:21 Comment #5
So what I would recommend is creating a template that has additional DNS records for gmail, and then allow customers to select that template when creating a domain.
Submitted by sgrayban on Tue, 05/11/2010 - 00:29 Comment #6
I was using gmail as an example -- I have clients that use more then just google apps -- some use a MS Exchange and others use a external mail server that does filtering and/or acts as a gateway.
Submitted by JamieCameron on Wed, 05/12/2010 - 12:43 Comment #7
So if you want email to be relayed via your virtualmin box and then delivered to a single mail server (like exchange) you should use the mail relay feature. For completely handing off mail process to gmail, use a template.
Unfortunately the mail relay plugin cannot support multiple destination mail servers, as postfix doesn't support that in its transport map.