Submitted by sonoracomm on Fri, 01/15/2016 - 12:54 Pro Licensee
Hi,
We have a Virtualmin Pro server.
How do I configure Virtualmin when e-mail for a domain is routed through a spam filter service (MX records point at service)?
The spam filter services usually have two or three MX records.
Virtualmin complains that the MX records are wrong...
Thanks in advance,
G
Status:
Closed (fixed)
Files:
Comments
Submitted by andreychek on Fri, 01/15/2016 - 14:13 Comment #1
Howdy -- yeah Virtualmin can incorrectly detect that particular case.
To handle that, you can go into System Settings -> Virtualmin Config -> Advanced Settings, and there you'll find an option called "Validate MX records for domains with email". Setting that to "No" should resolve the issue you're seeing.
Submitted by sonoracomm on Fri, 01/15/2016 - 15:09 Pro Licensee Comment #2
Hi, and thanks for getting back to me.
That setting was already set to 'No'. I tried toggling to 'Yes' then back to 'No'. I even ran the 'Reset Permissions' tool. No change.
Here's the error in Validate Servers:
vecat-inc.com BIND DNS domain : This domain has email enabled, but none of the MX records vecat-inc.com.pri-mx.na0100.smtproutes.com vecat-inc.com.bak-mx.na0100.smtpbak.com point to it. Either the MX records should be corrected, or the email feature disabled if mail is hosted externally.
Any other ideas? Baggage from a past upgrade maybe?
Thanks,
G
Submitted by JamieCameron on Fri, 01/15/2016 - 21:37 Comment #3
In the latest Virtualmin release, you can select a spam filtering MX (from a list of providers that we know about) at Server Configuration -> Email Settings .
Submitted by sonoracomm on Fri, 02/26/2016 - 12:33 Pro Licensee Comment #4
Hi Jamie,
What does the "Cloud mail filtering provider" setting do?
If it's what I need, how do I add a new service?
We are a reseller for Max Mail:
https://www.maxfocus.com/mail
Thanks in advance,
G
Submitted by JamieCameron on Fri, 02/26/2016 - 23:58 Comment #5
sonoracomm - the list of providers is hard-coded in Virtualmin, but we are open to adding others. All we need to know is the hostnames that should be used in MX records for Max Mail.
Submitted by sonoracomm on Mon, 03/07/2016 - 10:27 Pro Licensee Comment #6
Hmmm. These are different for each user domain...not just per client, per domain.
They seem to always be in the format:
domain.tld. IN MX 10 domain.tld.pri-mx.na####.smtproutes.com.
domain.tld. IN MX 90 domain.tld.bak-mx.na####.smtpbak.com.
Thinking about this...shouldn't this be a per-domain setting? Maybe just a checkbox for "Validate this domain?"
Thanks,
G
Submitted by JamieCameron on Mon, 03/07/2016 - 20:11 Comment #7
Is the #### in this case an account number with smtproutes.com ?
Submitted by sonoracomm on Wed, 03/09/2016 - 09:06 Pro Licensee Comment #8
Not that i know of. I assume its just a numerical part of a hostname. I suspect they use different hostnames as a load balancing method.
I'd guess "na" is for North America"?
Also, if you add aliased domains, you just change the "domain.tld" part of the aliased domain name MX records.
Thanks,
G
Submitted by JamieCameron on Wed, 03/09/2016 - 22:26 Comment #9
Do they have some documentation on the MX records that customers are supposed to add?
Submitted by sonoracomm on Mon, 12/10/2018 - 14:31 Pro Licensee Comment #10
Hello again,
Max Mail has been replaced by Solar Winds Mail Assure, but the problem is the same.
We need to be able to edit the "Cloud mail filtering provider" settings to add custom servers.
At a bare minimum, we need a checkbox to disable the check for this virtual server.
Mail Assure uses the same MX records, AFAIK, all the time:
mx1.mtaroutes.com mx2.mtaroutes.com
Do you have any suggestions for me?
Thanks in advance,
G
Submitted by JamieCameron on Mon, 12/10/2018 - 21:59 Comment #11
I can certainly add Mail Assure as a filtering provider in the next release.
I'm not sure what benefit allowing the list to be customized would add, since you can just edit the MX records directly if needed?
Submitted by sonoracomm on Tue, 12/11/2018 - 10:07 Pro Licensee Comment #12
Hi Jamie,
Thanks much for getting back to me.
Please see the attached image.
I'd like to selectively get rid of the big red warning. I don't really want to turn off the feature for all virtual servers, just the ones with professional spam filters.
We offer both Mail Assure and MailRoute, but customers can also bring their own filter service.
Perhaps I'm just missing something?
Thanks again,
G
Submitted by sonoracomm on Tue, 12/11/2018 - 10:08 Pro Licensee Comment #13
Submitted by JamieCameron on Wed, 12/12/2018 - 23:59 Comment #14
This will go away in the next Virtualmin release once that mail filter is recognized. Or you can apply this patch : https://github.com/virtualmin/virtualmin-gpl/commit/aa03fa968ec4c2018b8b...
Submitted by sonoracomm on Thu, 12/13/2018 - 09:14 Pro Licensee Comment #15
Thank you, that worked after restarting the webmin service.
Since we also offer MailRoute, I also added:
{ 'name' => 'MailRoute',
'url' => 'https://www.mailroute.net',
'id' => 0,
'mx' => [ 'mail.mailroute.net', ],
},
Thanks again,
G
Submitted by JamieCameron on Thu, 12/13/2018 - 23:34 Comment #16
Thanks, I'll add that too.
Submitted by IssueBot on Thu, 02/28/2019 - 09:07 Comment #17
Automatically closed - issue fixed for 2 weeks with no activity.