Skip to content
Snippets Groups Projects
Commit a0752ff7 authored by daniel.pondruff's avatar daniel.pondruff
Browse files

- get maildomain from hostname

parent 3298ec03
Branches codecept
No related tags found
2 merge requests!7Issue16 7102,!1Codecept
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
#!/bin/bash
#
# Copyright (C) 2019 OX Software GmbH
......@@ -178,7 +177,7 @@ if [ ! -f ${INIT_STATE_FILE} ]; then
#postconf -e "smtpd_tls_cert_file=${SSL_DIR}/certs/${FQDN}.crt"
#postconf -e "smtpd_tls_key_file=${SSL_DIR}/private/${FQDN}.key"
postconf -e "dovecot_destination_recipient_limit = 1"
postconf -e "virtual_mailbox_domains = ${MAIL_DOMAIN}"
postconf -e "virtual_mailbox_domains = $(hostname -f)"
postconf -e "virtual_transport = dovecot"
postconf -e "myorigin = \$mydomain"
postconf -e "mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 ${ENV_SUBNET}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment