gostfix is simple go-based mail-manager for postfix with web interface
Alexey Edelev 3a8d9b2846 Add setup scenario and fix annoying bugs | 2 years ago | |
---|---|---|
auth | 2 years ago | |
common | 2 years ago | |
config | 2 years ago | |
db | 2 years ago | |
sasl | 4 years ago | |
scanner | 2 years ago | |
setup | 2 years ago | |
utils | 4 years ago | |
web | 2 years ago | |
.gitignore | 2 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
build.sh | 2 years ago | |
go.mod | 2 years ago | |
go.sum | 2 years ago | |
main.go | 2 years ago | |
views | 2 years ago |
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;