After App Restart - Connection Details set back to default
-
Hi there,
currently, our Listmonk SMTP Data and Sender address, are set back to default when the App is restarted. We have to enter the data again manually.
Is that something that can be handled on Cloudrons side?
-
@Laktasekampagne Email configuration is part of Cloudron packaging. You have to enter the sender address in Cloudron ui - https://docs.cloudron.io/apps/#mail-from-address . That way it won't get erased on restart.
-
Thats actually good to know. If "Do not configure app's mail delivery settings" is set in Cloudrons app settings, mail configuration part of the start.sh script will be skipped.
...by the way @girish there are many apps where you can't turn off mail autoconfig and therefore can't forbid the app to send mails.
-
@girish Thank you - I did learn something new :).
-
@subven said in After App Restart - Connection Details set back to default:
...by the way @girish there are many apps where you can't turn off mail autoconfig and therefore can't forbid the app to send mails.
Right... So, we added this feature primarily to allow configuration of email inside the app. This is mostly needed for mailer applications which want to send email via some other relay/service which is not configured with Cloudron itself. It's also needed in some cases like mautic iirc which can also send via relay APIs instead of SMTP (for better delivery status and bounce processing).
So, the use case wasn't to forbid the apps from sending email but to allow email configuration be set inside the app. So, anyway, if you see use case in some app for the above reasons, let us know and we will fix the package.
-
@girish for apps where it matters (Wordpress and other common targets) it is already available so no I don't see a particual use case. Is it hard to make "do not configure..." as an option for every app that is automatically configured? The code is already there but I guess you would have to adjust a lot of startup scripts.
-
@subven it's not hard, just have to fix all the start scripts, as you said