Loading scripts/postinstall.sh +7 −0 Original line number Diff line number Diff line Loading @@ -97,6 +97,12 @@ echo "Adding email accounts used by system senders (drive, ...)" docker-compose exec -T postfixadmin /postfixadmin/scripts/postfixadmin-cli mailbox add drive@$DOMAIN --password $DRIVE_SMTP_PASSWORD --password2 $DRIVE_SMTP_PASSWORD --name "drive" --email-other $ALT_EMAIL docker-compose exec -T postfixadmin /postfixadmin/scripts/postfixadmin-cli mailbox add $SMTP_FROM --password $SMTP_PW --password2 $SMTP_PW --name "welcome" --email-other $ALT_EMAIL echo "Setting technical email aliases to $ALT_EMAIL" docker-compose exec -T postfixadmin /postfixadmin/scripts/postfixadmin-cli alias update abuse@$DOMAIN --goto $ALT_EMAIL docker-compose exec -T postfixadmin /postfixadmin/scripts/postfixadmin-cli alias update hostmaster@$DOMAIN --goto $ALT_EMAIL docker-compose exec -T postfixadmin /postfixadmin/scripts/postfixadmin-cli alias update postmaster@$DOMAIN --goto $ALT_EMAIL docker-compose exec -T postfixadmin /postfixadmin/scripts/postfixadmin-cli alias update webmaster@$DOMAIN --goto $ALT_EMAIL echo "Setting the right domain in welcome templates" docker-compose exec -T welcome find /var/www/html/invite_template/ -type f -exec sed -i "s/ecloud\.global/$DOMAIN/g" {} \; Loading @@ -121,4 +127,5 @@ echo "========================================================================== echo "Your signup link:" bash scripts/generate-signup-link.sh --user-email $ALT_EMAIL echo -e "\n\n\n" echo "Please reboot the server now" Loading
scripts/postinstall.sh +7 −0 Original line number Diff line number Diff line Loading @@ -97,6 +97,12 @@ echo "Adding email accounts used by system senders (drive, ...)" docker-compose exec -T postfixadmin /postfixadmin/scripts/postfixadmin-cli mailbox add drive@$DOMAIN --password $DRIVE_SMTP_PASSWORD --password2 $DRIVE_SMTP_PASSWORD --name "drive" --email-other $ALT_EMAIL docker-compose exec -T postfixadmin /postfixadmin/scripts/postfixadmin-cli mailbox add $SMTP_FROM --password $SMTP_PW --password2 $SMTP_PW --name "welcome" --email-other $ALT_EMAIL echo "Setting technical email aliases to $ALT_EMAIL" docker-compose exec -T postfixadmin /postfixadmin/scripts/postfixadmin-cli alias update abuse@$DOMAIN --goto $ALT_EMAIL docker-compose exec -T postfixadmin /postfixadmin/scripts/postfixadmin-cli alias update hostmaster@$DOMAIN --goto $ALT_EMAIL docker-compose exec -T postfixadmin /postfixadmin/scripts/postfixadmin-cli alias update postmaster@$DOMAIN --goto $ALT_EMAIL docker-compose exec -T postfixadmin /postfixadmin/scripts/postfixadmin-cli alias update webmaster@$DOMAIN --goto $ALT_EMAIL echo "Setting the right domain in welcome templates" docker-compose exec -T welcome find /var/www/html/invite_template/ -type f -exec sed -i "s/ecloud\.global/$DOMAIN/g" {} \; Loading @@ -121,4 +127,5 @@ echo "========================================================================== echo "Your signup link:" bash scripts/generate-signup-link.sh --user-email $ALT_EMAIL echo -e "\n\n\n" echo "Please reboot the server now"