Problem with SLA Email Notification

Moderator: crythias

Locked
hughperez
Znuny newbie
Posts: 5
Joined: 06 Jul 2013, 01:42
Znuny Version: 3.2.8
Real Name: Hugo Perez
Company: Cibercall

Problem with SLA Email Notification

Post by hughperez »

Hi, im using OTRS 3.2.10 under Windows 2008 r2, i want to activate the SLA Notifications but when i wun the task in the Generic Agent gaves me this error.

[Fri Oct 25 16:01:50 2013][Notice][Kernel::System::GenericAgent::_JobRunTicket] Use module (Kernel::System::GenericAgent::NotifyAgentGroupOfCustomQueue) for Ticket (20130708105466/9085).
[Fri Oct 25 16:01:55 2013][Error][Kernel::System::GenericAgent::_JobRunTicket][1170] Auth failed: 535 5.7.3 Authentication unsuccessful
at C:/PROGRA~2/OTRS/OTRS/Kernel/System/Email/SMTPTLS.pm line 105

I am using OTRS Version: 3.2.10
I am using OS: Windows Server 2008 R2 Standard
I am using Database: MySQl 5.1.51
I have this problem: SLA Email Notifications dosnt work
I am encountering my issue on this screen: Nothing, just run the task but dosnt show anything.
I can replicate the issue by:
This is what I've tried: Iv tried to change the passwords, host, user in SMTPTLS.pm, like this:
# connect to mail server
my $SMTP = Net::SMTP::TLS::ButMaintained->new(
$Self->{MailHost} = 'bluprd0511.outlook.com',
Hello => $Self->{FQDN} ='ciberc.com',
Port => $Self->{SMTPPort} = '25',
User => $Self->{User} = 'service.desk',
Password => $Self->{Password} = 'Ciberc01',
Timeout => $Self->{SMTPTimeout},
Debug => $Self->{SMTPDebug},

I've looked at the Docs but dosnt day anything more than unquote the generic agent script part that get the email notifications to work, but nothing, runs it but dosnt work.
The logs say:

[Fri Oct 25 16:01:50 2013][Notice][Kernel::System::GenericAgent::_JobRunTicket] Use module (Kernel::System::GenericAgent::NotifyAgentGroupOfCustomQueue) for Ticket (20130708105466/9085).
[Fri Oct 25 16:01:55 2013][Error][Kernel::System::GenericAgent::_JobRunTicket][1170] Auth failed: 535 5.7.3 Authentication unsuccessful
at C:/PROGRA~2/OTRS/OTRS/Kernel/System/Email/SMTPTLS.pm line 105


Thanks in advance,
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Problem with SLA Email Notification

Post by crythias »

hughperez wrote:Auth failed: 535 5.7.3 Authentication unsuccessful
at C:/PROGRA~2/OTRS/OTRS/Kernel/System/Email/SMTPTLS.pm line 105
SMTP authentication unsuccessful because wrong creds.
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
hughperez
Znuny newbie
Posts: 5
Joined: 06 Jul 2013, 01:42
Znuny Version: 3.2.8
Real Name: Hugo Perez
Company: Cibercall

Re: Problem with SLA Email Notification

Post by hughperez »

crythias wrote:
hughperez wrote:Auth failed: 535 5.7.3 Authentication unsuccessful
at C:/PROGRA~2/OTRS/OTRS/Kernel/System/Email/SMTPTLS.pm line 105
SMTP authentication unsuccessful because wrong creds.
crythias i ' ve added the right credentials but still the same problem, another question is, im adding this creds in the right place?. Thanks for your time
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Problem with SLA Email Notification

Post by crythias »

hughperez wrote:i ' ve added the right credentials but still the same problem
This is is the "Sendmail" config of Sysconfig, right?

If you get "Authentication unsuccessful", this is being reported by the smtp device. Either it doesn't require credentials or you're using the wrong login/password for ... something. Maybe you can't spoof, but *generally*, you'd get a "Can't send as xxx@xxx.com" message instead of authentication error.
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
hughperez
Znuny newbie
Posts: 5
Joined: 06 Jul 2013, 01:42
Znuny Version: 3.2.8
Real Name: Hugo Perez
Company: Cibercall

Re: Problem with SLA Email Notification

Post by hughperez »

Im adding this parameters in Kernel/System/Email/SMTPTLS.PM because the log says that in LIne 105 its the auth error, i added those parameters, i dont now why its the SMTPTLS.pm because we arent using any security protocol to make the connection to our mail provider.

Excuse my bad english
hughperez
Znuny newbie
Posts: 5
Joined: 06 Jul 2013, 01:42
Znuny Version: 3.2.8
Real Name: Hugo Perez
Company: Cibercall

Re: Problem with SLA Email Notification

Post by hughperez »

Hi crythias, one question, where do i config the system to select SMTP.pm is used instead of SMTPTLS.pm

Regards,
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Problem with SLA Email Notification

Post by crythias »

Edit Config Settings in Framework -> Core::Sendmail
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
Locked