IMail + Open Directory Configuration

Source: Internet
Author: User
Tags mx record
Since open mail uses the SMTP service provided by windows to filter spam,
Therefore, you must install the SMTP service of IIS on the server where the read/write server is running.

The following network connection diagram is used as an example,
An IMail Server allows internal users to directly communicate with IMail to send and receive emails,
One Windows2003 server with iis smtp is installed with the open-source software, acts as a transit server, and filters out external emails.
(For details about how to configure an IMail, iis smtp, and open mail server, see the following section)

DNS Configuration
In order to allow external emails to be sent to the SMTP server where the open mail service is installed, such as(1), Configure the following records on the DNS server:
IP 2.2.2.2 of smtp01.test111.com
The MX record of test111.com indicates smtp01.test111.com.

Send emails to enterprise users and still use the SMTP service of the IMail Server. For example, add a record on the DNS server to connect to the secondary node (5:
Mail.test111.com IP 2.2.2.1
You need to tell the user to configure mail.test111.com on the SMTP server of the mail client.

 

IMail Server Configuration
Enable "send all remote mail through Gateway" in SMTP configuration on the IMail Server, and enter "2.2.2.2" in the remote mail gateway host ", send all outgoing emails from the iis smtp server with an open-ended IP address (read/write), such as the connection diagram (3 ).
At the same time

Enable "relay for local users only" in mail relay options of SMTP Security ",
Send a verified user email to the SMTP server of IMail, such as the connection figure (5 ).
At the same time, emails sent from smtp02.test111.com can be accepted (no transit or verification is required), such as the connection diagram (2 ).

Win2003 SMTP + LF Configuration
Only the IMail Server (IP: 2.2.2.1) can be replayed for the SMTP virtual server, such as the connection diagram (3 ).

When test111.com is added to the domain and "allow incoming mail to be retransmitted to this domain" is enabled, emails sent to "* @ test111.com" will be accepted, such as the connection diagram (1 ).
Forward the email to the IMail Server (IP: 2.2.2.2), as shown in the connection diagram (2)

Description

The SMTP virtual server has two in, one is sending emails from the Internet to the SMTP virtual server, and the other is sending emails from IMail to the SMTP virtual server.
To filter emails sent from the Internet, you need to configure the read/write splitting function to add an IP address 2.2.2.1 to intermediate hosts, so that emails sent from the IMail Server are not filtered.

The SMTP virtual server has two out, one is to send the mail to the Internet, and the other is to send the mail to IMail.
You need to configure the auto sender whitelist function to only monitor outgoing mails sent to the Internet, but not those sent to IMail,
Add the auto sender whitelist IP exceptions to the IMail Server IP 2.2.2.1.

For other parameter configurations, see "Configuration Guide"

IMail, iis smtp, and open mail share the configurations of one server.
if you want to install IMail, iis smtp, and open mail on the same server, the IMail version must be later than 8.2, configure
two IP addresses on the server, with the primary IP address 2.2.2.1 for IMail and 2.2.2.2 for SMTP in IIS.
other configurations are the same as those above.

Configure two IP addresses for Windows, for example,

install IMail After configuring the network, the TCP/IP address of IMail automatically uses IP: 2.2.2.1,

disable "SMTP to listen on all IPs" in SMTP advanced, and leave another IP address 2.2.2.2 to the SMTP of IIS.

only 2.2.2.2 is used to configure the IP address of the iis smtp virtual server. The configuration is as follows:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.