Skip to content

wuxingye/docker-mailserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

title
利用docker搭建邮件服务器

docker-mailserver

github地址

参考https://github.com/tomav/docker-mailserver 生成

WIKI:

https://github.com/tomav/docker-mailserver/wiki

setup.sh命令:

https://github.com/tomav/docker-mailserver/wiki/Setup-docker-mailserver-using-the-script-setup.sh

启动步骤:

  • host添加
    127.0.0.1	mail.local.wuxingye.com
    
  • 执行docker compose命令,启动邮件服务:
    docker-compose up -d mail
    

账户修改(需要重启docker生效):

  • 添加邮件
    ./setup.sh email add <email> <password> ,比如 ./setup.sh email add test@wuxingye.com 123456
    
  • 更新邮件
    ./setup.sh email update <email> <password> ,比如 ./setup.sh email update test@wuxingye.com 123456
    
  • 删除邮件
    ./setup.sh email del <email> ,比如 ./setup.sh email del test@wuxingye.com 123456
    
  • 收发邮件黑名单
    ./setup.sh email restrict <add|del|list> <send|receive> [<email>]
    
  • 邮件列表
    ./setup.sh email list
    

mac email添加账户

1.添加账户,选择other mail account,输入账号:test@wuxingye.com 账号

2.输入密码:123456 密码

3.输入服务器地址:mail.local.wuxingye.com 服务器

4.完成:可以使用了 完成

Releases

No releases published

Packages

No packages published

Languages