gostfix is simple go-based mail-manager for postfix with web interface

Alexey Edelev 17b602a869 Reset selection list when page changed пре 4 година
auth d2cdd27e77 Add token expiration date autoupdate пре 4 година
common e67e33423e Update build procedure пре 4 година
config 6a5b7df32e Add attachments to mail list пре 4 година
db d4b00f8746 Add attachments removal пре 4 година
sasl 83a3c0ce19 Add configurable server ports пре 4 година
scanner 867f9f42d4 Fix address format in database пре 4 година
utils d5006edcc2 Add tags sanitizer for rich text body пре 4 година
web 17b602a869 Reset selection list when page changed пре 4 година
.gitignore 4940e01823 Refactor login functionality пре 4 година
LICENSE 4174b9f7ad Implement basic project structure пре 4 година
README.md d2cdd27e77 Add token expiration date autoupdate пре 4 година
build.sh e67e33423e Update build procedure пре 4 година
go.mod e67e33423e Update build procedure пре 4 година
go.sum e67e33423e Update build procedure пре 4 година
main.go 9df463a419 Implement user settings пре 4 година
views 74f8b32450 Add mailboxes integrity check пре 4 година

README.md

gostfix

gostfix is simple go-based mail-manager for postfix with web interface

Supported features:

  • ~Web admin interface~
  • Web mail interface
  • ~gRPC admin interface~
  • ~POP3 inteface~
  • ~IMAP interface~
  • SASL authentication

Prerequesties

gostfix only works on Linux-like operating systems

  • go 1.13 or higher
  • mongo 3.6 or higher
  • protobuf 3.6.1 or higher
  • nginx 1.18.0 or higher with websockets support

Installation and setup

TODO: Will be described later

Nginx

    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;