Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
QA
ox-installer
Commits
a0752ff7
Commit
a0752ff7
authored
Jan 24, 2020
by
daniel.pondruff
Browse files
- get maildomain from hostname
parent
3298ec03
Changes
1
Show whitespace changes
Inline
Side-by-side
features/dovecot.sh
View file @
a0752ff7
#!/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
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment