1
0
mirror of https://github.com/directorz/mailfull-go.git synced 2025-12-17 09:37:02 +00:00
2017-07-25 12:29:23 +09:00
2017-07-25 12:29:23 +09:00
2017-07-25 11:05:28 +09:00
2017-07-25 12:29:23 +09:00
2017-07-25 12:29:23 +09:00
2016-08-23 18:03:45 +09:00
2017-07-25 12:29:23 +09:00
2017-07-25 12:29:23 +09:00
2017-07-25 10:43:07 +09:00
2017-07-25 10:43:07 +09:00
2016-08-16 00:31:45 +09:00
2016-08-15 13:24:02 +09:00
2017-07-25 11:01:55 +09:00
2016-08-23 13:39:35 +09:00
2017-07-25 12:29:23 +09:00
2016-08-01 13:53:10 +09:00
2016-12-19 13:24:41 +09:00

mailfull-go

A management tool for virtual domain email for Postfix and Dovecot written in Go.

GoDoc

Features

  • You can use both virtual users and system users.
  • Mailfull does not involve in delivery processes of the MTA, is only to generate configuration databases.
  • You do not need to restart Postfix/Dovecot to apply configuration databases.
  • The received email can be passed to the programs.

Installation

Binary

You can download archive file from releases page .
Download and unpack the archive file, and put the binary file to somewhere you want.

go get

Installed in $GOPATH/bin

$ go get github.com/directorz/mailfull-go/cmd/mailfull

Quick Start

Create a new user for Mailfull.

# useradd -r -s /bin/bash mailfull
# su - mailfull

Initialize a directory as a Mailfull repository.

$ mkdir /path/to/repo && cd /path/to/repo
$ mailfull init
$ mailfull commit

Generate configurations for Postfix and Dovecot. (Edit as needed.)

$ mailfull genconfig postfix > /etc/postfix/main.cf
$ mailfull genconfig dovecot > /etc/dovecot/dovecot.conf

Start Postfix and Dovecot.

# systemctl start postfix.service
# systemctl start dovecot.service

Add a new domain and user.

# cd /path/to/repo

# mailfull domainadd example.com
# mailfull useradd hoge@example.com
# mailfull userpasswd hoge@example.com

Enjoy!

More info

See documentation

Description
No description provided
Readme MIT 208 KiB
Languages
Go 97%
Makefile 3%