Linux Network Service 08--postfix mail system

Source: Internet
Author: User
Tags squirrelmail

Linux Network Service 08--postfix mail system (ii) First, enable SMTP authentication

1.SMTP Authentication Overview

in the Postfix mail system, you can use Cyrus SASL(Cyrus Simple authentication and Security Layer ) Simple authentication security layer software to implement the basic SMTP authentication mechanism. Postfix by invoking the library of Cyrus SASL , using the authentication services provided by the Cyrus SASL SASLAUTHD to check the system account and password.

2. Configure SMTP authentication

(1) set the Cyrus SASL function library and start the saslauthd service

(2) Modify the main.cf configuration file, add SMTP authentication configuration, and reload the service

Add Manually:

Smtpd_sasl_auth_enable = yes// turn on smtpd authentication

Smtpd_sasl_security_options = noanonymous// do not allow anonymous users to send letters

Mynetworks = 127.0.0.0/8// My network segment

Smtpd_recipient_restrictions =// limit of letters

Permit_mynetworks,// allow My network

permit_sasl_authenticated,// Allow authenticated

Reject_unauth_destination// reject failed validation

Test Using SMTP Authentication

test does not use SMTP Authentication

Outlook Test uses SMTP authentication (slightly)

Setup steps: Tools --Account settings--change--Other settings--Send server--tick my sending server, using the same settings as the incoming mail server

Ii. Building a Web mail system

SquirrelMail is a Web-page program developed using PHP that works well with Postfixanddovecot , Send, receive, and manage messages via the Web interface.

Official website: crushlinux.squirrelmail.org

SOURCE Bundle: squirrelmail-1.4.22.tar.gz

Chinese Language pack: zh_cn-1.4.22-20110425.tar.gz

1. Build LAMP Environment

2. Deploy squirrelmail system

access using the browser : Http://192.168.1.108/webmail and using zhangsan Account Login System

Give [Email protected] send a test e-mail

Check email with Lisi account login

three . set up mail group by alias

Test Bulk Mail:

found the user Lisi and Zhangsan both received the message

Four , message size and mailbox space limits

1. Limit the size of messages that users can send

User test:

2.use disk quotas to limit the size of the user's mailbox space (see the Disk Quotas section for a detailed explanation of the commands)

Test :

Linux Network Service 08--postfix mail system

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.