Skip to content

Commit 5c7a1e4

Browse files
author
gau1991
committed
1 parent 35805a1 commit 5c7a1e4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/modules/stack/install/mail/ee_mod_setup_postfix.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function ee_mod_setup_postfix()
2020
#Configure Master.cf
2121
sed -i 's/#submission/submission/' /etc/postfix/master.cf &&
2222
sed -i 's/#smtps/smtps/' /etc/postfix/master.cf \
23-
|| ee_lib_error "Unable to setup details in master.cf file, exit status = " $?
23+
|| ee_lib_error "Unable to setup details in master.cf file, exit status = " $?
2424

2525
# Handle SMTP authentication using Dovecot"
2626
# On Debian6 following command not work ( Postfix < 2.8 )
@@ -33,7 +33,7 @@ function ee_mod_setup_postfix()
3333

3434
postconf -e "smtpd_relay_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination"
3535

36-
# other destination domains should be handled using virtual domains
36+
# other destination domains should be handled using virtual domains
3737
postconf -e "mydestination = localhost"
3838

3939
# using Dovecot's LMTP for mail delivery and giving it path to store mail
@@ -44,6 +44,7 @@ function ee_mod_setup_postfix()
4444
postconf -e "virtual_gid_maps = static:5000"
4545
postconf -e "virtual_mailbox_domains = mysql:/etc/postfix/mysql/virtual_domains_maps.cf"
4646
postconf -e "virtual_mailbox_maps = mysql:/etc/postfix/mysql/virtual_mailbox_maps.cf"
47+
postconf -e "virtual_alias_maps = mysql:/etc/postfix/mysql/virtual_alias_maps.cf"
4748
#postconf "message_size_limit = 20971520"
4849

4950

0 commit comments

Comments
 (0)