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. -
@darren Can you explain more? Initial report was about optional sendmail which is now resolved. What do you mean by "Email passwords are no longer persisted" ? Do you mean you have sendmail disabled but for some reason email password (your custom setup) is not persisted?
-
Great catch. @joseph there was some old migration workaround I added many years ago.
https://git.cloudron.io/packages/limesurvey-app/-/merge_requests/39
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
