Email Settings
-
Do you mean => https://docs.cloudron.io/apps/#disable-email-configuration?
But very good that you mention the
start.sh
.
I just took a peek https://git.cloudron.io/packages/limesurvey-app/-/blob/master/start.sh?ref_type=heads#L35-L44echo "==> Configure email" $mysql -e "REPLACE INTO lime_settings_global (stg_name, stg_value) VALUES ('siteadminemail', '${CLOUDRON_MAIL_FROM}')" # support for single quote in splace name display_name=$(echo -n "${CLOUDRON_MAIL_FROM_DISPLAY_NAME:-LimeSurvey}" | base64) $mysql -e "REPLACE INTO lime_settings_global (stg_name, stg_value) VALUES ('siteadminname', FROM_BASE64('${display_name}'))" $mysql -e "REPLACE INTO lime_settings_global (stg_name, stg_value) VALUES ('siteadminbounce', '${CLOUDRON_MAIL_FROM}')" $mysql -e "REPLACE INTO lime_settings_global (stg_name, stg_value) VALUES ('emailmethod', 'smtp')" $mysql -e "REPLACE INTO lime_settings_global (stg_name, stg_value) VALUES ('emailsmtpssl', '')" $mysql -e "REPLACE INTO lime_settings_global (stg_name, stg_value) VALUES ('emailsmtphost', '${CLOUDRON_MAIL_SMTP_SERVER}:${CLOUDRON_MAIL_SMTP_PORT}')" $mysql -e "REPLACE INTO lime_settings_global (stg_name, stg_value) VALUES ('emailsmtpuser', '${CLOUDRON_MAIL_SMTP_USERNAME}')"
There is no check surrounding this based on https://docs.cloudron.io/apps/#disable-email-configuration.
This means, the app needs to be updated to include such a check. Otherwise, even when disabling via. the UI this will still try to set it.
Thanks for reporting! -
Do you mean => https://docs.cloudron.io/apps/#disable-email-configuration?
But very good that you mention the
start.sh
.
I just took a peek https://git.cloudron.io/packages/limesurvey-app/-/blob/master/start.sh?ref_type=heads#L35-L44echo "==> Configure email" $mysql -e "REPLACE INTO lime_settings_global (stg_name, stg_value) VALUES ('siteadminemail', '${CLOUDRON_MAIL_FROM}')" # support for single quote in splace name display_name=$(echo -n "${CLOUDRON_MAIL_FROM_DISPLAY_NAME:-LimeSurvey}" | base64) $mysql -e "REPLACE INTO lime_settings_global (stg_name, stg_value) VALUES ('siteadminname', FROM_BASE64('${display_name}'))" $mysql -e "REPLACE INTO lime_settings_global (stg_name, stg_value) VALUES ('siteadminbounce', '${CLOUDRON_MAIL_FROM}')" $mysql -e "REPLACE INTO lime_settings_global (stg_name, stg_value) VALUES ('emailmethod', 'smtp')" $mysql -e "REPLACE INTO lime_settings_global (stg_name, stg_value) VALUES ('emailsmtpssl', '')" $mysql -e "REPLACE INTO lime_settings_global (stg_name, stg_value) VALUES ('emailsmtphost', '${CLOUDRON_MAIL_SMTP_SERVER}:${CLOUDRON_MAIL_SMTP_PORT}')" $mysql -e "REPLACE INTO lime_settings_global (stg_name, stg_value) VALUES ('emailsmtpuser', '${CLOUDRON_MAIL_SMTP_USERNAME}')"
There is no check surrounding this based on https://docs.cloudron.io/apps/#disable-email-configuration.
This means, the app needs to be updated to include such a check. Otherwise, even when disabling via. the UI this will still try to set it.
Thanks for reporting! -
@BrutalBirdie did the changes https://git.cloudron.io/packages/limesurvey-app/-/merge_requests/25
Will be reviewed, and then the app update will be published.