OTRS isue with SMTPTLS and Exchange 2007

Moderator: crythias

Post Reply
amdkryn
OTRS wizard
Posts: 185
Joined: 02 Oct 2012, 02:52
OTRS Version?: 5.0.27

OTRS isue with SMTPTLS and Exchange 2007

Post by amdkryn » 11 Jun 2018, 16:07

Hi,

I have OTRS 5.0.27 installed on two servers, an OpenSUSE 11 x86 and now a CentOS 7 x64 (new install). I restored the backup to CentOS and it's almost all ok.

In the CentOS server the sending of emails via SMTPTLS does not work in any way. I have already tried with SMTP, SMTPS. I compared the servers, modules and everything is ok (there is only difference in the version of the modules since the installation of OpenSuse is very old). Receiving emails via IMAPTLS works correctly. I only use Microsoft Exchange 2007.

I use the MultiSMTP module (5.0.1), I activated the debug, I used the same login and password. I tried with other accounts as well.
In Microsoft Exchange I have added the server IP (191.1.150.2) with problem in Relay equal to what is working.

In SendmailModule I tried as MultiSMTP, SMTP, SMTPS and SMTPTLS (on server that works as is MultiSMTP). On the new server I upgraded MultiSMTP to version 5.0.6 and it still does not work.

I tested via telnet on port 25 from the CentOS server and I can send emails.

In the user's SMTP configuration I enter, login, password, port 587 and type SMTPTLS (only configuration that works on the old server).

Message Debug:

Net::SMTP=GLOB(0x55c73a7342c8)<<< 220 SERVER7.xxxx.local Microsoft ESMTP MAIL Service ready at Mon, 11 Jun 2018 10:27:02 -0300
Net::SMTP=GLOB(0x55c73a7342c8)>>> EHLO otrssv2.xxxx.local
Net::SMTP=GLOB(0x55c73a7342c8)<<< 250-SERVER7.xxxx.local Hello [191.1.150.2]
Net::SMTP=GLOB(0x55c73a7342c8)<<< 250-SIZE 30965760
Net::SMTP=GLOB(0x55c73a7342c8)<<< 250-PIPELINING
Net::SMTP=GLOB(0x55c73a7342c8)<<< 250-DSN
Net::SMTP=GLOB(0x55c73a7342c8)<<< 250-ENHANCEDSTATUSCODES
Net::SMTP=GLOB(0x55c73a7342c8)<<< 250-AUTH GSSAPI NTLM LOGIN
Net::SMTP=GLOB(0x55c73a7342c8)<<< 250-8BITMIME
Net::SMTP=GLOB(0x55c73a7342c8)<<< 250-BINARYMIME
Net::SMTP=GLOB(0x55c73a7342c8)<<< 250 CHUNKING
Net::SMTP=GLOB(0x55c73a7342c8)>>> STARTTLS
Net::SMTP=GLOB(0x55c73a7342c8)<<< 500 5.3.3 Unrecognized command
Net::SMTP=GLOB(0x55c73a7342c8)>>> AUTH GSSAPI
Net::SMTP=GLOB(0x55c73a7342c8)<<< 334
Net::SMTP=GLOB(0x55c73a7342c8)>>>
Net::SMTP=GLOB(0x55c73a7342c8)<<< 334 YGoGBisGAQUFAqBgMF6gMDAuBgkqhkiC9xIBAgIGCSqGSIb3EgECAgYKKoZIhvcSAQICAwYKKwYBBAGCNwICCqMqMCigJhskbm90X2RlZmluZWRfaW5fUkZDNDE3OEBwbGVhc2VfaWdub3Jl
Net::SMTP=GLOB(0x55c73a7342c8)>>>
Net::SMTP=GLOB(0x55c73a7342c8)<<< 535 5.7.3 Authentication unsuccessful
Net::SMTP=GLOB(0x55c73a7342c8)>>> QUIT
Net::SMTP=GLOB(0x55c73a7342c8)<<< 221 2.0.0 Service closing transmission channel
ERROR: OTRS-CGI-16 Perl: 5.16.3 OS: linux Time: Mon Jun 11 10:27:17 2018

Message: SMTP authentication failed: 5355.7.3 Authentication unsuccessful
! Enable Net::SMTP debug for more info!

RemoteAddress: 10.10.0.156
RequestURI: /otrs/index.pl

Traceback (1743):
Module: Kernel::System::Email::MultiSMTP::SMTP::Send Line: 142
Module: Kernel::System::Email::MultiSMTP::Send Line: 180
Module: Kernel::System::Email::Send Line: 765
Module: Kernel::System::Ticket::Article::ArticleSend Line: 2273
Module: Kernel::Modules::AgentTicketCompose::Run Line: 843
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1055
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

ERROR: OTRS-CGI-16 Perl: 5.16.3 OS: linux Time: Mon Jun 11 10:27:17 2018

Message: Impossible to send message to: Usuario teste <userteste@xxxx.com.br> .


Modules (Server with problem SMTPTLS):

[root@otrssv2 bin]# cd /opt/otrs/bin/
[root@otrssv2 bin]# ./otrs.CheckModules.pl
o Apache::DBI......................ok (v1.12)
o Apache2::Reload..................ok (v0.13)
o Archive::Tar.....................ok (v1.92)
o Archive::Zip.....................ok (v1.30)
o Crypt::Eksblowfish::Bcrypt.......ok (v0.009)
o Crypt::SSLeay....................ok (v0.64)
o Date::Format.....................ok (v2.24)
o DBI..............................ok (v1.627)
o DBD::mysql.......................ok (v4.023)
o DBD::ODBC........................Not installed! (optional - Required to connect to a MS -SQL database.)
o DBD::Oracle......................Not installed! (optional - Required to connect to a Or acle database.)
o DBD::Pg..........................ok (v2.19.3)
o Digest::SHA......................ok (v5.85)
o Encode::HanExtra.................ok (v0.23)
o IO::Socket::SSL..................ok (v1.94)
o JSON::XS.........................ok (v3.01)
o List::Util::XS...................ok (v1.27)
o LWP::UserAgent...................ok (v6.13)
o Mail::IMAPClient.................ok (v3.37)
o IO::Socket::SSL................ok (v1.94)
o Authen::SASL...................ok (v2.15)
o Authen::NTLM...................ok (v1.09)
o ModPerl::Util....................ok (v2.000010)
o Net::DNS.........................ok (v0.72)
o Net::LDAP........................ok (v0.56)
o Template.........................ok (v2.24)
o Template::Stash::XS..............ok (undef)
o Text::CSV_XS.....................ok (v1.00)
o Time::HiRes......................ok (v1.9725)
o Time::Piece......................ok (v1.20_01)
o XML::LibXML......................ok (v2.0018)
o XML::LibXSLT.....................ok (v1.80)
o XML::Parser......................ok (v2.41)
o YAML::XS.........................ok (v0.54)
[root@otrssv2 bin]#


Modules (Server OK with SMTPTLS):

otrssv1:/opt/otrs/bin # ./otrs.CheckModules.pl
o Apache::DBI......................ok (v1.12)
o Apache2::Reload..................ok (v0.13)
o Archive::Tar.....................ok (v1.82)
o Archive::Zip.....................ok (v1.30)
o Crypt::Eksblowfish::Bcrypt.......ok (v0.009)
o Crypt::SSLeay....................ok (v0.58)
o Date::Format.....................ok (v2.24)
o DBI..............................ok (v1.617)
o DBD::mysql.......................ok (v4.021)
o DBD::ODBC........................Not installed! (optional - Required to connect to a MS-SQL database.)
o DBD::Oracle......................Not installed! (optional - Required to connect to a Oracle database.)
o DBD::Pg..........................Not installed! Use: 'zypper install perl-DBD-Pg' (optional - Required to connect to a PostgreSQL database.)
o Digest::SHA......................ok (v5.71)
o Encode::HanExtra.................ok (v0.23)
o IO::Socket::SSL..................ok (v1.55)
o JSON::XS.........................ok (v2.32)
o List::Util::XS...................ok (v1.23)
o LWP::UserAgent...................ok (v6.13)
o Mail::IMAPClient.................ok (v3.32)
o IO::Socket::SSL................ok (v1.55)
o Authen::SASL...................ok (v2.16)
o Authen::NTLM...................Not installed! Use: 'zypper install perl-Authen-NTLM' (optional - Required for NTLM authentication mechanism in IMAP connections.)
o ModPerl::Util....................ok (v2.000006)
o Net::DNS.........................ok (v0.68)
o Net::LDAP........................ok (v0.44)
o Template.........................ok (v2.24)
o Template::Stash::XS..............ok (undef)
o Text::CSV_XS.....................ok (v0.87)
o Time::HiRes......................ok (v1.9725)
o Time::Piece......................ok (v1.20_01)
o XML::LibXML......................ok (v1.95)
o XML::LibXSLT.....................ok (v1.76)
o XML::Parser......................ok (v2.41)
o YAML::XS.........................ok (v0.38)
otrssv1:/opt/otrs/bin #
Last edited by amdkryn on 16 Jun 2018, 23:38, edited 1 time in total.
OTRS version 5.0.27 (With ITSM), Operating System OpenSuse 12 with Mysql.

amdkryn
OTRS wizard
Posts: 185
Joined: 02 Oct 2012, 02:52
OTRS Version?: 5.0.27

Re: CentOS 7 sendmail with SMTPTLS does not work

Post by amdkryn » 14 Jun 2018, 14:25

Anybody?
OTRS version 5.0.27 (With ITSM), Operating System OpenSuse 12 with Mysql.

Post Reply