juanluisbaptiste / docker-otrs

The unofficial Znuny/OTRS Ticketing System docker image
https://www.juanbaptiste.tech/category/otrs
GNU Lesser General Public License v3.0
173 stars 101 forks source link

Make SendmailModule configurable #34

Closed d307473 closed 5 years ago

d307473 commented 6 years ago

Hello,

currently the SendmailModule settings are static in Kernel/Config.pm: https://github.com/juanluisbaptiste/docker-otrs/blob/master/otrs/Config.pm#L96

It would be nice if those could be removed or overwritten with environment variables, for example we would like to use SendmailModule => 'Kernel::System::Email::SMTPTLS' with custom settings from the DB.

The otrs config params are;

SendmailModule
SendmailModule::AuthUser
SendmailModule::AuthPassword
SendmailModule::Host
SendmailModule::Port

Thanks

juanluisbaptiste commented 6 years ago

Currently that file is not being used, but indeed mail configuration is hard-coded in functions.sh. For now I do not plan to change this, but a PR is welcome.

d307473 commented 6 years ago

Thanks. PR follows asap.

juanluisbaptiste commented 5 years ago

Fixed by #64