[email_account] call postmap after maps change
Call postmap on /etc/postfix/virtual and /etc/postfix/vmailbox after changes has occured
This commit is contained in:
parent
67347f7806
commit
0361541657
|
@ -258,6 +258,7 @@ update_postfix_email_account ()
|
|||
echo_with_tabs "$aliasuser@$aliasdomain" "whatever" 4 >> /etc/postfix/vmailbox
|
||||
fi
|
||||
fi
|
||||
postmap /etc/postfix/vmailbox
|
||||
}
|
||||
|
||||
# Add requested alias to postfix virtual_alias_maps
|
||||
|
@ -269,6 +270,7 @@ update_email_aliases ()
|
|||
then
|
||||
echo_with_tabs "$aliasuser@$aliasdomain" "$emailuser@$emaildomain" 4 >> /etc/postfix/virtual
|
||||
fi
|
||||
postmap /etc/postfix/virtual
|
||||
}
|
||||
|
||||
display_infos ()
|
||||
|
|
Loading…
Reference in New Issue