RotherOSS / otobo

OTOBO is one of the most flexible web-based ticketing systems used for Customer Service, Help Desk, IT Service Management. https://otobo.io/
GNU General Public License v3.0
240 stars 72 forks source link

SMTP Authentication issue, missing perl library #3435

Open kleeph174 opened 1 month ago

kleeph174 commented 1 month ago

ISSUE: I try to install otobo via docker on an Oracle Linux 9 host. Running through the initial web installation wizard testing the mail configuration produces a popup that configuration is faulty. The following error is in the otobo logfile/syslog. (SMTP/IMAP to MS Exchange-Server)

ERROR: [Mon May 13 10:35:05 2024][Error][Kernel::System::Email::SMTP::ANON][478] Error while executing 'SMTP->auth(MYUSERNAME,MYPASSWORD)': No SASL mechanism found at /opt/otobo_install/local/lib/perl5/Authen/SASL.pm line 76. at /usr/local/lib/perl5/5.36.3/Net/SMTP.pm line 211.

POSSIBLE SOLUTION: I had the same error installing otobo without Docker. Solution was installing the perl module "Authen::SASL::Perl::NTLM" Source: https://bugzilla.mozilla.org/show_bug.cgi?id=625781

Could not verify if this fixes it through lack of knowledge on how to modify the container. Running "cpan install Authen::SASL::Perl::NTLM" from within the container as "root" user leads to errors from tar. "Cannot change ownership...".

kleeph174 commented 1 month ago

Installed the perl module Authen::SASL::Perl::NTLM in the docker container "otobo-daemon-1" as described in the otobo documentation. https://doc.otobo.org/manual/installation/10.1/en/content/installing-perl-modules.html

Authentication worked after this without any errors in the otobo.log file. Please consider adding the perl module to the otobo docker image.

bschmalhofer commented 1 month ago

I haven't looked into this request in detail, but the gut feeling is that it makes sense to add Authen::SASL::Perl::NTLM to the Docker installation.