Linux system Postfix Mail deployment

Source: Internet
Author: User
Tags dovecot

Tip: Please deploy lamp first

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/84/0D/wKioL1eEhdDBkDLGAAC8rFUWiZ0952.png "style=" float: none; "title=" 1.png "alt=" Wkiol1eehddbkdlgaac8rfuwiz0952.png "/>

, install the package.

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/84/0D/wKioL1eEhdDQgau9AAEK204nc9s198.png "style=" float: none; "title=" 2.png "alt=" Wkiol1eehddqgau9aaek204nc9s198.png "/>

, modify The DNS master configuration file.


650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/84/0D/wKiom1eEhdHzirJNAADX_ahDino299.png "style=" float: none; "title=" 3.png "alt=" Wkiom1eehdhzirjnaadx_ahdino299.png "/>

, modify the zone configuration file.


650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/84/0D/wKiom1eEhdGhKtEZAADcakh0gzQ507.png "style=" float: none; "title=" 4.png "alt=" Wkiom1eehdghktezaadcakh0gzq507.png "/>

, and test the domain name resolution after reboot is normal.


650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/84/0D/wKioL1eEhdKTXJolAAFP30X0NuE694.png "style=" float: none; "title=" 5.png "alt=" Wkiol1eehdktxjolaafp30x0nue694.png "/>

, modify inet_interfaces = all.


650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/84/0D/wKiom1eEhdLiYlJ7AADomEXr03g355.png "style=" float: none; "title=" 6.png "alt=" Wkiom1eehdliylj7aadomexr03g355.png "/>

, Change the value of Myhostname to mail.winsnet.com


650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/84/0D/wKioL1eEhdKCSZUKAAEzcWPD14c599.png "style=" float: none; "title=" 7.png "alt=" Wkiol1eehdkcszukaaezcwpd14c599.png "/>

, Change the value of MyDomain to winsnet.com


650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/84/0D/wKiom1eEhdOzUwHkAADWk7KMd7A236.png "style=" float: none; "title=" 8.png "alt=" Wkiom1eehdozuwhkaadwk7kmd7a236.png "/>

, modify the value of Myorigin


650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/84/0D/wKioL1eEhdOxg2qSAAEs-9YNmTA477.png "style=" float: none; "title=" 9.png "alt=" Wkiol1eehdoxg2qsaaes-9ynmta477.png "/>

, modify the value of mydestination


650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/84/0D/wKiom1eEhdPjvSdfAABm6lJEBEM790.png "style=" float: none; "title=" 10.png "alt=" Wkiom1eehdpjvsdfaabm6ljebem790.png "/>

, remove the # number from the front of the home .

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/84/0E/wKiom1eEhoXgJtr1AAB3dOfalkw802.png-wh_500x0-wm_3 -wmp_4-s_3473517634.png "title=" 111.png "alt=" Wkiom1eehoxgjtr1aab3dofalkw802.png-wh_50 "/>

, start Postfix.


650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/84/0D/wKioL1eEhdTyPkC6AAB3dOfalkw900.png "style=" float: none; "title=" 11.png "alt=" Wkiol1eehdtypkc6aab3dofalkw900.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/84/0D/wKioL1eEhdTQLOTGAABlZOOCe30738.png "style=" float: none; "title=" 12.png "alt=" Wkiol1eehdtqlotgaablzooce30738.png "/>

, install the telnet package.


650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/84/0D/wKiom1eEhdTBXTfHAACQrAcTysI328.png "style=" float: none; "title=" 13.png "alt=" Wkiom1eehdtbxtfhaacqractysi328.png "/>

, use the telnet command to test the message.


650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/84/0D/wKiom1eEhdST9c3WAACmFLRgPiU195.png "style=" float: none; "title=" 14.png "alt=" Wkiom1eehdst9c3waacmflrgpiu195.png "/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/84/0D/wKioL1eEhdWDq9qbAAEPdfOyqO4306.png "style=" float: none; "title=" 15.png "alt=" Wkiol1eehdwdq9qbaaepdfoyqo4306.png "/>

To see if the test is normal.


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/84/0D/wKiom1eEhdWjsm5xAABCzkrU5Dw297.png "style=" float: none; "title=" 16.png "alt=" Wkiom1eehdwjsm5xaabczkru5dw297.png "/>

, create these two users, and do not allow logging on to the local system.


650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/84/0D/wKioL1eEhdWTMf8xAACItSAEV0o050.png "style=" float: none; "title=" 17.png "alt=" Wkiol1eehdwtmf8xaacitsaev0o050.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/84/0E/wKiom1eEhdbzMrAzAAENHxXwav0627.png "style=" float: none; "title=" 18.png "alt=" Wkiom1eehdbzmrazaaenhxxwav0627.png "/>

, install the dovecot source software package.


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/84/0D/wKioL1eEhdaDRLnyAABOjEAFFPY099.png "style=" float: none; "title=" 19.png "alt=" Wkiol1eehdadrlnyaabojeaffpy099.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/84/0E/wKiom1eEhdbh7MJ4AAA-KF7NlWY718.png "style=" float: none; "title=" 20.png "alt=" Wkiom1eehdbh7mj4aaa-kf7nlwy718.png "/>

, copy the configuration file to the relevant folder.


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/84/0D/wKioL1eEhdexqvVpAAE-m4o536U241.png "style=" float: none; "title=" 21.png "alt=" Wkiol1eehdexqvvpaae-m4o536u241.png "/>

, the related /etc/dovecot/dovecot.conf master profile.


650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/84/0E/wKiom1eEhdexkn68AAD4h-ezpqA600.png "style=" float: none; "title=" 22.png "alt=" Wkiom1eehdexkn68aad4h-ezpqa600.png "/>

, modify /etc/dovecot/conf.d/10-ssl.conf, modify SSL = no


650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/84/0D/wKioL1eEhdeSJ0rhAAE_T3rsJ1I147.png "style=" float: none; "title=" 23.png "alt=" Wkiol1eehdesj0rhaae_t3rsj1i147.png "/>

, annotate those two lines.


650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/84/0D/wKioL1eEhdih4TCTAAFUKwpr-A4642.png "style=" float: none; "title=" 24.png "alt=" Wkiol1eehdih4tctaafukwpr-a4642.png "/>

, modify the /etc/dovecot/conf.d/10-auth.conf. the line was modified to NO.


650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/84/0E/wKiom1eEhdjxkgJwAAFKPz0kjzU943.png "style=" float: none; "title=" 25.png "alt=" Wkiom1eehdjxkgjwaafkpz0kjzu943.png "/>

, modify the /etc/dovecot/conf.d/10-mail.conf. Remove the # number in front of the line .


650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/84/0D/wKioL1eEhdiQ8jX5AABQ82KJd1M427.png "style=" float: none; "title=" 26.png "alt=" Wkiol1eehdiq8jx5aabq82kjd1m427.png "/>

, replication generates a new authentication profile.


650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/84/0D/wKioL1eEh0-A6e4sAAE1pE01h3o673.png-wh_500x0-wm_3 -wmp_4-s_2312836609.png "title=" 27.png "alt=" Wkiol1eeh0-a6e4saae1pe01h3o673.png-wh_50 "/>

, add that line.

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/84/0D/wKioL1eEhdnTbSyXAACMUbMUS-w721.png "style=" float: none; "title=" 28.png "alt=" Wkiol1eehdntbsyxaacmubmus-w721.png "/>


650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/84/0D/wKioL1eEh37wQ6fwAAEpofFhZXI392.png-wh_500x0-wm_3 -wmp_4-s_2363801662.png "style=" Float:none; "title=" 31.png "alt=" Wkiol1eeh37wq6fwaaepoffhzxi392.png-wh_50 "/>

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/84/0E/wKiom1eEh3_jeuv7AAFCKhqoJCQ165.png-wh_500x0-wm_3 -wmp_4-s_639996535.png "style=" Float:none; "title=" 29.png "alt=" Wkiom1eeh3_jeuv7aafckhqojcq165.png-wh_50 "/>

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/84/0D/wKioL1eEh3_ja9B4AADqU9JUnAU210.png-wh_500x0-wm_3 -wmp_4-s_4218442980.png "style=" Float:none; "title=" 30.png "alt=" Wkiol1eeh3_ja9b4aadqu9junau210.png-wh_50 "/>

, the test is normal.


650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/84/0D/wKioL1eEiJDRziSmAACn0rZ8qCQ939.png "style=" float: none; "title=" 1.png "alt=" Wkiol1eeijdrzismaacn0rz8qcq939.png "/>

,Webmail unzip to the website home directory.


650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/84/0E/wKiom1eEiJDBG1yoAACPXDkPk0o625.png "style=" float: none; "title=" 2.png "alt=" Wkiom1eeijdbg1yoaacpxdkpk0o625.png "/>

, enter the configuration.


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/84/0D/wKioL1eEiJChzOqvAACyK9P3CVQ560.png "style=" float: none; "title=" 3.png "alt=" Wkiol1eeijchzoqvaacyk9p3cvq560.png "/>650) this.width=650; src= http://s1.51cto.com/ Wyfs02/m01/84/0e/wkiom1eeiqrrney5aacyk9p3cvq845.png-wh_500x0-wm_3-wmp_4-s_3797370704.png "title=" 3.png "alt=" Wkiom1eeiqrrney5aacyk9p3cvq845.png-wh_50 "/>

, configure the Interface menu.


650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/84/0E/wKiom1eEiJGwglHgAADlgxjezX4897.png "style=" float: none; "title=" 4.png "alt=" Wkiom1eeijgwglhgaadlgxjezx4897.png "/>

, the organization parameter configuration interface.


650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/84/0D/wKioL1eEiJHyZeCvAAEHSd07KOw160.png "style=" float: none; "title=" 5.png "alt=" Wkiol1eeijhyzecvaaehsd07kow160.png "/>

, the server settings interface.



650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/84/0E/wKiom1eEiJKT-9YzAACjg7u5Mzk344.png "style=" float: none; "title=" 6.png "alt=" Wkiom1eeijkt-9yzaacjg7u5mzk344.png "/>

, language parameter interface.


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/84/0D/wKioL1eEiJKDc8eIAACSSPZ12Dk801.png "style=" float: none; "title=" 7.png "alt=" Wkiol1eeijkdc8eiaacsspz12dk801.png "/>

, create personal information and attachment content that is used to store users. Configure the owner of the folder to be a daemon user.


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/84/0D/wKioL1eEiJKhQOKLAAClXPTVrso131.png "style=" float: none; "title=" 8.png "alt=" Wkiol1eeijkhqoklaaclxptvrso131.png "/>

, unzip the language pack.


650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/84/0E/wKiom1eEiJPTI1CXAADS0CcXHXE267.png "style=" float: none; "title=" 9.png "alt=" Wkiom1eeijpti1cxaads0ccxhxe267.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/84/0D/wKioL1eEiJOiZDOjAAGnzsKsL24006.png "style=" float: none; "title=" 10.png "alt=" Wkiol1eeijoizdojaagnzsksl24006.png "/>


, test the message.

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/84/0E/wKiom1eEiZPSIkr1AAEVNvEHrlg830.png-wh_500x0-wm_3 -wmp_4-s_1824552392.png "title=" 11.png "alt=" Wkiom1eeizpsikr1aaevnvehrlg830.png-wh_50 "/>

, add telecom DNS.


650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/84/0E/wKiom1eEiJTi2oLnAADxtdo9yXI007.png "style=" float: none; "title=" 12.png "alt=" Wkiom1eeijti2olnaadxtdo9yxi007.png "/>

, the analysis of the external network is normal.


650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/84/0D/wKioL1eEiJSA6N3zAAAxsmK73TE769.png "style=" float: none; "title=" 13.png "alt=" Wkiol1eeijsa6n3zaaaxsmk73te769.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/84/0D/wKioL1eEiJSD_hVvAABrfiIQMrg167.png "style=" float: none; "title=" 14.png "alt=" Wkiol1eeijsd_hvvaabrfiiqmrg167.png "/>

, configure the Password authentication method.


650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/84/0E/wKiom1eEiJXz_wqrAABz2PuWnvI127.png "style=" float: none; "title=" 15.png "alt=" Wkiom1eeijxz_wqraabz2puwnvi127.png "/>, start the Password Authentication service.

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/84/0D/wKioL1eEiJXyuYCuAABNuY3KYqg181.png "style=" float: none; "title=" 16.png "alt=" Wkiol1eeijxyuycuaabnuy3kyqg181.png "/>

, add these configuration items in the master profile.


650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/84/0E/wKiom1eEiJbzHSKzAACiFVzPD_U344.png "style=" float: none; "title=" 17.png "alt=" Wkiom1eeijbzhskzaacifvzpd_u344.png "/>

, the validation is OK.


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/84/0D/wKioL1eEiJaxW1GTAACIRB7zCLs462.png "style=" float: none; "title=" 18.png "alt=" Wkiol1eeijaxw1gtaacirb7zcls462.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/84/0E/wKiom1eEiJaAnAToAACscsUylSw035.png "style=" float: none; "title=" 19.png "alt=" Wkiom1eeijaanatoaacscsuylsw035.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/84/0D/wKioL1eEiJbAMVX6AACLAT_qJ-o864.png "style=" float: none; "title=" 20.png "alt=" Wkiol1eeijbamvx6aaclat_qj-o864.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/84/0E/wKiom1eEiJeiNXJsAAGkIHbpq9I488.png "style=" float: none; "title=" 21.png "alt=" Wkiom1eeijeinxjsaagkihbpq9i488.png "/>

To verify that the message is healthy.


Linux system Postfix Mail deployment

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.