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