This makes it impossible to use eg. Kernel::System::Email::SMTPTLS as SendmailModule or a custom SendmailModule::Host or SendmailModule::Port, as params set in Config.pm have priority over parameters set within the OTRS sysconfig (DB).
Some possible solutions:
1) Do not add static default values via Config.pm for SendmailModule
2) Env variable to disable the inclusion of the default SendmailModule config for the container (eg. OTRS_SENDMAIL_DEFAULT=OFF)
3) Ability to configure all the SendMailModule parameters via container env variables
Currently the default Config.pm shipped with docker-otrs locks the following OTRS vars:
This makes it impossible to use eg.
Kernel::System::Email::SMTPTLS
as SendmailModule or a customSendmailModule::Host
orSendmailModule::Port
, as params set in Config.pm have priority over parameters set within the OTRS sysconfig (DB).Some possible solutions:
1) Do not add static default values via Config.pm for SendmailModule 2) Env variable to disable the inclusion of the default SendmailModule config for the container (eg. OTRS_SENDMAIL_DEFAULT=OFF) 3) Ability to configure all the SendMailModule parameters via container env variables
Thanks