gostfix is simple go-based mail-manager for postfix with web interface
Alexey Edelev 2ebbefc9f6 Various fixes | il y a 2 ans | |
---|---|---|
auth | il y a 4 ans | |
common | il y a 2 ans | |
config | il y a 4 ans | |
db | il y a 4 ans | |
sasl | il y a 4 ans | |
scanner | il y a 4 ans | |
utils | il y a 4 ans | |
web | il y a 4 ans | |
.gitignore | il y a 4 ans | |
LICENSE | il y a 4 ans | |
README.md | il y a 4 ans | |
build.sh | il y a 2 ans | |
go.mod | il y a 2 ans | |
go.sum | il y a 2 ans | |
main.go | il y a 4 ans | |
views | il y a 4 ans |
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;