gostfix is simple go-based mail-manager for postfix with web interface
Alexey Edelev 6bcbb6912c Add restore functionality for multiple selection | %!s(int64=4) %!d(string=hai) anos | |
---|---|---|
auth | %!s(int64=4) %!d(string=hai) anos | |
common | %!s(int64=4) %!d(string=hai) anos | |
config | %!s(int64=4) %!d(string=hai) anos | |
db | %!s(int64=4) %!d(string=hai) anos | |
sasl | %!s(int64=4) %!d(string=hai) anos | |
scanner | %!s(int64=4) %!d(string=hai) anos | |
utils | %!s(int64=4) %!d(string=hai) anos | |
web | %!s(int64=4) %!d(string=hai) anos | |
.gitignore | %!s(int64=4) %!d(string=hai) anos | |
LICENSE | %!s(int64=4) %!d(string=hai) anos | |
README.md | %!s(int64=4) %!d(string=hai) anos | |
build.sh | %!s(int64=4) %!d(string=hai) anos | |
go.mod | %!s(int64=4) %!d(string=hai) anos | |
go.sum | %!s(int64=4) %!d(string=hai) anos | |
main.go | %!s(int64=4) %!d(string=hai) anos | |
views | %!s(int64=4) %!d(string=hai) anos |
gostfix is simple go-based mail-manager for postfix with web interface
Supported features:
gostfix only works on Linux-like operating systems
TODO: Will be described later
listen 443 ssl;
server_name mail.example.com;
# Add proxy micro-web services
location / {
proxy_pass http://localhost:65200;
}
# Add web sockets proxy
location ~ ^/m[\d]+/notifierSubscribe$ {
proxy_pass http://localhost:65200;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
}
# SSL configuration
ssl_certificate /path/to/cert.pem;
ssl_certificate_key /path/to/privkey.pem;