Use James to build your own mailbox server

Source: Internet
Author: User

---the first day of development---

Download Apache James 3.0 Mailbox Server, unzip to the response directory

You can see the directory structure:

H:\code\JavaCode\James\apache-james-3.0-the volume in Beta4λdir drive H is not labeled. The serial number of the volume is 04AC-0E80 H:\code\JavaCode\James\apache-james-3.0-Directory of Beta4 ./ the/ to  xx: -<DIR>          . ./ the/ to  xx: -<DIR>          .. ./ the/ .  xx: Geneva<DIR>bin ./ the/ to  xx: -<DIR>conf ./ the/ to  xx: -<DIR>Lib -/Geneva/ +   One: -             $,796LICENSE ./ the/ .  xx: Geneva<DIR>Log -/Geneva/ +   One: -             5,882NOTICE -/Geneva/ +   One: -             1,393Readme.crypto -/Geneva/ +   One: -             1,409README.txt ./ the/ to   at: -<DIR>var               4A file About,480bytes7List of the,525,490,688Available bytes

Go to the Bin directory and run running directly, there may be an error during this period:

[Com.sun.xml.internal.bind.v2.runtime.illegalannotationsexception:1"outputs"

The Jaxb-impl-2.1.3.jar package can be placed under the comf/lib of the James path to solve the problem, for: Network disk: Https://yunpan.cn/cM4ueRMwqPScQ (extract code: b575)

You can then start the server and run it. After completion, add a new domain to the server and execute the command after entering the bin:

H:\code\JavaCode\James\apache-james-3.0-beta4\binλjames-cli.bat-h localhost-p 9999289 Ms.

You can add a command for test.com to add a new user mailbox to the server: [email protected]

James-cli.bat-h localhost-p 9999 AddUser [email protected] 123456224 Ms.

Such a simple mailbox service is set up, I used foxmail to test whether the environment is complete, open foxmail Add Users:

Account: [Email protected]

Password: 123456

Mailbox Type I set to POP3 type, both the receiving server and the outgoing mail server are 127.0.0.1, because it is a local environment test, can only be used natively, if you want to use the name of a nice point can change the host itself.

The port for the pickup server is: 110

The port of the outgoing server is: 25

After the setup is complete. Now open the Foxmail to send yourself an e-mail:

Click the Send button to send the success, click on the upper left corner to receive:

You can see an unread e-mail just now. Now look at the information displayed on the interrupt:

Shows the type of mailbox service, the ID is good to drink the user name and IP address. Represents the sent record.

Use James to build your own mailbox server

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.