Hi there
We are experiencing a similar issue. Upgraded OTRS to 5.0.15 and at the same time Ubuntu to 16.04. Since then when we try to send an email with an attachment of some size (i.e. more than a few KB) it fails. The error message also says impossible to send message:
Backend ERROR: OTRS-CGI-75 Perl: 5.22.1 OS: linux Time: Tue Jan 10 10:53:25 2017
Message: Impossible to send message to:
xyz@domain.tld .
RemoteAddress: 10.x.x.x
RequestURI: /otrs/index.pl
Traceback (7481):
Module: Kernel::System::Ticket::Article::ArticleSend Line: 2270
Module: Kernel::Modules::AgentTicketEmail::Run Line: 1340
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
But there is no issue whatsoever when sending mails without attachments (also really small text files as attachments work fine). The mails get sent without an error and are also transmitted to the receiver. But as soon as the attachment is larger than a few hundred KB the above error message is displayed and OTRS can not send the mail.
The error message in the smtp-servers syslog and mail.log is (/var/log/mail.err of the smtp-server doesn't contain anything):
Jan 10 09:06:00 hostname postfix/smtpd[18856]: lost connection after DATA (16363 bytes) from unknown[185.y.y.y]
Jan 10 09:06:00 hostname postfix/smtpd[18856]: disconnect from unknown[185.y.y.y]
Jan 10 09:06:00 hostname postfix/cleanup[18860]: 6E4FE846: message-id=<
1484035559.656298.336289656@otrs.company.tld>
When I use mutt on our OTRS server to send an email with an attachment via the same smtp-server then I don't get an error and the mail gets sent and delivered without a problem. Even when sending much larger attachments than from within OTRS.
I'm not sure if the upgrade to Ubuntu 16.04 caused the issue with some Perl modifications or so. When executing the otrs.checkModules.pl script everything is ok (nothing missing besides Oracle and ODBC). Perl output from "perl -v" is as follows:
This is perl 5, version 22, subversion 1 (v5.22.1) built for x86_64-linux-gnu-thread-multi
(with 58 registered patches, see perl -V for more detail)
Before we used the same smtp-server with the same settings in OTRS and sending mails with or without attachments was working fine. Now I tried to change to SMTPS as well as SMTP. But the same error appears as when using SMTPTLS as we did before the upgrade.
By the way we also suffered from this (
viewtopic.php?f=62&t=33532&p=138704#p138704) issue. I undid the changes that I mentioned in this topic just to be sure I didn't introduce the problem with those changes. But the attachment problem persists wether we use SSGlue or not.
Any hints what I could check/test or where the error might be found is highly appreciated.
Best regards,
Cyril