How to "Enable Net::SMTP debug"?

Moderator: crythias

Post Reply
fbraga
Znuny newbie
Posts: 12
Joined: 09 Dec 2015, 14:06
Znuny Version: 5.0.5
Real Name: Felipe Braga
Company: Prefeitura de Piracicaba

How to "Enable Net::SMTP debug"?

Post by fbraga »

Hi,

I'm getting errors on sending notification mails - from the syslog:

Code: Select all

Jan 13 14:45:34 hostname OTRS-CGI-22[743]: [Error][Kernel::System::Email::SMTP::Send][Line:122]: SMTP authentication failed: 535authorization failed (#5.7.0)#012! Enable Net::SMTP debug for more info!
Jan 13 14:45:34 hostname OTRS-CGI-22[743]: [Error][Kernel::System::Ticket::Article::ArticleSend][Line:2228]: Impossible to send message to: user@domain.com .
I suspect that my SMTP server requires a AUTH LOGIN and an AUTH PLAIN (or something else) is issued... how can I "Enable Net::SMTP debug for more info!"?
OTRS 5.0.5 + FAQ 5.0.2 (both pt_BR) on Debian 8/Jessie + postgres 9.4
EXG133
Znuny expert
Posts: 217
Joined: 06 Aug 2012, 18:12
Znuny Version: 3.1.7 & 4.04

Re: How to "Enable Net::SMTP debug"?

Post by EXG133 »

See here: viewtopic.php?f=62&t=28950&p=117040&hilit=SMTP#p117040
It should work the same way for OTRS5
fbraga
Znuny newbie
Posts: 12
Joined: 09 Dec 2015, 14:06
Znuny Version: 5.0.5
Real Name: Felipe Braga
Company: Prefeitura de Piracicaba

Re: How to "Enable Net::SMTP debug"?

Post by fbraga »

Thanks for the reply :-)
OTRS 5.0.5 + FAQ 5.0.2 (both pt_BR) on Debian 8/Jessie + postgres 9.4
fbraga
Znuny newbie
Posts: 12
Joined: 09 Dec 2015, 14:06
Znuny Version: 5.0.5
Real Name: Felipe Braga
Company: Prefeitura de Piracicaba

Re: How to "Enable Net::SMTP debug"?

Post by fbraga »

Enabling the log, I've got:

Code: Select all

[...]
Net::SMTP=GLOB(0x7fb27427a2a0)<<< 250-AUTH LOGIN CRAM-MD5 PLAIN
[...]
Net::SMTP=GLOB(0x7fb27427a2a0)>>> AUTH CRAM-MD5
[...]
Net::SMTP=GLOB(0x7fb27427a2a0)<<< 535 authorization failed (#5.7.0)
In our webmail deploy (using roundcube.net), the AUTH CRAM-MD5 not works with our server (based on qmail), we've used AUTH LOGIN - how can I change that in OTRS?
OTRS 5.0.5 + FAQ 5.0.2 (both pt_BR) on Debian 8/Jessie + postgres 9.4
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to "Enable Net::SMTP debug"?

Post by crythias »

I don't know for sure if anything has changed since nearly 6 years ago, but this thread might be of interest:
viewtopic.php?t=5340
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
fbraga
Znuny newbie
Posts: 12
Joined: 09 Dec 2015, 14:06
Znuny Version: 5.0.5
Real Name: Felipe Braga
Company: Prefeitura de Piracicaba

Re: How to "Enable Net::SMTP debug"?

Post by fbraga »

Because my mail server say it supports CRAM-MD5 auth, but don't really supports it, appears that there is no easy way to correct the auth process without correcting the mail server (it's very old... an upgrade is urgent to it :P)

Thanks for the reply :-)
OTRS 5.0.5 + FAQ 5.0.2 (both pt_BR) on Debian 8/Jessie + postgres 9.4
Post Reply