Possible error in V. 2.1. 1.395 in "Reject if invalid MX Record" ? |
Post Reply ![]() |
Author | |
albatro ![]() Guest Group ![]() |
![]() ![]() ![]() ![]() ![]() Posted: 01 December 2004 at 4:40pm |
When Spamfilter receive a message and the sender is like USER@LEVEL3.LEVEL2.COM and LEVEL3.LEVEL2.COM is non in MX record, the message is rejected. This is correct . BUT more legittimate sender have a 3'level domain also if they are not in DNS RECORD, and this gererate many false positive. Is better if SF look for "only the presence of the 2' level domain" i.e. LEVEL2.COM Wath do you mean ?? |
|
![]() |
|
Desperado ![]() Senior Member ![]() ![]() Joined: 27 January 2005 Location: United States Status: Offline Points: 1143 |
![]() ![]() ![]() ![]() ![]() |
Albatro, Just my opinion but I disagree. If there is an address of USER@LEVEL3.LEVEL2.COM , then the LEVEL3.LEVEL2.COM part is being treated as a fully qualified domain. If, as you state, "more legitimate sender have a 3'level domain", then their DNS record should reflect that decision. If there is not MX record for "LEVEL3.LEVEL2.COM", how can a message be delivered to user@LEVEL3.LEVEL2.COM ? If the intention is to have that address be a "non address" then .... by my way of thinking, they are not taking responsibility for the address and therefore I want to treat it as Spam.
Dan S.
|
|
![]() |
|
LogSat ![]() Admin Group ![]() ![]() Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
![]() ![]() ![]() ![]() ![]() |
Albatro,The MX record filter does just what it says, it checks for the presence of an MX record in the domain specified in the email address. It is our opinion that even though an MX record is not strictly necessary per RFC to deliver email to a domain, a properly configured DNS *should* include an MX value for any servers that are to receive email for a domain. By "domain" we mean domain in the SMTP world, not the DNS world, which means that we consider anything to the right of the "@" a domain, and it should have an MX record. SpamFilter will not by design check the parent of a subdomain for the presence of an MX record.Roberto F.
LogSat Software
|
|
![]() |
|
Matt R ![]() Guest Group ![]() |
![]() ![]() ![]() ![]() ![]() |
albatro, Most of that section of checkboxes in the configuration section, especially the reject if invalid MX record represent non standard cryptic methods of blocking all email, not just spam. Be careful what checkboxes you check if you are an ISP. Otherwise you'll be spending all of your time dealing with complaints about excessive false positives. |
|
![]() |
|
albatro ![]() Guest Group ![]() |
![]() ![]() ![]() ![]() ![]() |
All you expalin is correct and i share 100% your opinion. But there are many "legittimate" mailing list that SEND (and only SEND) messages from an SMTP in a server that has the name LEVEL3.LEVEL2.COM because it is in a domain LEVEL2.COM, but this is not the fully qualified MAIL server of the domain. For this matter i was thinking that, problably, is better to check only if the domain LEVEL2.COM in existent or to check if server LEVEL3.LEVEL2.COm is existent at bDNS level and not to MX record level. Compliments for your work that i, really, think is excellent. |
|
![]() |
|
bpogue99 ![]() Groupie ![]() Joined: 26 January 2005 Status: Offline Points: 59 |
![]() ![]() ![]() ![]() ![]() |
There's no such thing as a legitimate sender if you can't email them. Might as well be some made up fake address that has nothing to do with anything. Use the whitelists to add your exceptions but let's not change the feature, the feature works as intended. |
|
![]() |
|
Erik ![]() Guest Group ![]() |
![]() ![]() ![]() ![]() ![]() |
Yes... I had the same problem... A ListServ for a major client of mine used a third level domain and everything was rejected because there was no MX record for the third level. I just added them to the white list and all seems well. It was very annoying because my client refused to acknowledge the need of a valid MX record.
|
|
![]() |
|
LogSat ![]() Admin Group ![]() ![]() Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
![]() ![]() ![]() ![]() ![]() |
The issue here is that if the sender is "legittimate" as you say, then the sender must be a real, valid email address. If it's a non-existent address, then, even though the listserv may be legitimate, the "from" address they use is not, and that is a problem. They really should be using a valid "from" address, along with all the satellite things that go along with it, such as having a reverse DNS entry for that domain, an MX record, locking down the server to avoid open relays, and so on... If not, they will risk having the emails blocked by SpamFilter and/or other competing products as well.Roberto F.
LogSat Software
|
|
![]() |
|
Matt R ![]() Guest Group ![]() |
![]() ![]() ![]() ![]() ![]() |
The problem with SpamFilter logic is that an MX record is NOT required in order for an email address to be valid and deliverable. -Matt |
|
![]() |
|
LogSat ![]() Admin Group ![]() ![]() Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
![]() ![]() ![]() ![]() ![]() |
Matt,As we're trying to stress, while per RFC, yes, you don't need an MX record, per RFC you don't need any of the following either:a reverse DNS on your SMPT server's IP
you're not required to lock down your SMTP server to prevent open relays
However should you *not* have either of the above, mail is likely to be rejected as many mail servers will require that you have a reverse DNS and you don't appear on MAPS RBL lists. Adding the requirement to have an MX record is just one more thing that SpamFilter does. It's good practice to have an MX record, but it's not required, like the two above examples. SpamFilter is a product that allows admins to reject mail from servers that don't respect good practices as it helps them immensly to reduce the amount of spam.Roberto F.
LogSat Software
|
|
![]() |
|
Matt R ![]() Guest Group ![]() |
![]() ![]() ![]() ![]() ![]() |
Please show us where and by whom it is documented to be a *good* or *suggested* practice to prevent spam. Furthermore and more importantly, show us where and by whom it is stated that SMTP servers requiring an MX record for the "domain" should ignore normal domain lookup rules. Actually, ignoring the logical definition of a domain for the purpose of this feature is the original issue that I complained about and the only complaint I've read from anyone because it causes massive false positives. It is interesting to note that early versions of SpamFilter SPF had the same problem. Fortunately, logic prevailed or that too would have been a useless feature as this MX filtering feature is in its current state. SpamFilter does a tremendous service by offering logical means of filtering email. Offering illogical means of filtering email serves the chosen few that understand and want such a feature. All along everyone's problems with this feature have been the illogical application of a logical idea. I would be happy if the feature were at least not so misleading by labeling it appropriately, ie "Require All Hostnames have a MX Record". You would not get so many questions about this if the feature was labeled appropriately. I am willing to bet that all users would like to have a logical version of this feature that, just like SPF, is based on the actual domain and not assume every A record is a subdomain. Heck, your half way there now, relabel the existing feature appropriately and add the ability to require MX records in the actual domain. -Matt |
|
![]() |
|
LogSat ![]() Admin Group ![]() ![]() Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
![]() ![]() ![]() ![]() ![]() |
Matt,<<
Please show us where and by whom it is documented to be a *good* or *suggested* practice to prevent spam. Furthermore and more importantly, show us where and by whom it is stated that SMTP servers requiring an MX record for the "domain" should ignore normal domain lookup rules.
>>Please look at the following for samples fo a similar way of thought that we implemented.BarracudaNetworks, one of our competitors:
http://www.barracudanetworks.com/news_and_events/view_news.php?id=58PostFix anti-spam controls (reject_unknown_address and/or reject_unknown_hostname options):
http://www.postfix.org/spam.htmlOne of several articles:
http://www.circleid.com/print/151_0_1_0/Of course there's many more, I think these will suffice.<<
would be happy if the feature were at least not so misleading by labeling it appropriately, ie "Require All Hostnames have a MX Record". You would not get so many questions about this if the feature was labeled appropriately.
>>
We thought this was clearly indicated in the SpamFilter GUI with the phrasing "Disconnect if the remote IP does not have a valid DNS MX record". We'll be glad to change it to "Disconnect if the sender's email domain does not have a valid DNS MX record" if it makes it more clear. Please note that we still refer to "email domain" which is not necessarily the same thing as the DNS domains you refer to.
We thought this was clearly indicated in the SpamFilter GUI with the phrasing "Disconnect if the remote IP does not have a valid DNS MX record". We'll be glad to change it to "Disconnect if the sender's email domain does not have a valid DNS MX record" if it makes it more clear. Please note that we still refer to "email domain" which is not necessarily the same thing as the DNS domains you refer to.
We thought this was clearly indicated in the SpamFilter GUI with the phrasing "Disconnect if the remote IP does not have a valid DNS MX record". We'll be glad to change it to "Disconnect if the sender's email domain does not have a valid DNS MX record" if it makes it more clear. Please note that we still refer to "email domain" which is not necessarily the same thing as the DNS domains you refer to. If abc.company.com is a "host" not a domain, and the domain company.com has an MX record for the domain company.com, that is irrelevant as far as email domains are concerned. If I send an email to joe@abc.company.com, its mail server will know how to accept it. If however I send an email to joe@company.com, company.com will usually immediatley reject it since they have no idea that that joe is actually at abc.company.com. So to me the fact that company.com has an MX record is irrelevant to the sending of emails to abc.company.com, as they are two completely separate systems. One can be in the US and the other in Australia and not know about each other.The behavior in SPF is different as, for starters, it's a new standard that has just surfaced and is not widely implemented. In addition, its implementation does *require* (upon interpretation) that a DNS query be issued on the DNS domain to which a host belongs. Roberto F.
LogSat Software
|
|
![]() |
|
Matt R ![]() Guest Group ![]() |
![]() ![]() ![]() ![]() ![]() |
Roberto, You've put a lot of hard work into this product so I really hate to disagree with you, but I do. The first two references you quote support what I have saying and treat domains as domains and A records as A records. The third reference is not relavant because it's an article by someone in 2003 that is suggesting we do something like require an MX record for every sending server, which is not what your intensions were. There is nobody that supports your notion of some special non-standard "email domain". All of the articles I've implement an MX checking feature in the proper way which is to not assume an A record is a domain. This is the only feature that SpamFilter contains that does not follow common practices. It's your baby. I'm sure you'll continue to hear from frustrated users that were confused by the current implementation. The good news is SpamFilter does the job better than any other product available! I still love it! -Matt (da bratt) |
|
![]() |
|
Labsy ![]() Guest Group ![]() |
![]() ![]() ![]() ![]() ![]() |
Maybe, just maybe, the first step to "soften" the DNS and MX rule would be to add an option of a new rule, like, "Reject mail if no MX record AND no DNS reverse entry". Just thinking loudly... |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0.129 seconds.