IP Library › Granted Patent US 10,587,561
Granted Patent B2
US 10,587,561 · App. 15/892,206 · Granted Mar 10, 2020

Method and system for optimizing and preventing failure of Sender Policy Framework (SPF) lookups by dynamically generating and returning flattened SPF records

Inventor: Amit Gupta (San Francisco, CA)
H04L51/28G06F16/24566H04L51/12H04L51/30H04L67/28
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,587,561
App. No.
15/892,206
Filed
Feb 8, 2018
Granted
Mar 10, 2020
Kind
B2
Examiner
CHACKO, JOE
Art Unit
2456
USPC
709/206
Abstract

A method for optimizing and preventing failure of Sender Policy Framework (SPF) lookups by dynamically generating and returning flattened SPF records, recorded on computer-readable medium and capable of execution by a computer, the method comprising the steps of: requesting a regular SPF Record; receiving a SPF Record that includes an entry that points to a Proxy Server; the SPF Proxy server looking up a canonical SPF record optionally containing many included domains; and the SPF Proxy server flattening the canonical record into IP addresses and optionally sub records depending on the length of the flattened response.

Claims (31)

1. A method for optimizing and preventing failure of Sender Policy Framework (SPF) lookups by dynamically generating and returning flattened SPF records, recorded on computer-readable medium and capable of execution by a computer, the method comprising the steps of:

requesting a regular SPF Record;

receiving a SPF Record that includes an entry that points to a Proxy Server (SPF Proxy Record);

the SPF Proxy server looking up a canonical SPF record optionally containing many included domains, wherein a lookup limit is circumvented by allowing the administrator of the sending email server to create a secondary SPF record that includes all the desired SPF records even if it exceeds 10 recursive lookups; and

the SPF Proxy server flattening the canonical record into IP addresses and optionally sub records depending on the length of the flattened response.

2. The method of claim 1 , further comprising the step of:

the SPF Proxy server returning the flattened record which includes an optional sub-record.

3. The method of claim 1 , further comprising the step of:

the receiving email server making additional requests to one or more sub-records depending on whether an already retrieved flattened record contains the IP address of the sending server.

4. A method for optimizing and preventing failure of Sender Policy Framework (SPF) lookups by dynamically generating and returning flattened SPF records, recorded on computer-readable medium and capable of execution by a computer, the method comprising the steps of:

sending an email from a first sending mail server that purports to be from a first domain to a second, receiving email server that purports to be from a second domain;

the receiving email server attempts to do an SPF validation using the sending email server's SPF record;

the receiving email server does a DNS request for TXT from the sending email server;

the sending email server DNS responds with an SPF Proxy Record;

the receiving email server makes a request to a SPF Proxy server for the included domains SPF proxy record;

the SPF Proxy server receives the request and extracts the domain name and optional sub record identifiers;

the SPF Proxy server looks up a Canonical SPF Record from the sending domain's DNS server by making a request, wherein a lookup limit is circumvented by allowing the administrator of the sending email server to create a secondary SPF record that includes all the desired SPF records even if it exceeds 10 recursive lookups;

the SPF Proxy server now flattens the canonical SPF record down into IP address and responds with the flattened records.

5. The method of claim 4 , wherein

the email is sent from the first domain's email server or from one or more third party email providers providing email service to the first domain.

6. The method of claim 4 , further comprising the step of

generating a canonical record by an optional or required “selector” contained within the Proxy Record; and

the SPF records are static.

7. The method of claim 4 , wherein

the SPF Proxy server now flattens the canonical SPF record down into ip address and sub address and responds with the flattened records.

8. The method of claim 7 , wherein

there can be a plurality of sub-records; and

the SPF Proxy server responds with a first flattened record in an array of records and sub-records.

9. The method of claim 4 , further comprising the step of

the receiving email server makes a request for a sub-record when the IP address of the sending email server is not in the list of flattened IP blocks that have been returned to that point.

10. The method of claim 1 , wherein the administrator creates or modifies the main SPF record for the sending email server to include an entry that points to the SPF Proxy.

Continuity (2)
Provisional Application 62457010 · Feb 9, 2017
Related Publication 20180227259A1 · Aug 9, 2018