You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bambi919 5d2183e030
Update README.md
2 years ago
cmd Now show runtime version in `mailfull --version` 3 years ago
doc Update README.md 2 years ago
.gitignore Add support for creating GitHub Releases page 5 years ago
Gopkg.lock Update vendor packages 3 years ago
Gopkg.toml Use golang/dep instead of glide #21 4 years ago
LICENSE Add LICENSE 5 years ago
Makefile Use internal `ghr` command 3 years ago
README.md Update installation guide 5 years ago
aliasdomain.go Remove types for sort.Interface 4 years ago
aliasuser.go Remove types for sort.Interface 4 years ago
catchalluser.go Set permission/owner/group when creating files or directories #3 5 years ago
const.go Implement disable/enable a Domain #8 5 years ago
database.go Remove type MailData 4 years ago
domain.go Remove types for sort.Interface 4 years ago
generateconfig.go Change the path of session cache database 5 years ago
mailfull.go Add package overviews for godoc #5 5 years ago
repository.go Implement disable/enable a Domain #8 5 years ago
user.go Fix userlist 3 years ago
valid.go Fix userlist 3 years ago
version.go Bump up version to v1.0.3 3 years ago

README.md

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