Systems and methods for synchronizing hostnames and IP addresses in email systems
Systems and methods for the dynamic selection of IP address in email platforms, and the synchronization of hostnames and IP addresses in such platforms, are disclosed.
1 . A method for sending electronic mail, comprising:
receiving, at a remote service from a mail server, a request for sending an email to a destination;
responsive to receiving the request, selecting, at the remote service, a source IP address based on information associated with the received request;
determining, at the remote service, a port identifier associated with the selected source IP address;
determining, at the remote service, a source hostname based on the determined port identifier;
providing the determined port identifier to the mail server;
receiving, at the remote service and from the mail server, one or more first communications on a first destination port associated with the determined port identifier, the one or more first communications comprising the determined source hostname; and
sending, from the remote service, one or more second communications externally to the destination from the selected source IP address, the one or more second communications utilizing a standard destination port identifier in place of the first destination port, wherein the selected source IP address is used to send the one or more second communications based on the determined port identifier associated with the first communications.
2 . The method of claim 1 , wherein the one or more second communications are sent from a first location remote from the mail server.
3 . The method of claim 2 , wherein the first location is a load balancer or firewall.
4 . The method of claim 2 , wherein the port identifier associated with the source IP address is determined at a second location remote from the mail server.
5 . The method of claim 4 , wherein the first location and the second location are the same.
6 . The method of claim 1 , wherein protocol command content of the first communications is utilized in the one or more second communications sent externally from the selected source IP address are the same.
7 . The method of claim 1 , wherein the first communications are sent using a service provided remotely from the mail server.
8 . A non-transitory computer readable medium, comprising instructions for:
receiving, at a remote service from a mail server, a request for sending an email to a destination;
responsive to receiving the request, selecting, at the remote service, a source IP address based on information associated with the received request;
determining, at the remote service, a port identifier associated with the selected source IP address;
determining, at the remote service, a source hostname based on the determined port identifier;
providing the determined port identifier to the mail server;
receiving, at the remote service and from the mail server, one or more first communications on a first destination port associated with the determined port identifier, the one or more first communications comprising the determined source hostname; and
sending, from the remote service, one or more second communications externally to the destination from the selected source IP address, the one or more second communications utilizing a standard destination port identifier in place of the first destination port, wherein the selected source IP address is used to send the one or more second communications based on the determined port identifier associated with the first communications.
9 . The non-transitory computer readable medium of claim 8 , wherein the one or more second communications are sent from a first location remote from the mail server.
10 . The non-transitory computer readable medium of claim 9 , wherein the first location is a load balancer or firewall.
11 . The non-transitory computer readable medium of claim 9 , wherein the port identifier associated with the source IP address is determined at a second location remote from the mail server.
12 . The non-transitory computer readable medium of claim 11 , wherein the first location and the second location are the same.
13 . The non-transitory computer readable medium of claim 8 , wherein protocol command content of the first communications is utilized in the one or more second communications sent externally from the selected source IP address.
14 . The non-transitory computer readable medium of claim 8 , wherein the first communications are sent using a service provided remotely from the mail server.
15 . A system for sending electronic mail, comprising:
a processor; and
a non-transitory computer readable medium, comprising instructions for:
receiving, at a remote service from a mail server, a request for sending an email to a destination;
responsive to receiving the request, selecting, at the remote service, a source IP address based on information associated with the received request;
determining, at the remote service, a port identifier associated with the selected source IP address;
determining, at the remote service, a source hostname based on the determined port identifier;
providing the determined port identifier to the mail server;
receiving, at the remote service and from the mail server, one or more first communications on a first destination port associated with the determined port identifier, the one or more first communications comprising the determined source hostname; and
sending, from the remote service, one or more second communications externally to the destination from the selected source IP address, the one or more second communications utilizing a standard destination port identifier in place of the first destination port, wherein the selected source IP address is used to send the one or more second communications based on the determined port identifier associated with the first communications.
16 . The system of claim 15 , wherein the one or more second communications are sent from a first location remote from the mail server.
17 . The system of claim 16 , wherein the first location is a load balancer or firewall.
18 . The system of claim 16 , wherein the port identifier associated with the source IP address is determined at a second location remote from the mail server.
19 . The system of claim 18 , wherein the first location and the second location are the same.
20 . The system of claim 15 , wherein protocol command content of the first communications is utilized in the one or more second communications sent externally from the selected source IP address.
21 . The system of claim 15 , wherein the first communications are sent using a service provided remotely from the mail server.