Postfix redundancy solution for Exchange mail Transmission

Source: Internet
Author: User
Tags spamassassin

Because the Email Filtering hardware in the company's Exchange environment has a single point of failure and does not want to spend more money on this investment, we want to use the Postfix tool to implement a redundant solution.

Postfix is the MTA (Mail transmission agent) software developed by Wietse Venema under the ibm gpl protocol. It is an open-source mail transmission agent tool in the linux World, you can use some components to implement anti-spam and anti-virus functions.

Related components:

Postfix + clamd + spamassassin + amavisd-new

Clamd Anti-Virus engine

Spamassassin Anti-Spam

Amavisd-new is the intermediary software between the email Proxy Server (MTA) and anti-virus software

Basic Principles:

Step 1: receive emails with postfix

Postfix: accept all emails through port 25. This step is easy to understand.

Step 2: send the email to amavisd-new

In the Linux email system, amavisd-new is critical. It can be understood that all the additional features of postfix must be implemented through him.

From the above picture, we can see that postfix, after receiving the email, handed it to amavisd-new, asking him to solve the problem of anti-virus and spam filtering.

Deliver to anti-virus software

Check whether the email contains viruses through anti-virus software of clamd and linux.

Submit to SpamAssassin

It is used to filter out spam.

Step 3: return the value of amavisd-new to the postfix through port 10025.

After all the work is completed, it is handed over to postfx, and postfix is passed to exchange

Installation Process

References

# Configure clamav

CentOS 6.3

1 configure dns vim/etc/resolv. conf

Add a DNSIP that can be parsed

2 configure hosts vim/etc/hosts

Enable it to parse itself

For example, 1.1.1.1 postfix.contoso.com

1. install and configure Postfix to enable basic email sending and receiving.

1. modify the configuration file

Vim/etc/postfix/main. cf:

2 vim/etc/postfix/transport: Add the following content at the end of the configuration file.

3 vim/etc/postfix/master. cf basically keeps the original content of the default file

4. Run the following command to make transport take effect.

Postmap transport

5. Start the service:

6. view the relevant ports:

7. Use powershell send-mailmessage to test the email sending. 10.7.2.53 is the postfix Server:

8. The client has received

 

Postfix details: click here
Postfix: click here

Install and configure the Postfix email service in CentOS 6.4

Install the mail server Postfix in CentOS 5.5

Build a Postfix email server for Red Hat Enterprise Linux 5.4

Postfix (authentication) for secure email servers in Linux)

  • 1
  • 2
  • 3
  • Next Page

Related Article

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.