Duplicate sub domains added to rules every day

Discuss our MailScanner install script and MailScanner itself
2 posts Page 1 of 1
Bigwebmaster
Junior Member
Posts: 2
Joined: 06 Feb 2015, 17:41


Every day when the script looks for new domains or sub domains to add to the different rules like:
Code: Select all
spam.scanning.rules
spam.action.rules
spamhigh.action.rules
virus.delivery.rules
There is a particular subdomain that keeps getting added every day and is causing hundreds of duplicate entries in the above files. The interesting part is it feels like there is some pattern not matching correctly. I have two domains in the following formats added:
Code: Select all
my-domain.com
my.domain.com
The 2nd entry my.domain..com is showing hundreds of times in the rules files and every day a new set of entries gets added and I get an email like:
Code: Select all
cPanel -> MailScanner Report
my-domain.com added to spam.scanning.rules
my-domain.com added to spam.action.rules
my-domain.com added to spamhigh.action.rules
my-domain.com added to virus.delivery.rules
That is the interesting part, the e-mail says my-domain.com keeps getting added every day to these rules, but if you look in the rules themselves its actually my.domain..com that keeps getting added:
Code: Select all
To: *@my.domain.com    yes
To: *@my.domain.com    yes
To: *@my.domain.com    yes
To: *@my.domain.com    yes
To: *@my.domain.com    yes
...
Clearly there is a bug of some sorts, hoping this can get sorted out eventually.
Sarah
Moderator
Posts: 784
Joined: 09 Dec 2006, 22:49


Usually this is caused by some problem in /etc/localdomains or /etc/secondarymx, which is where the MSFE back-end script gets the domain list. You should check these files for anything odd, any duplicate lines, blank lines, strange characters, etc.
2 posts Page 1 of 1