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

Remove SendmailModule config from Config.pm #42

Closed d307473 closed 5 years ago

d307473 commented 5 years ago

Currently the default Config.pm shipped with docker-otrs locks the following OTRS vars:

$Self->{'SendmailModule'} = 'Kernel::System::Email::SMTP';
$Self->{'SendmailModule::Host'} = 'postfix';
$Self->{'SendmailModule::Port'} = '25';

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

Thanks

juanluisbaptiste commented 5 years ago

Hi,

currently I have other tasks to do, PR is welcome.

juanluisbaptiste commented 5 years ago

Closing this, this is a duplicate of #34 , you had already reported this.