Program, mail server and method

The program and mail server system optimizes email delivery by adjusting timing and volume based on cloud-based server identification, reducing processing loads and ensuring efficient delivery.

JP7534746B2Active Publication Date: 2024-08-15HENNGE CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2020077090
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-04-24
Publication Date
2024-08-15
Estimated Expiration
2040-04-24

AI Technical Summary

Technical Problem

Cloud-based mail servers experience excessive processing loads during intensive email delivery, leading to potential delays or rejections, which existing technologies fail to address effectively.

Method used

A program and mail server system that adjusts email delivery timing and volume based on the identification of cloud-based mail servers, utilizing a DNS server to determine host characteristics and manage connection pools to optimize delivery.

Benefits of technology

Reduces processing loads on cloud-based mail servers by distributing email delivery efficiently, minimizing delays and rejections, and ensuring reliable delivery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007534746000005
    Figure 0007534746000005
  • Figure 0007534746000001
    Figure 0007534746000001
  • Figure 0007534746000004
    Figure 0007534746000004
Patent Text Reader

Abstract

To provide a program and a mail server that can reduce the processing load of a cloud-type mail server and quickly deliver an e-mail to the destination by avoiding centralized delivery to the cloud-type mail server when a cloud-type mail service is used.SOLUTION: A host of a MX record is obtained from a DNS server on the basis of the domain of the destination of an e-mail. An e-mail is adjusted when a host string contains a string indicating a cloud-type mail server.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a program and a mail server. [Background technology]

[0002] In recent years, cloud-based email services are often used for their convenience. From the user's perspective, cloud-based email services have the advantage that as long as the user knows the login information, the service can be accessed from any device and email can be checked easily. From the email administrator's perspective, cloud-based email services have the advantage that they do not have to go through the trouble of operating an email server and there are fewer disruptions even in the event of a disaster.

[0003] Furthermore, as a conventional technique, there is provided a program and a mail server that utilizes connection pool technology in a mail server to reduce the processing load on the mail server and shorten the processing time for delivering e-mail (Patent Document 1). [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2016-72809 A Summary of the Invention [Problem to be solved by the invention]

[0005] The mail server queries the DNS server (DNS stands for "Domain Name System"; same below) based on the destination domain, obtains the IP address (IP stands for "Internet Protocol"; same below) of the destination (delivery destination), establishes a communication path with the mail server of the IP address, and delivers the email.

[0006] When using a cloud-based mail service, the mail server that provides the cloud-based mail service (hereinafter referred to as the cloud-based mail server) may end up receiving a large amount of e-mails at a centralized level, which may result in an excessive processing load. As a result, when an e-mail is delivered from the source mail server to the cloud-based mail server, the cloud-based mail server may refuse to accept the e-mail delivered from the source mail server, which may result in the e-mail being unable to be delivered promptly.

[0007] The present invention has been made in consideration of the above-mentioned problems, and its purpose is to provide a program and a mail server that can reduce the processing load of a cloud-based mail server by avoiding concentrated delivery to the cloud-based mail server when using a cloud-based mail service, and can quickly deliver e-mail to its destination. [Means for solving the problem]

[0008] (1) The present invention provides A program for a mail server that delivers electronic mail, comprising: a reception unit that performs a process of receiving e-mail; a host acquisition unit that acquires a host of an MX record from a DNS server based on a domain of a destination of the email; a determination unit that determines whether or not the email is to be adjusted based on the host; When the email is to be adjusted, the timing of delivery of the email is adjusted. A computer is operated as a delivery department that processes deliveries. The determination unit is The present invention relates to a program that targets the email for adjustment if the host character string includes a character string indicating a cloud-based mail server.

[0009] The present invention also relates to an information storage medium storing the above program, and a mail server constituting each of the above components.

[0010] According to the present invention, a host based on the domain of the email destination is obtained, and if the host string contains a string indicating a cloud-based mail server, the email is subject to adjustment. Therefore, when using a cloud-based mail service, it is possible to avoid concentrating email delivery to the cloud-based mail server, thereby reducing the processing load on the cloud-based mail server and enabling email to be delivered quickly to the destination.

[0011] (2) The program, information storage medium, and mail server of the present invention are The determination unit is Even if the domain string of the destination of the email does not include a string indicating a cloud-based mail server, the email may be subject to adjustment if the host string includes a string indicating a cloud-based mail server.

[0012] If the domain character string of the email destination does not include a character string indicating a cloud-based mail server, it is clear that the company is not operating its own mail server but is using a cloud-based mail service. In such a case, the present invention can control emails that use the cloud-based mail service so that they are reliably subject to adjustment.

[0013] (3) The program, information storage medium, and mail server of the present invention are The delivery unit includes: For the emails to be adjusted, at least one of the delivery interval and the number of emails to be delivered simultaneously may be adjusted before delivery.

[0014] According to the present invention, since at least one of the delivery interval and the number of e-mails to be delivered simultaneously is adjusted during delivery, it is possible to adjust the delivery timing appropriately.

[0015] (4) The program, information storage medium, and mail server of the present invention are The delivery unit includes: For emails to be adjusted, at least one of a process of shortening the delivery interval as time passes and a process of increasing the number of deliveries as time passes may be performed.

[0016] According to the present invention, it is possible to adjust the delivery timing so as to gradually increase the load on the cloud-based mail server, and it is possible to make adjustments that take into account the balance between delivery efficiency and processing load.

[0017] (5) The program, information storage medium, and mail server of the present invention are a destination address acquisition unit that acquires a destination address from a DNS server based on the host acquired by the host acquisition unit; a connection pool unit that holds a connection to the destination address connected when delivering the electronic mail; If a connection to the destination address is maintained, a connection information management unit that performs a process of storing the host acquired by the host acquisition unit and the connection destination address in a storage unit in association with each other; The host acquisition unit, Obtain an MX record host based on the domain of the newly accepted email destination, The delivery unit: a process of delivering a newly received e-mail using a connection of a destination address corresponding to the domain when the destination domain of the newly received e-mail is stored in the storage unit; a process of delivering a newly received e-mail using a connection of a destination address corresponding to a host acquired based on a destination domain of the e-mail, when the host acquired based on a destination domain of the newly received e-mail is stored in the storage unit; When a destination address obtained based on the host is stored in the storage unit, at least one process of delivering the electronic mail using a connection of the destination address may be performed.

[0018] Here, the destination address is the address on the network of the mail server to which the email is to be delivered, such as an IP address (an identification number at the network layer specified to identify devices on an IP network such as IPv4 or IPv6).

[0019] According to the present invention, when the domain of the destination of a newly accepted e-mail, the host obtained based on that domain, or the destination address obtained based on that host is stored in the memory unit, the e-mail can be delivered while omitting some processing (e.g., connection processing), thereby reducing the processing load on the mail server.

[0020] (6) The program, information storage medium, and mail server of the present invention are The determination unit is If the host character string includes a character string indicating a cloud-based mail server, the email is targeted for cloud-based adjustment; If the host character string does not include a character string indicating a cloud-based mail server, the email is subject to another adjustment; The delivery unit includes: When the email is to be adjusted for cloud use, a process is performed to adjust a delivery timing of the email and deliver the email based on adjustment information for cloud use; When the e-mail is to be subject to other adjustments, the timing of delivery of the e-mail may be adjusted based on the other adjustment information, and then the e-mail may be delivered.

[0021] According to the present invention, adjustments for cloud computing and other adjustments can be made for email delivery, making it possible to reduce the processing load in a well-balanced manner according to the delivery destination. [Brief description of the drawings]

[0022] [Figure 1] FIG. 2 is an example of a network diagram according to the present embodiment. [Diagram 2] FIG. 2 is a functional block diagram of a mail server according to the embodiment; [Diagram 3] 6 is an explanatory diagram of a process of determining whether or not an email is to be adjusted according to the present embodiment. [Figure 4] FIG. 2 is a diagram for explaining delivery of emails to be adjusted in the present embodiment. [Diagram 5] FIG. 4 is a flowchart of the process of the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0023] The present embodiment will be described below. Note that the present embodiment described below does not unduly limit the contents of the present invention described in the claims. Furthermore, not all of the configurations described in the present embodiment are necessarily essential components of the present invention.

[0024] [1] Network 1 is an example of a network diagram of this embodiment. A mail server 10 of this embodiment is an MTA (Mail Transfer Agent) that accepts (receives) and delivers e-mails on a network via SMTP.

[0025] The mail server 10 receives an e-mail consisting of an envelope destination (destination e-mail address) and envelope sender (sender e-mail address) used for the delivery process, and performs the process of delivering the e-mail received via the network to a destination mail server (destination mail server) based on the envelope destination.

[0026] More specifically, the mail server 10 accepts e-mails sent from a Mail User Agent (MUA), which is a client program used for sending and receiving e-mails at terminals on the Internet.

[0027] Next, the mail server 10 queries a DNS server that manages the destination domain of the envelope of the received e-mail, a DNS server in the local area of ​​the mail server 10, or another DNS server for the host of the MX record of the destination domain of the received e-mail. For example, the mail server 10 queries a DNS server for the MX record of the destination domain and obtains the host of the destination domain.

[0028] If the mail server 10 is able to obtain the host of the MX record of the domain of the destination of the envelope of the received e-mail, it inquires about the IP address of that host. If the mail server is unable to obtain the host of the MX record of the domain of the destination of the envelope of the received e-mail, it specifies that domain as the host and inquires about the IP address. For example, the mail server 10 inquires about the A record (AAAA record in the case of IPv6, the same applies below) of the host to the DNS server and obtains the IP address of the host. In other words, this IP address becomes the delivery address of the delivery mail server.

[0029] Then, the mail server 10 establishes a connection with the destination mail server based on the IP address, and performs processing to deliver (distribute, send, transfer, relay) the e-mail.

[0030] Note that the mail server 10 of this embodiment accepting e-mail includes the case where it accepts e-mail from a terminal via SMTP, and the case where it accepts e-mail delivered from another mail server via SMTP.

[0031] In addition, in this embodiment, the delivery of e-mail by the mail server 10 includes a process of delivering received e-mail to another mail server via SMTP, a process of delivering to a local delivery agent MDA (Mail Delivery Agent) for delivery to a user who has an account in the same system in which the mail server 10 operates, and a process of locally delivering to a user who has an account in the same system in which the mail server operates without going through an MDA.

[0032] [2] Mail server configuration 2 is an example of a functional block diagram of the mail server 10 of the present embodiment. Note that the mail server 10 of the present embodiment does not need to include all the units shown in FIG. 2, and may have a configuration in which some of them are omitted. It is also possible to use the following.

[0033] The storage unit 170 serves as a work area for the processing unit 100 and the like, and the function thereof can be realized by hardware such as a RAM (VRAM).

[0034] The storage unit 170 of this embodiment includes connection information 171. The connection information 171 is information on pooled connections. The connection information is information that associates a host with a destination address (for example, an IP address of a destination mail server) obtained from a DNS server based on the host. Note that the connection information may be information that associates a domain with a host obtained from a DNS server based on the domain and a destination address obtained from the DNS server based on the host.

[0035] Storage unit 170 may have a spool area (storage area) for temporarily storing e-mails accepted by acceptance unit 111. E-mails stored in the spool area are deleted from the spool area when the delivery process is completed (delivery completed successfully or with a delivery error). If delivery is completed with an error, that is, if the e-mail cannot be delivered to the destination mail server, it is stored in the spool area again.

[0036] Moreover, the information storage medium 180 is computer-readable, and stores programs, data, and the like. That is, the information storage medium 180 stores a program for making a computer function as each unit of this embodiment (a program for making a computer execute the processing of each unit). That is, the processing unit 100 can perform various processes of this embodiment based on data read from the program (data) stored in this information storage medium 180.

[0037] For example, the information storage medium 180 is an optical disk (CD, DVD), a magneto-optical disk (MO), a magnetic disk, a hard disk, a magnetic tape, a memory (ROM), a memory card, or the like.

[0038] The processing unit 100 performs various processes of this embodiment based on programs (data) stored in the storage unit 170. The processing unit 100 of this embodiment may read out programs and data stored in the information storage medium 180, store the read out programs and data in the storage unit 170, and perform processes based on the programs and data.

[0039] The processing unit 100 (processor) performs various processes using a main memory unit in the storage unit 170 as a work area. The functions of the processing unit 100 can be realized by hardware such as various processors (CPU, DSP, etc.) or programs.

[0040] The processing unit 100 includes a reception unit 111 , a host acquisition unit 112 , a judgment unit 113 , a destination address acquisition unit 114 , a connection pool unit 116 , a connection information management unit 117 , and a delivery unit 118 .

[0041] The accepting unit 111 performs a process of accepting (receiving) an e-mail that has been sent from a sender and has an envelope destination specified by the MUA of a terminal (computer, mobile phone, tablet computer, smartphone).

[0042] The host acquisition unit 112 acquires the host of the MX record from the DNS server based on the domain of the destination of the email.

[0043] The determination unit 113 determines whether the host name is a domain name based on the domain of the destination of the e-mail by the host acquisition unit 112. Based on the host obtained by the above, it is determined whether or not the email should be subject to adjustment.

[0044] For example, when the host character string includes a character string indicating a cloud-based mail server, the determination unit 113 determines that the email is to be adjusted (for example, as an adjustment target for cloud).

[0045] In addition, the determination unit 113 determines that an email is to be adjusted even if the domain string of the email destination does not include a string indicating a cloud-based mail server, if the host string includes a string indicating a cloud-based mail server.

[0046] Furthermore, when the host character string does not include a character string indicating a cloud-based mail server, the determination unit 113 treats the email as another adjustment target.

[0047] For example, when the destination domain of an e-mail is a specific domain, the determining unit 113 determines that the e-mail is an e-mail to be "adjusted for a specific domain."

[0048] For example, if the host string does not include a string indicating a cloud-based mail server and the destination domain of the email is not a specific domain, the determination unit 113 determines that the email is a “default adjustment target” email.

[0049] The destination address acquisition unit 114 acquires a destination address from a DNS server based on the host acquired by the host acquisition unit 112 .

[0050] The connection pool unit 116 performs a process of holding (maintaining) a connection to a destination address that was connected when delivering an e-mail. For example, the connection to the destination address is held for a specified period (until a timeout occurs), and is disconnected after the specified period has elapsed.

[0051] Furthermore, the connection pool unit 116 may hold multiple connections. For example, the connection pool unit 116 may hold connections to multiple destination addresses that may be the same or different.

[0052] When a connection to a destination address connected when delivering an e-mail is maintained, the connection information management unit 117 performs a process of storing in the memory unit 170 a correspondence between the destination domain, the host acquired by the host acquisition unit 112, and the destination address.

[0053] That is, the host acquired by the host acquisition unit 112 and the destination address are stored (registered) in the storage unit 170 as a set of connection information.

[0054] It is also possible to perform processing for storing (registering) in the storage unit 170 the domain of the destination of the e-mail, the host of the MX record of the domain of the destination of the e-mail, and the destination address of the e-mail as a set of connection information.

[0055] Furthermore, when a plurality of connections are held, the connection information management unit 117 performs a process of storing connection information for each connection in the storage unit.

[0056] The delivery unit 118 performs processing to deliver the received e-mail.

[0057] For example, the delivery unit 118 performs processing to deliver an e-mail by connecting to a destination address acquired from a DNS server based on the domain of the destination mail address of the e-mail (or a host acquired based on the domain).

[0058] When an e-mail is to be adjusted, the delivery unit 118 determines the delivery timing of the e-mail. The system then processes the package and delivers it.

[0059] For example, the delivery unit 118 performs a process of adjusting at least one of the delivery interval and the number of e-mails to be delivered simultaneously for the e-mail to be adjusted and delivering the e-mail. The delivery unit 118 may also perform at least one of the process of shortening the delivery interval as time passes and the process of increasing the number of e-mails to be delivered as time passes for the e-mail to be adjusted.

[0060] In addition, when a host obtained based on the destination domain of a newly accepted e-mail is stored in the memory unit 170, the delivery unit 118 may perform a process of delivering the e-mail by utilizing a connection of a destination address corresponding to the host.

[0061] In addition, when a new e-mail is received and the domain of the destination of the e-mail is stored in the memory unit 170, the delivery unit 118 may perform a process of delivering the e-mail by using a connection of a destination address corresponding to the domain of the destination of the e-mail.

[0062] In addition, the delivery unit 118 may be configured to, when a host is obtained based on the domain of the destination of a newly accepted e-mail, and a destination address is further obtained based on the host, and the obtained destination address is stored in the memory unit 170, perform a process of delivering the e-mail using the connection of the destination address.

[0063] Furthermore, when an e-mail is to be adjusted for cloud use, the delivery unit 118 performs a process of adjusting the delivery timing of the e-mail and delivering it based on the adjustment information for cloud use.

[0064] Furthermore, when the e-mail is to be subject to other adjustment, the delivery unit 118 performs a process of adjusting the delivery timing of the e-mail and delivering it based on other adjustment information.

[0065] For example, the delivery unit 118 delivers an email to be adjusted for a specific domain by adjusting the delivery timing based on predetermined "adjustment information for a specific domain" (an example of another adjustment information).

[0066] Furthermore, the delivery unit 118 adjusts the delivery timing of emails that are the target of default adjustment, based on predetermined "default adjustment information" (an example of other adjustment information), and delivers the emails.

[0067] [3] Shipping Overview When the mail server of this embodiment receives an e-mail, it accesses a DNS server, queries the MX record of the domain of the addressee of the e-mail's envelope, and acquires the destination (delivery) host. If the host is acquired, it queries the DNS server for an A record, and acquires the destination address (e.g., IP address) of the delivery destination host. The mail server then sends a TCP (Transmission Control Protocol) It establishes a connection using the SMTP Control Protocol and processes the delivery of email using SMTP.

[0068] [4] Cloud-based mail server Incidentally, in the past, when operating a mail server on a system owned by a company (so-called on-premise), which was the mainstream, the administrator had to configure the mail server, set up communication lines, secure storage space (hardware) to store e-mails and a device to operate the mail server, and configure the associated services. However, there are disadvantages such as high initial costs and difficulty in recovery in the event of a disaster.

[0069] For this reason, in recent years, many companies and users have started using cloud-based mail services that reduce the burden on administrators. Mail servers that provide cloud-based mail services (hereinafter referred to as cloud-based mail servers) are controlled so that they can be accessed from any terminal that is connected to the Internet. For example, if a user logs in using a web browser on a terminal, the user's email information (email sending information and email receiving information) can be viewed, and the user can also create emails on the web.

[0070] In addition, with cloud-based mail services, the storage area (hardware) for storing e-mails, the device that operates the mail server, the mail server settings, the communication line settings, and the settings for the services that accompany these are all handled by the cloud-based mail service provider, reducing the burden on the administrator. In addition, when using a cloud-based mail service, the administrator still needs to perform simple settings such as setting the MX record host for the DNS server for their own domain.

[0071] [5] Delivery adjustments In particular, the mail server 10 of this embodiment determines whether or not to adjust an email based on the host acquired from the DNS server for the domain of the destination of the received email. In other words, the mail server 10 determines whether or not the host is a host related to a predetermined cloud-based mail server, and if it is determined that the host is a host related to the predetermined cloud-based mail server, the email is adjusted for delivery.

[0072] [5.1] Getting the host of an email destination First, when the mail server 10 receives an e-mail, it obtains the e-mail destination host of the MX record based on the destination domain of the e-mail from the DNS server.

[0073] For example, the mail server 10 receives an email with message ID=001, and the destination of the email is "suzuki@ifyyy.gr.jp." The mail server 10 then queries the DSN server for the host of the MX record based on the domain "ifyyy.gr.jp." For example, the mail server 10 receives information that the host is "ppp1.zzz.com." The message ID is unique identification information assigned to identify an email.

[0074] [5.2] Determination of whether or not something is subject to adjustment Then, if the character string of the host (for example, "ppp1.zzz.com") acquired from the DNS server contains a character string (for example, zzz.com) indicating a cloud-based mail server, the mail server 10 targets the email for reconciliation.

[0075] Here, the "character string indicating a cloud-based mail server" is a character string that can be used to infer a host that provides a cloud-based mail service. The "character string indicating a cloud-based mail server" may be one or more. If there are multiple "character strings indicating a cloud-based mail server," the email is subject to adjustment if the host string obtained from the DNS server includes a character string indicating any of the cloud-based mail servers.

[0076] The mail server 10 allows a character string indicating the cloud-based mail server to be preset based on input information from an administrator. FIG. 3 shows an example of a character string 60 indicating the cloud-based mail server. For example, the administrator may enter a predetermined command (e.g., nslook up or dig), the MX record string of the cloud-based mail server is obtained from the DNS server, and based on the operational input of the administrator, the unique domain of the string (e.g., zzz.com) is set as the "string indicating the cloud-based mail server."

[0077] In addition, "when the host string obtained from the DNS server includes a string indicating a cloud-based mail server" means, for example, that a part of the host string obtained from the DNS server (e.g., the unique domain part) matches a string indicating a predetermined cloud-based mail server (partial match), or that the host string obtained from the DNS server itself matches a string indicating a predetermined cloud-based mail server (exact match), etc.

[0078] For example, as shown in Figure 3, if the host obtained based on the domain "ifyyy.gr.jp" of the email destination "suzuki@ifyyy.gr.jp" is "ppp1.zzz.com", the unique domain part of the host "ppp1.zzz.com" matches the character string "zzz.com" that indicates a predetermined cloud-based mail server, so it is determined that the email is to be adjusted.

[0079] Thus, according to this embodiment, even if the domain string of the email destination (e.g., ifyyy.gr.jp) does not contain a string indicating a cloud-based mail server (e.g., zzz.com), if the host string (e.g., ppp1.zzz.com) contains a string indicating a cloud-based mail server (e.g., zzz.com), there is a partial match, and the email is subject to reconciliation.

[0080] That is, according to this embodiment, the host is focused on to determine whether or not to make it an adjustment target, so that e-mails that use a cloud-based e-mail service can be reliably controlled to be made an adjustment target.

[0081] Also, as shown in Figure 3, if the destination of an e-mail is "yamada@ifzzz.gr.jp" and the host of the domain is "zzz.com", the host "zzz.com" matches (exactly matches) the string "zzz.com" that indicates a predetermined cloud-based mail server, so it is determined that the e-mail is to be adjusted.

[0082] If the destination of the e-mail is "tanaka@zzz.com" and the host of the domain is "zzz.com", the host "zzz.com" matches (completely matches) the character string "zzz.com" indicating the predetermined cloud-based mail server, and so the mail server 10 determines that the e-mail is to be adjusted. In other words, the mail server 10 may determine that the domain part of the destination of the e-mail matches (partially matches or completely matches) the character string "zzz.com" indicating the predetermined cloud-based mail server, and so determines that the e-mail is to be adjusted.

[0083] [5.3] Coordinated email delivery processes In the present embodiment, the mail server 10 performs a process of adjusting the timing of delivery of an e-mail when the e-mail is to be adjusted. This reduces the processing load of the mail server providing the cloud-based mail service, prevents the delivery of the e-mail from being rejected by the destination mail server, and reduces e-mail delivery errors.

[0084] "Adjusting the delivery timing" means, for example, adjusting the delivery timing of the email to be adjusted before delivery. The adjustment information is at least one of the delivery interval and the number of emails to be delivered simultaneously.

[0085] In addition, if the host string obtained from the DNS server based on the destination domain of the received e-mail contains a string indicating a cloud-based mail server, the mail server 10 treats the e-mail as a target for cloud adjustment, and adjusts the delivery timing based on the adjustment information for the cloud before delivering the e-mail.

[0086] The mail server 10 delivers the emails to be adjusted for cloud use by adjusting the delivery timing for each destination mail server (each cloud-based mail server). Specifically, an example of the delivery timing of five emails M1 to M5 to be adjusted, whose destination mail server (cloud-based mail server) is "zzz.com," will be described with reference to FIG. 4(A).

[0087] For example, the mail server 10 treats five emails M1 to M5 to be adjusted and delivered to the cloud-based mail server of "zzz.com" as one collection. Then, the mail server 10 delivers the number of emails (e.g., one) to be adjusted of the five emails M1 to M5 to be delivered to the cloud-based mail server (e.g., zzz.com) at a predetermined delivery interval (e.g., 5-second interval).

[0088] For example, as shown in FIG. 4(A), mail server 10 delivers email M1 at timing T1, delivers email M2 at timing T2, which is 5 seconds after timing T1, delivers email M3 at timing T3, which is 5 seconds after timing T2, delivers email M4 at timing T4, which is 5 seconds after timing T3, and delivers email M5 at timing T5, which is 5 seconds after timing T4.

[0089] The mail server 10 may connect and deliver the emails M1 to M5 to the same destination address (for example, an IP address such as 211.259.95.188), or to different destination addresses. For example, the mail server 10 queries the DNS server for the A record (destination address) of a host, and may obtain different destination addresses even for the same host name.

[0090] The number of deliveries may be more than 2. For example, when two emails to be adjusted are delivered at a predetermined delivery interval (e.g., 5-second intervals), the two emails are delivered to the destination consecutively at the delivery timing without any interval.

[0091] Furthermore, the mail server 10 may set the delivery interval and the number of deliveries based on input from an administrator, or the mail server 10 may automatically set the delivery interval and the number of deliveries.

[0092] Furthermore, the mail server 10 may perform at least one of the following processes for shortening the delivery interval of the email to be adjusted over time and increasing the number of deliveries over time.

[0093] For example, the mail server 10 sets the delivery interval to 20 seconds in the initial operation state (when operation starts), and shortens the delivery interval as time passes. For example, the delivery interval is shortened by 1 second every time 1 hour passes. Finally, the delivery interval may be set to 1 second.

[0094] Furthermore, the mail server 10 may set the number of e-mails to be delivered simultaneously based on an administrator's input, or the mail server 10 may automatically set the number of e-mails to be delivered simultaneously.

[0095] For example, the mail server 10 sets the number of e-mails to be delivered simultaneously to one in the initial operation state (at the start of operation), and increases the number of deliveries as time passes. Each time the time passes, the number of deliveries is increased by one. Finally, the number of deliveries may be set to 10.

[0096] [5.4] Parallel processing The mail server 10 may perform parallel processing on multiple emails to be adjusted that have the same destination mail server (cloud-based mail server). The destination mail server being the same may mean, for example, that the character string indicating the cloud-based mail server (e.g., "zzz.com") is the same, or that the host (e.g., "ppp1.zzz.com") is the same.

[0097] Specifically, an example of the delivery timing of 15 emails M1 to M15 to be adjusted, whose destination mail server (cloud-based mail server) is "zzz.com," will be described with reference to FIG. 4(B).

[0098] For example, the mail server 10 treats 15 emails M1 to M15 to be adjusted and delivered to the cloud-based mail server of "zzz.com" as one group. The mail server 10 then classifies the 15 emails M1 to M15 to be adjusted and delivered to the cloud-based mail server (e.g., zzz.com) into multiple groups (e.g., three). Then, the mail server 10 delivers the number of emails to be adjusted (e.g., one email) from each of the multiple classified groups in parallel at a predetermined delivery interval (e.g., every five seconds). The emails M1 to M15 may be classified evenly, or may be classified by domain, host, or destination address (IP address).

[0099] For example, as shown in Fig. 4(B), the mail server 10 classifies 15 emails M1 to M15 to be adjusted and delivered to a cloud-based mail server (e.g., zzz.com) into a first group consisting of M1 to M5, a second group consisting of M6 to M10, and a third group consisting of M11 to M15. Then, in each group, the mail server 10 delivers the number of emails to be adjusted (e.g., one email) at a predetermined delivery interval (e.g., five-second interval). The mail server 10 also delivers the number of emails to be adjusted (e.g., one email) at a predetermined delivery interval (e.g., five-second interval) while shifting the delivery timing of each group by one second.

[0100] For example, if email M1 is delivered to the first group at timing T1, email M6 is delivered to the second group at timing T11, one second after timing T1, and email M11 is delivered to the third group at timing T21, one second after timing T11. In this way, emails can be delivered to the same destination efficiently with reduced processing load.

[0101] [6] Multi-stage adjustment process In this embodiment, if the host string obtained from the DNS server based on the destination domain of the accepted email contains a string indicating a cloud-based mail server, the mail server 10 determines that the email is an email that is "subject to adjustment for cloud."

[0102] Then, if the host string obtained from the DNS server based on the destination domain of the received e-mail does not include a string indicating a cloud-based mail server, the mail server 10 determines whether the domain is a predetermined specific domain.

[0103] If the domain is a specific domain, the mail server 10 determines that the email is an email that is "subject to adjustment for a specific domain" (an example of another subject to adjustment).

[0104] The mail server 10 is not subject to cloud-based adjustment and is not a specific domain. An email that does not fall under the adjustment target for the purpose is determined to be an email that is a "default adjustment target" (an example of another adjustment target). Note that the default refers to a standard state (initial state) that is determined in advance.

[0105] In this embodiment, for emails to be adjusted for cloud use, the delivery timing is adjusted based on the adjustment information for cloud use as described above, and the emails are delivered. For example, emails are delivered at a predetermined delivery interval (e.g., every 5 seconds) and a delivery count (e.g., 1 email).

[0106] Then, the mail server 10 adjusts the delivery timing of the emails to be adjusted for a specific domain based on the predetermined "adjustment information for a specific domain" (an example of another adjustment information) before delivering the emails. For example, the mail server 10 delivers the emails (e.g., three emails) at a predetermined delivery interval (e.g., every three seconds). In this way, flexible delivery processing according to the domain can be performed.

[0107] Furthermore, the mail server 10 adjusts the delivery timing of emails that are subject to default adjustment based on predetermined "default adjustment information" (an example of other adjustment information) before delivering the emails. Emails are delivered a certain number of times (e.g., 5 emails) at a predetermined delivery interval (e.g., 1 second interval). In this way, the default delivery timing can be adjusted, and the overall processing load of the mail server can be reduced in a balanced manner.

[0108] That is, according to this embodiment, it is possible to perform stepwise adjustments and perform e-mail delivery processing taking into consideration the processing loads on the mail server 10 and the destination mail server.

[0109] [7] Connection pool In this embodiment, once a connection has been established, it may be maintained (maintained, pooled) until a predetermined period of time determined in advance by the mail server 10 has elapsed, and e-mail may be delivered using that connection.

[0110] For example, the mail server 10 acquires a host from a DNS server based on the domain of the destination of an e-mail, acquires a destination address from the DNS server based on the host, and after establishing a connection to the destination address, maintains the connection for a predetermined period of time. While maintaining the connection, the mail server 10 performs a process of storing the domain, the host, and the destination address in the storage unit 170 in association with each other.

[0111] The mail server 10 may maintain the connection only when the host of the domain of the destination of the e-mail is a host that indicates a predetermined cloud-based mail server.

[0112] When the domain of the destination of a newly received e-mail is stored in the storage unit 170, the mail server 10 performs a process of delivering the e-mail using a connection of a destination address corresponding to the domain. In this way, the process of obtaining the host and destination address of the e-mail and the process of establishing a connection are omitted, so that the processing load of the mail server 10 can be reduced.

[0113] Furthermore, when a host obtained based on the destination domain of a newly received e-mail is stored in storage unit 170, mail server 10 performs processing to deliver the e-mail using a connection of a destination address corresponding to the host. In this way, the processing of obtaining a destination address for e-mail and establishing a connection can be omitted, thereby reducing the processing load on mail server 10.

[0114] Furthermore, when a destination address obtained based on the host is stored in the storage unit 170, the mail server 10 performs a process of delivering the e-mail using the connection of the destination address. In this way, the process of obtaining the destination address of the e-mail and establishing the connection can be omitted, thereby reducing the processing load of the mail server 10.

[0115] In addition, when multiple destination addresses for hosts in the domain of the destination of a newly accepted e-mail are stored in the memory unit 170, the mail server 10 performs processing to deliver the e-mail using a connection to any of the destination addresses that is not currently being delivered (is available).

[0116] [8] Flowchart Next, the flow of the delivery process of the mail server of this embodiment will be described with reference to Fig. 5. First, when the mail server 10 receives an e-mail (step S1), it extracts the destination domain (step S2), and based on the extracted domain, it obtains the host of the MX record from the DNS server (step S3).

[0117] Then, it is determined whether the host character string includes a character string indicating a cloud-based mail server (step S4). If the host character string includes a character string indicating a cloud-based mail server (Y in step S4), a process is performed to adjust the delivery timing of the e-mail based on the adjustment information for the cloud and deliver the e-mail (step S5).

[0118] On the other hand, if the host string does not include a string indicating a cloud-based mail server (N in step S4), it is determined whether the destination domain is a specific domain (step S6). If the destination domain is a specific domain (Y in step S6), the delivery timing of the e-mail is adjusted based on adjustment information for the specific domain and then the e-mail is delivered (step S7).

[0119] If the destination domain is not a specific domain (N in step S6), the delivery timing of the e-mail is adjusted based on the default adjustment information and the e-mail is delivered (step S8).

[0120] [9] Other The present invention is not limited to the above-described embodiment, and various modifications are possible. For example, a term cited as a broadly defined or synonymous term in the description in the specification or drawings can be replaced with a broadly defined or synonymous term in other descriptions in the specification or drawings.

[0121] The present invention includes configurations that are substantially the same as the configurations described in the embodiments (for example, configurations with the same functions, methods and results, or configurations with the same purpose and effect). The present invention also includes configurations in which non-essential parts of the configurations described in the embodiments are replaced. The present invention also includes configurations that achieve the same effects as the configurations described in the embodiments or that can achieve the same purpose. The present invention also includes configurations in which publicly known technology is added to the configurations described in the embodiments.

[0122] Although the embodiments of the present invention have been described in detail as above, it will be easily understood by those skilled in the art that many modifications are possible without substantially departing from the novel features and effects of the present invention. Therefore, all such modifications are intended to be included within the scope of the present invention. [Explanation of symbols]

[0123] 10 mail server, 100 processing unit, 111 reception unit, 112 host acquisition unit, 113 determination unit, 114 connection destination address acquisition unit, 116 connection pool unit, 117 connection information management unit, 118 delivery unit, 170 storage unit, 171 Connection information, 180 Information storage medium

Claims

1. A program for a mail server that delivers electronic mail, comprising: a reception unit that performs a process of receiving e-mail; a host acquisition unit that acquires a host of an MX record from a DNS server based on a domain of the destination of the email; a determination unit that determines whether or not the email is to be adjusted based on the host; causing a computer to function as a delivery unit that performs a process of adjusting a delivery timing of the electronic mail and delivering the electronic mail when the electronic mail is to be adjusted; The determination unit is A program characterized in that the email is subject to adjustment if the host string includes a string indicating a cloud-based mail server that provides a cloud-based mail service that allows a terminal connected to the Internet to view email sending and receiving information and to create the email.

2. In claim 1, The determination unit is A program characterized in that, even if the domain string of the destination of the email does not include a string indicating a cloud-based mail server, the email is subject to adjustment if the host string includes a string indicating a cloud-based mail server.

3. In claim 1 or 2, The delivery unit includes: A program for performing a process of adjusting at least one of the delivery interval and the number of e-mails to be delivered simultaneously for an e-mail to be adjusted and then delivering the e-mail.

4. In claim 3, The delivery unit includes: A process of shortening the delivery interval for the email to be adjusted as time passes; and and a process of increasing the number of deliveries as time passes.

5. In any one of claims 1 to 4, a destination address acquisition unit that acquires a destination address from a DNS server based on the host acquired by the host acquisition unit; a connection pool unit that holds a connection to the destination address connected when delivering the electronic mail; a connection information management unit that performs a process of storing in a storage unit the domain of the email, the host acquired by the host acquisition unit, and the destination address in association with each other when a connection to the destination address is maintained; The host acquisition unit, Obtain the host of the MX record based on the domain of the newly accepted email destination, The delivery unit: a process of delivering a newly received e-mail using a connection of a destination address corresponding to the domain when the destination domain of the newly received e-mail is stored in the storage unit; a process of delivering a newly received e-mail using a connection of a destination address corresponding to a host acquired based on a destination domain of the e-mail, when the host acquired based on a destination domain of the newly received e-mail is stored in the storage unit; When a destination address obtained based on the host is stored in the storage unit, the program performs at least one process of delivering the electronic mail using a connection of the destination address.

6. In any one of claims 1 to 5, The determination unit is If the host character string includes a character string indicating a cloud-based mail server, the email is targeted for cloud-based adjustment; If the host character string does not include a character string indicating a cloud-based mail server, the email is subject to another adjustment; The delivery unit includes: When the email is to be adjusted for cloud use, a process is performed to adjust a delivery timing of the email and deliver the email based on adjustment information for cloud use; A program for performing a process of adjusting a delivery timing of the electronic mail and delivering the electronic mail based on other adjustment information when the electronic mail is subject to other adjustment.

7. A storage unit storing the program according to any one of claims 1 to 6; A mail server comprising: a processor for executing the program.

8. A method for a mail server for delivering electronic mail, comprising: performing a process for accepting email; obtaining a host of an MX record from a DNS server based on a domain of a destination of the email; determining whether to throttle the email based on the host; and performing a process of adjusting a delivery timing of the electronic mail and delivering the electronic mail when the electronic mail is to be adjusted. The determining step includes: The host character string is used for sending and receiving e-mails on a terminal connected to the Internet. A method for adjusting an email if the email contains a string indicating a cloud-based mail server that provides a cloud-based mail service that can be controlled to allow information to be viewed and the email to be created.

Citation Information

Patent Citations

  • Data processing apparatus

    JP2010057195A

  • Network access system and network access method

    JP2010273372A

  • Electronic equipment, information display system, information display method, and program

    JP2013168711A

  • Communication system, and method for controlling electronic mail delivery in communication system

    JP2014204232A

  • Program and mail server

    JP2016072809A