We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e058a35 commit f713cf0Copy full SHA for f713cf0
bin/v-change-mail-domain-catchall
@@ -41,8 +41,8 @@ is_object_unsuspended 'mail' 'DOMAIN' "$domain"
41
42
# Change cathcall alias
43
if [[ "$MAIL_SYSTEM" =~ exim ]]; then
44
- sed -i "/*@$domain:/d" $HOMEDIR/$user/conf/mail/$domain/aliases
45
- echo "*@$domain:$email" >> $HOMEDIR/$user/conf/mail/$domain/aliases
+ sed -i "/*@$domain_idn:/d" $HOMEDIR/$user/conf/mail/$domain/aliases
+ echo "*@$domain_idn:$email" >> $HOMEDIR/$user/conf/mail/$domain/aliases
46
fi
47
48
0 commit comments