function Analysis of Postfix, Dovecot, SquirrelMail, MySQL, AMaVis, Clam Antivirus and spamassasin in mail reception

Source: Internet
Author: User
Tags dovecot squirrelmail

Tutorials for reference URLs: https://workaround.org/ispmail/lenny/bigpicture
the function distribution process of each software in the mail receiving processIn the process of sending and receiving e-mails, the Postfix, Dovecot, SquirrelMail, MySQL, AMaVis, Clam Antivirus, and Spamassasin functional classification flowcharts are as follows:
  1. E-Mail uses the SMTP protocol to enter the mail server over TCP port 25. Postfix monitors this port, receives e-mails and carries out some basic checks. These checks such as: is the sender on the blacklist? is the message certified and no subsequent checks are required? Or, the message is sent to an invalid user of the system? If the sender is not a pedestrian, you can set a tag for the message. In this step, postfix can choose to refuse to receive mail or receive mail.
  2. After receiving the message, Postfix uses the SMTP protocol to forward TCP port 10024 to AMAVis for content detection. Note that after this step, you cannot continue to refuse to receive e-mail messages. Therefore, Amavis can only take a message or discard it. Usually AMaVis will add tags to the message so that the user knows if AMaVis thinks the message is spam.
  3. AMaVis Let Spamassasin check if the message is junk mail. It can improve the accuracy of spamassasin to discriminate spam by setting the spamassasin of spam messages.
  4. Amavis also runs CLAMAV detection message to see if the message contains a virus
  5. After the check is complete, the AMAVis is sent back to Postfix via the TCP 10025 port. Postfix is configured to trust messages received from this port, so no further detection of the message is possible.
  6. After that, postfix the mail to Dovecot. Dovecot, you can pre-design your mail acceptance rules so that messages can be stored in a specific folder
  7. Dovecot storing messages to the hard disk in Maildir format
  8. Users ' mail clients can view messages through the POP3 protocol and the IMAP protocol

function Analysis of Postfix, Dovecot, SquirrelMail, MySQL, AMaVis, Clam Antivirus and spamassasin in mail reception

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.