You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
René Jochum 7f254fad9b
continuous-integration/drone/tag Build is passing Details
Add build status
2 years ago
conf Add .gitlab-ci.yml, remove own registry 2 years ago
.drone.yml Move from gitlab-ci to drone 2 years ago
Dockerfile Use registry cache 2 years ago
Readme.md Add build status 2 years ago
start.py Set default dovecot.mail.svc.cluster.local 4 years ago

Readme.md

Build Status

Postfix

Create Readonly PostgreSQL user

USE postfixadmin;
GRANT CONNECT ON DATABASE postfixadmin TO postfix;
GRANT USAGE ON SCHEMA public TO postfix;
GRANT SELECT ON ALL TABLES IN SCHEMA public TO postfix;
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO postfix;

Environment variables

  • HOSTNAME - Host-/Mailname, defaults to the containers HOSTNAME.
  • DOVECOT_HOST - Dovecot host, defaults to dovecot.mail.svc.cluster.local
  • DOVECOT_AUTH_PORT - Auth port, defaults to 12345
  • DOVECOT_LMTP_PORT - LMTP port, defaults to 2525
  • MYDOMAIN
  • SUBNET - You want something like 10.0.0.0/8 here
  • RELAY_NETS
  • RELAY_HOST - outgoing relay
  • SQL_TYPE - either pgsql or mysql
  • SQL_USER - readonly Database user
  • SQL_PASSWORD
  • SQL_HOST
  • SQL_DATABASE
  • MESSAGE_SIZE_LIMIT - defaults to 52428800

Volumes

Overrides

  • Can contain postfix.cf and postfix.master to be run through postconf.

cert

  • Must contain ca.crt, tls.crt, tls.key