Sem descrição

jinnrry 5ef5057032 v2.1 há 2 anos atrás
.github 55d4bbeab4 Update release.yml há 2 anos atrás
docs 318fea24ad v2.0 há 2 anos atrás
fe 5ef5057032 v2.1 há 2 anos atrás
server 5ef5057032 v2.1 há 2 anos atrás
.gitignore c0f12558b5 init há 2 anos atrás
Dockerfile 494940afc9 first commit há 2 anos atrás
LICENSE 8f7fbd4fee Create LICENSE há 2 anos atrás
README.md c1bfd65bc3 Update README.md há 2 anos atrás
README_CN.md d18a665c79 Update README_CN.md há 2 anos atrás
build.sh 39aab4562e 编译优化 há 2 anos atrás

README.md

PMail

A server, a domain, a line of code, a minute, and you'll be able to build a domain mailbox of your own.

中文文档

Introduction

PMail is a personal email server that pursues a minimal deployment process and extreme resource consumption. It runs on a single file and contains complete send/receive mail service and web-side mail management functions. Just a server , a domain name , a line of code , a minute of deployment time , you will be able to build a domain name mailbox of your own .

All kinds of PR are welcome, whether you are fixing bugs, adding features, or optimizing translations. Also, call for a beautiful and cute Logo for this project!

Editor

Features

  • Single file operation and easy deployment.

  • The binary file is only 15MB and takes up less than 10M of memory during the run.

  • Support dkim, spf checksum, Email Test score 10 points if correctly configured.

  • Implementing the ACME protocol, the program will automatically obtain and update Let's Encrypt certificates.

By default, a ssl certificate is generated for the web service, allowing pages to use the https protocol. If you have your own gateway or don't need https, set httpsEnabled to 2 in the configuration file so that the web service will not use https. (Note: Even if you don't need https, please make sure the path to the ssl certificate file is correct, although the web service doesn't use the certificate anymore, the smtp protocol still needs the certificate)

Disadvantages

  • At present, only the core function of sending and receiving emails has been completed. Basically, it can only be used by a single person, and does not deal with issues related to permission management in the process of multiple users.

  • The UI is ugly

How to run

1、Download

  • Click Here Download a program file that matches you.

  • Or use Docker docker pull ghcr.io/jinnrry/pmail:latest

2、Run

double-click to open Or execute command to run

3、Configuration

Open http://127.0.0.1 in your browser or use your server's public IP to visit, then follow the instructions to configure.

4、Email Test

Check if your mailbox has completed all the security configuration. It is recommended to use https://www.mail-tester.com/ for checking.

5、 WeChat Message Push

Open the config/config.json file in the run directory, edit a few configuration items at the beginning of weChatPush and restart the service.

For Developer

Project Framework

1、 FE: vue3+element-plus

The code is in fe folder.

2、Server: golang + mysql

The code is in server folder.

Api Documentation

go to wiki

Plugin Development

Reference this file. server/hooks/wechat_push/wechat_push.go