-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from behringer24/development
Merge configuration to master
- Loading branch information
Showing
13 changed files
with
42 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,6 @@ | |
# OS: Linux 4.19.76-linuxkit x86_64 Debian 10.2 | ||
# Hostname: 53941c6a59af | ||
|
||
import_environment = $import_environment TZ POSTFIXADMIN_DB_TYPE SQLITE_DB SSL_CERT SSL_KEY POSTMASTER_ADDRESS | ||
|
||
auth_mechanisms = plain login | ||
log_timestamp = "%Y-%m-%d %H:%M:%S " | ||
|
||
|
@@ -29,8 +27,8 @@ service auth { | |
} | ||
|
||
ssl = yes | ||
ssl_cert = </etc/dovecot/private/dovecot.pem | ||
ssl_key = </etc/dovecot/private/dovecot.key | ||
ssl_cert = <${env:SSL_CERT} | ||
ssl_key = <${env:SSL_KEY} | ||
|
||
userdb { | ||
args = /etc/dovecot/dovecot-sql.conf | ||
|
@@ -43,7 +41,7 @@ protocol pop3 { | |
|
||
protocol lda { | ||
auth_socket_path = /var/run/dovecot/auth-master | ||
postmaster_address = [email protected] | ||
postmaster_address = ${env:POSTMASTER_ADDRESS} | ||
} | ||
|
||
log_path = /dev/stderr | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
## | ||
# Preprocess all makefiles with envproc to replace placeholders with | ||
# environment variables | ||
## | ||
|
||
config: | ||
envproc /etc/dovecot/dovecot.conf.tpl /etc/dovecot/dovecot.conf | ||
envproc /etc/dovecot/dovecot-sql.conf.tpl /etc/dovecot/dovecot-sql.conf | ||
|
||
envproc /etc/postfix/main.cf.tpl /etc/postfix/main.cf | ||
envproc /etc/postfix/sqlite_sender_login_maps.cf.tpl /etc/postfix/sqlite_sender_login_maps.cf | ||
envproc /etc/postfix/sqlite_virtual_alias_domain_catchall_maps.cf.tpl /etc/postfix/sqlite_virtual_alias_domain_catchall_maps.cf | ||
envproc /etc/postfix/sqlite_virtual_alias_domain_mailbox_maps.cf.tpl /etc/postfix/sqlite_virtual_alias_domain_mailbox_maps.cf | ||
envproc /etc/postfix/sqlite_virtual_alias_domain_maps.cf.tpl /etc/postfix/sqlite_virtual_alias_domain_maps.cf | ||
envproc /etc/postfix/sqlite_virtual_alias_maps.cf.tpl /etc/postfix/sqlite_virtual_alias_maps.cf | ||
envproc /etc/postfix/sqlite_virtual_domains_maps.cf.tpl /etc/postfix/sqlite_virtual_domains_maps.cf | ||
envproc /etc/postfix/sqlite_virtual_mailbox_maps.cf.tpl /etc/postfix/sqlite_virtual_mailbox_maps.cf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,10 @@ services: | |
image: behringer24/mailship | ||
environment: | ||
POSTFIXADMIN_SETUP_PASSWORD: | ||
SSL_CERT: /etc/dovecot/private/dovecot.pem | ||
SSL_KEY: /etc/dovecot/private/dovecot.key | ||
MAIL_HOST: example.com | ||
POSTMASTER_ADDRESS: [email protected] | ||
volumes: | ||
- mail_dir:/var/vmail | ||
- spool_mail:/var/spool/mail | ||
|