Comments (6)
from spec.
Any use case where Domain Connect shall nuke the template solely based on SPF?
from spec.
I propose simple merging logic. I checked it in the mean time with Mailjet, who implement such logic on their side this way:
- take “v=spf1” static prefix
- for all services with SPF record
o add all the rules to the result in the same order, excluding “all” rule - add “all” rule, taking the least (or most tbd) restrictive of “all” rules between the merged templates
If DNS provider supports also “reverse” use-case (explicit or by conflict management) it should also then merge the record again from the remaining templates.
I think also we should go into direction of advising generally SPF records as removable (essential = OnApply), so that in critical cases when the record gets too long or gets too many DNS lookups (standard defines 10) the customer could fix it without dropping all related templates from DNS.
@arnoldblinn , @FlorentinStafie would love to know your opinion/remarks so I can draft the change to the spec.
from spec.
from spec.
I actually like the idea. I would go with the least restrictive all clause, but the realitiy is that anyone who doesn't do a -all is asking for trouble.
The problem with your alternative Florentin is that you are basically saying "punt". Telling a novice user to manually edit an SPF you might as well throw them in the water with chum and great white sharks. Users don't understand SPF. Even I didn't till like five minutes
from spec.
Just re-opening to keep open until final wording lands in the spec.
@FlorentinStafie, just 2 comments on your questions
Re 1) Current implementation does not override, as it detect conflict -> in result one of the templates will stay the other will be removed as whole (template consistency principle we follow)
Overwrite is also not good as then only one of 2 providers will be able to send E-mails
Re 2) I could find arguments in both directions. If any of providers define ? or ~ rule, it means he had a reason for that (as mentioned by @arnoldblinn is asking for trouble, but SPF is in some areas so dark that I don't dare to claim I know all corner cases). In this sense "upgrading" his rule to - may mean that these E-mails are not delivered and this service is affected. "Least restrictive" would offer less protection but is likely to cause less issues.
I think manual intervention on an SPF, by removing rules of one of service providers shall be explicitly allowed by him (using essential = OnApply), otherwise following again template consistency principle I would not offer it.
from spec.
Related Issues (20)
- Multi domain application
- Multi-template application
- Specify better mixed APEX/subdomain template kind
- Multiple instances of the same record
- Template compatibility test
- Lack of overview on the level of spec support by the DNS provider HOT 2
- Template onboarding automation
- IETF submission
- New record types (CAA)
- Validation of _domainconnect TXT record contents HOT 1
- General acceptance of txtConflictMatchingPolicy
- Inconsistencies in the implementations from DNS providers and/or signalling of implemented features set
- Using variables in port for SRV records HOT 5
- Register _domainconnect TXT record with IANA as per RFC8552
- Add success state to redirect_uri to validate changes HOT 4
- Possible extension for full domain and zone transfer
- Issue with Domain Connect CNAME Flattening HOT 5
- 966559068865 HOT 1
- > https:// [[email protected]](mailto:[email protected])
- > https:// [[email protected]](mailto:[email protected])
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spec.