(A cloud Platform +VPLC artifact) help me solve the problem of postfix mail system

Source: Internet
Author: User

Experience:

The waste of time is mainly the problem of energy and skill level.

Save time is: With a cloud platform, no ideas, wrong or can be destroyed again, time is very fast, do not like the previous IDC trusteeship, engage in 1-2 days. Use of the artifact to visit abroad. (Chinese technology is not no, the key is too much repetition, no useful articles to me) .....

22 hours of continuous learning ... The problem solved ... I feel relieved to go to bed!!!


Previously did not consider the issue of mailbox security, just see the mailbox send and receive mail basically merit perfect ....

Last week spent a week at last working overtime on weekends. (The specific configuration I will not write here, just the situation I encountered analysis and explain.)


Our Mail server Status:

1. Too many spam mailboxes. Receive

2. Use squirrel as webmail (Squrrielmail should not be configured bar), do not support Change_pass in/etc/passwd ... (The CentOS 4.X platform is supported and then always 650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url (" /e/u261/lang/zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/> did not succeed ".

Let's roll it out here, why? Online said the amount to cooperate with companitily (Compatibility Pack) + Change_pass are all flicker. Simple is you on a Web page to modify the important system files/etc/passswd more reliable (centos4.x system security is not perfect, you know, now centos7.x ... )。 Fully understandable, but the tragedy is, I do not understand mysql....ldap is basically a squirrel play disabled.


Solve the problem:

1. Filter junk e-mail ...

2. The website supports changing passwords online.

3. The Mail administrator can service the user online ....


I selected: Postfix+dovecot+postfixadmin+rounduncemail+mysql (after a week of time finally got out) .... I want to cry. (It is so bitter, fortunately, there is a consolation is: I was the first to eat crabs in the company)


Results show (feel):

1. The page is ok .....

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/82/63/wKiom1dTv6nw-jPkAAMG-bm-6_g247.png "style=" float: none; "title=" 1234.png "alt=" Wkiom1dtv6nw-jpkaamg-bm-6_g247.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/82/62/wKioL1dTwK7ivBsmAAFPnUGLQxM593.png "style=" float: none; "title=" 234.png "alt=" Wkiol1dtwk7ivbsmaafpnuglqxm593.png "/>



2. If the company size of the 100~200, it is recommended to use the cloud host (I use a cloud platform here), because I have been engaged for one weeks, the server is basically 2nd (not configured, restart, destruction >>>> re-purchase, the process of self-installation of the machine). I have a good cloud with this family. By day billing, brother Poor took a low configuration, and then a manual renewal. 2 dollars without ...

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/82/62/wKioL1dTweSCM49PAAPWNu08Vic824.png "title=" 2344. PNG "alt=" Wkiol1dtwescm49paapwnu08vic824.png "/>


3. About visiting the foreign website, fortunately there is it (VPLC) ..... In the company access or the experience of the rapid. (Google content is still a bit pure). It seems that the company is really a lot of products, will play a combination of boxing, it should be very reliable a business .....


650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/82/62/wKioL1dTw4_Bps4qAAGqmtgrbes086.png "title=" 435. PNG "alt=" Wkiol1dtw4_bps4qaagqmtgrbes086.png "/>


A lot of content links to my turn rotten ....

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/82/62/wKioL1dTxjXT1la_AAJ15g7KsPE025.png "title=" 452. PNG "alt=" Wkiol1dtxjxt1la_aaj15g7kspe025.png "/>



The problem of the deal: (the operating system does not need to divide 32bit or 64bit, I have tried all can)

1. Installation of the environment must be installed. Here I will simply Yum (no error is good, the error does not replace the Yum source; it is convenient to reload the host anyway .... )

2. Note that the verification is complete, must see the file/var/log/maillog;/var/log/httpd/error-log (one error resolved one).

3. Configuration is no problem at all. Login on website not ... (Note that the MySQL interface is virtual account, all mapped to a system account above, I here is useradd webmail), must ensure that:

/var/www/html/mail Attribution is webmail.

/home/webmail Attribution is webmail.

/var/lib/php/session Attribution is Webmail's # # #这个很重要 ... Otherwise don't want to log in webmail ...


4. Deploy this thing, I understand the logic: (art cells so, no way; suggest I do not understand MySQL classmate, make a phpMyAdmin Web page to see, understand point SQL statement can, brother is so dry ... )

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/82/62/wKioL1dTxSrCP8W_AAAndxmnbL0889.png "title=" Mailbox schema. png "alt=" Wkiol1dtxsrcp8w_aaandxmnbl0889.png "/>




5. How to confirm the successful construction? ----No error is a success ... The means of verification are very simple.

Test SMTP (no red box, that is, verify the configuration is OK)

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/82/62/wKioL1dTxtayE_9WAABNdiJ4tLw258.png "title=" 134. PNG "alt=" Wkiol1dtxtaye_9waabndij4tlw258.png "/>

Test POP3 (note I am here with a virtual user, user [email protected] Remember to bring a domain name, or even if the configuration is correct, you do not know why):

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/82/63/wKiom1dTxuqwh_XfAAA8GBxDtFY291.png "title=" 1346. PNG "alt=" Wkiom1dtxuqwh_xfaaa8gbxdtfy291.png "/>


Test IMAP (basically nothing, see return OK on the line, you can also see the user's Authentication method option):

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/82/62/wKioL1dTyAbh89JnAAA94xrzm7I987.png "title=" 1345. PNG "alt=" Wkiol1dtyabh89jnaaa94xrzm7i987.png "/>


Maybe too many things are online, I do not say much here, just write down my this process, on this thing de experience. There is a need to be able to communicate privately.

This article is from the "samly" blog, make sure to keep this source http://323248.blog.51cto.com/313248/1786261

(A cloud Platform +VPLC artifact) help me solve the problem of 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.