Since we migrated our OTRS server to a new machine we are having this Impossible to send message error.
It seems to be very random, at first, we thought that it only effected tickets that was created before the migration but the issue now also happens when answering through OTRS for new tickets as well, all our agent has been effected by this issue when answering on some tickets. But we are unable to see any connection why we could answer some and some not. We have even been denied on a specific ticket one day, but the day after we are able to use OTRS to answer. But usually the ticket we are unable to answer on through OTRS error persists every time we try.
The error never occurred before the migration and we have kept the same setup for everything, only changed the account on sendmail but use the same kind of setup.
Sendmail setup:
SMTPTLS
Host: smtp.office365.com
Port: 587
Error message:
Code: Select all
[Mon Sep 25 08:50:05 2017] -e: Net::SMTP::_SSL: Net::Cmd::datasend(): unexpected EOF on command channel: at /opt/otrs/Kernel/System/Email/SMTP.pm line 170.
ERROR: OTRS-CGI-10 Perl: 5.22.1 OS: linux Time: Mon Sep 25 08:50:05 2017
Message: Can't send message: 421[Net::SMTP::_SSL] Connection closed! Enable Net::SMTP debug for more info!
RemoteAddress: 1.11.11.11
RequestURI: /admin
Traceback (71929):
Module: Kernel::System::Email::SMTP::Send Line: 172
Module: Kernel::System::Email::Send Line: 769
Module: Kernel::System::Ticket::Article::ArticleSend Line: 2263
Module: Kernel::Modules::AgentTicketCompose::Run Line: 859
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1054
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 40
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32
[Mon Sep 25 08:50:05 2017] -e: Net::SMTP::_SSL: Net::Cmd::_is_closed(): unexpected EOF on command channel: at /opt/otrs/Kernel/System/Email/SMTP.pm line 176.
ERROR: OTRS-CGI-10 Perl: 5.22.1 OS: linux Time: Mon Sep 25 08:50:05 2017
Message: Impossible to send message to: name"company.com .
RemoteAddress: 1.11.11.11
RequestURI: /admin
Traceback (71929):
Module: Kernel::System::Ticket::Article::ArticleSend Line: 2270
Module: Kernel::Modules::AgentTicketCompose::Run Line: 859
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1054
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 40
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32