mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 18:15:29 +02:00
Fixed #159: postfix-accounts.cf now generated with script + fixed line endings using sed in start-mailserver.sh
This commit is contained in:
parent
f8268f641a
commit
9415c099cc
6 changed files with 19 additions and 5 deletions
|
@ -9,6 +9,8 @@ die () {
|
|||
# Users
|
||||
#
|
||||
if [ -f /tmp/docker-mailserver/postfix-accounts.cf ]; then
|
||||
echo "Checking file line endings"
|
||||
sed -i 's/\r//g' /tmp/docker-mailserver/postfix-accounts.cf
|
||||
echo "Regenerating postfix 'vmailbox' and 'virtual' for given users"
|
||||
echo "# WARNING: this file is auto-generated. Modify config/postfix-accounts.cf to edit user list." > /etc/postfix/vmailbox
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue