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

Unable to send emails from newly build images #54

Closed alexawka closed 5 years ago

alexawka commented 5 years ago

Hi. I am using your project source files to build image with some minor tweaks. Everything was great until recent, when I tried to upgrade to 6.14 - outgoing emails stopped sending with "SMTP authentication failed (SMTP code: 500, ErrorMessage: 500, Command unknown: 'AUTH')." The only change is OTRS version in Dockerfile Rolled back to 6.12 image and e-mails started working just fine. Now for the testing:

  1. Fired up different environment
  2. Checked out commit that was used for 6.12 image build
  3. Build 6.12 image
  4. Tested outgoing e-mails - not working
  5. Imported "old" 6.12 image - e-mails are working. I have noticed, that images build from same source have different size: Build month ago: image Built today: image It seems that difference in size comes in this step 9: "RUN yum install -y yum-plugin-fastestmirror && yum install -y epel-release && yum update -y && yum -y install cronie httpd mysql mod_perl perl-core "perl(Crypt::SSLeay)" "perl(Net::LDAP)" "perl(URI)" procmail "perl(Date::Format)" "perl(LWP::UserAgent)" "perl(Net::DNS)" "perl(IO::Socket::SSL)" "perl(XML::Parser)" "perl(Apache2::Reload)" "perl(Crypt::Eksblowfish::Bcrypt)" "perl(Encode::HanExtra)" "perl(GD)" "perl(GD::Text)" "perl(GD::Graph)" "perl(JSON::XS)" "perl(Mail::IMAPClient)" "perl(PDF::API2)" "perl(DateTime)" "perl(Text::CSV_XS)" "perl(YAML::XS)" "perl(Text::CSV_XS)" "perl(DBD::mysql)" rsyslog supervisor tar which && yum install -y http://ftp.otrs.org/pub/otrs/RPMS/rhel/7/otrs-${OTRS_VERSION}.noarch.rpm && /opt/otrs/bin/otrs.CheckModules.pl && yum clean all"

Could you please confirm if the issue is reproducible

P.S. - I am using SMTPTLS and Office365 account

juanluisbaptiste commented 5 years ago

Email handling is handled outside the OTRS container as the README file says. If what you mean is that you have changed this container configuration to use another SMTP server instead of the SMTP container we use then this has nothing to do with the container and you should check OTRS forums or bug reports.

In any case this has nothitng to do with this container, closing.