Categorygithub.com/spanarek/api-smta
module
1.0.0
Repository: https://github.com/spanarek/api-smta.git
Documentation: pkg.go.dev

# README

API-SMTA

REST API, written on Golang for management Postfix and Amavis.

Name of api parameters matched postfix main.cf and amavisd.conf

Full documentation for allowed API-methods and parameters see in Swagger UI files by location in ./swagger

API description:

  • /general: management MTA based parameters (double_bounce_sender, message_size_limit, etc..)
  • /transport: transport parameters (mynetworks, relay_domains, etc..)
  • /contentfilter: contentfilter parameters and working with quarantine
  • /acl: tables\rules based on postfix access tables, amavis maps and amavis policy banks

Configuration:

  • resources/conf/smta/config.yaml

Security files:

  • resources/security/ssl/

Building binary in golang docker container:

#initial for make golang image
$ bash build.sh init
#next
$ bash build.sh

Manual building:

$ cd /path/to/cloned/project
$ export GOPATH=`pwd`
$ go build -o bin/smta src/app.go

References:

Libraries:

# Packages

No description provided by the author