A simple ajax app+api in golang to manage a postfixadmin flavoured postfix server. (WIP and not serious yet)
- It's being used in production running on a dedicated server
- with a simple token authentication and plain text auth (legacy reasons!)
- sits behind an nginx as proxy kinda microservice
- The
/mailbox/*
like others is wip and experiment in returning imap mailboxes via json - TODO: proper authentiction, encryption, true REST, use postfixadmin encryption login etc.
- Help+advice wanted from golang devs and postfixadmin users
Copy the config file etc/config-skel.yaml to eg config.yaml
go get github.com/daffodil/go-postfixadmin
go build
./go-postfixadmin -c /path/to/config.yaml
Open http://pfa.localhost:23456 (default port)
Visit main.go for the url endpoints (TODO: document the urls)
Contributions and feedback welcome