mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Removed useless echo in virtual file.
This commit is contained in:
parent
b70f9ee3fb
commit
3f3fcb2a6e
|
@ -6,7 +6,6 @@ echo "Regenerating postfix 'vmailbox' and 'virtual' for given users"
|
|||
# rm /etc/postfix/vmailbox
|
||||
# rm /etc/postfix/vmailbox.db
|
||||
echo "# WARNING: this file is auto-generated. Modify accounts.cf in postfix directory on host" > /etc/postfix/vmailbox
|
||||
echo "# WARNING: this file is auto-generated. Modify redirects.cf in postfix directory on host" > /etc/postfix/virtual
|
||||
# Creating users
|
||||
while IFS=$'|' read -r login pass
|
||||
do
|
||||
|
@ -27,8 +26,9 @@ do
|
|||
done < /tmp/postfix/accounts.cf
|
||||
makeuserdb
|
||||
|
||||
#creating virtuals and redirects
|
||||
#copying virtual file
|
||||
cp /tmp/postfix/virtual /etc/postfix/virtual
|
||||
|
||||
echo "Postfix configurations"
|
||||
postmap /etc/postfix/vmailbox
|
||||
postmap /etc/postfix/virtual
|
||||
|
|
Loading…
Reference in a new issue