How to configure smtp autentication method ?

Moderator: crythias

Post Reply
setecastronomy
Znuny newbie
Posts: 28
Joined: 23 Jun 2014, 11:02
Znuny Version: 3.3.7

How to configure smtp autentication method ?

Post by setecastronomy »

I configured smtp throught Core:sendmail but it doesn't work. The credentials are correct but I have no way to specify the smtp authentication method.
The smtp server I use wants "plain authentication": according to some posts I found on internet it would be otrs default method. Unfortunately using a sniffer otrs tries to authenticate with some sort of MD5 and fails. Is there a workaround ?

Thanks
Filippo
OTRS 4.0.1 on Ubuntu Linux and Mysql DB
setecastronomy
Znuny newbie
Posts: 28
Joined: 23 Jun 2014, 11:02
Znuny Version: 3.3.7

Re: How to configure smtp autentication method ?

Post by setecastronomy »

Nobody has any idea on this topic ?

Looking at the sniffer the OTRS server send a message to the smtp server telling Auth Digest-Md5 or something similar.
That type of authentication is not supported on the smtp server, although it is not safe it wants clear credentials.

Thanks for helping
Filippo
OTRS 4.0.1 on Ubuntu Linux and Mysql DB
catweazle
Znuny advanced
Posts: 121
Joined: 15 Feb 2012, 12:22
Znuny Version: 3.1

Re: How to configure smtp autentication method ?

Post by catweazle »

have a look at system and maillog and let us know
1: OTRS 3.1.21 + Support + MasterSlave @ CentOS 6.5 , MySQL
2: Test: OTRS 3.1.21 + Support + MasterSlave @ CentOS 6.5 , MySQL
3: Test-2: OTRS 3.3.x + Support + MasterSlave @ CentOS 6.5 , MySQL (iphone, idoit-trash)
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to configure smtp autentication method ?

Post by crythias »

Sometimes you can whitelist the IP address of the OTRS server in the SMTP config/no authentication needed.
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
setecastronomy
Znuny newbie
Posts: 28
Joined: 23 Jun 2014, 11:02
Znuny Version: 3.3.7

Re: How to configure smtp autentication method ?

Post by setecastronomy »

I try to refine my question.
In Thunderbird mail client in the smtp server configuration dialog I can choose the following authentication methods:
1- No authentication
2 - Clear password on non ssl connection (free translation from my language)
3- Cypher password
4- Kerberos
5- Ntlm

I can send email from Thunderbird choosing the second option. Can you please confirm this authentication method is not supported in OTRS for smtp ?

Thanks
Filippo
OTRS 4.0.1 on Ubuntu Linux and Mysql DB
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to configure smtp autentication method ?

Post by crythias »

No.

The sendmail uses Net::SMTP
It authenticates via the auth method (Requires Authen::SASL module)

There is no way to configure the SMTP authentication method, though it will try to ask the server what it supports and if it complies, it should provide.

This is more an issue with the SMTP server than with OTRS, and an easy (ish) way to get around this is to:
crythias wrote:whitelist the IP address of the OTRS server in the SMTP server config/no authentication needed.
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
Post Reply