SMTP setup error

Moderator: crythias

Locked
brightrif
Znuny newbie
Posts: 40
Joined: 03 Nov 2011, 11:41
Znuny Version: 3.0.10
Real Name: Bright
Company: Computer world

SMTP setup error

Post by brightrif »

when i configure SMTP setup in OTRS
it gives one error

XML::Parser produced errors. I use XML::Parser::Lite as fallback!
Wed Jan 18 11:17:57 2012 error OTRS-CGI-10 C-Parser:

but using smtp client i can communicate with the mail server.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: SMTP setup error

Post by jojo »

this error is not from the smtp setup. so please show more details what is going wrong
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
brightrif
Znuny newbie
Posts: 40
Joined: 03 Nov 2011, 11:41
Znuny Version: 3.0.10
Real Name: Bright
Company: Computer world

Re: SMTP setup error

Post by brightrif »

1)Do not send mail option- its working without any problem no error log etc.
2)SMTP - after apply this refer this post

http://forums.otrs.org/viewtopic.php?f=81&t=13471

but it don't send mail.

but with smtp client for Linux, i can send mail(OS level, RHEL 6.1)
brightrif
Znuny newbie
Posts: 40
Joined: 03 Nov 2011, 11:41
Znuny Version: 3.0.10
Real Name: Bright
Company: Computer world

Re: SMTP setup error

Post by brightrif »

when i try to send admin notification i got the following error.

No SASL mechanism found
at /opt/otrs/kernel/cpan-lib/authan/SASL.pm
at /usr/share/perl5/Net/SMTP.pm

for help, please send mail to the webmaster(root@localhost),givining this error message and the time and date of the error
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: SMTP setup error

Post by jojo »

your mail server is using other methods of authentification as OTRS can do. Switch it to PLAIN on the mailserver
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
brightrif
Znuny newbie
Posts: 40
Joined: 03 Nov 2011, 11:41
Znuny Version: 3.0.10
Real Name: Bright
Company: Computer world

Re: SMTP setup error

Post by brightrif »

Thanks,

please give more information about this. i need to explain exchange team
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: SMTP setup error

Post by jojo »

your Exchange team should know what a SASL PLAIN authentication is.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
brightrif
Znuny newbie
Posts: 40
Joined: 03 Nov 2011, 11:41
Znuny Version: 3.0.10
Real Name: Bright
Company: Computer world

Re: SMTP setup error

Post by brightrif »

thanks jojo,

after our team configured now i get another error

SMTP authentication failed: 5355.7.3 Authentication unsuccessful ! Enable Net::S[..]
You do not have the required permissions to view the files attached to this post.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: SMTP setup error

Post by jojo »

I would assume wrong username and password.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
brightrif
Znuny newbie
Posts: 40
Joined: 03 Nov 2011, 11:41
Znuny Version: 3.0.10
Real Name: Bright
Company: Computer world

Re: SMTP setup error

Post by brightrif »

No i checked with web mail it's OK.

any way to directly set username password on config file.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: SMTP setup error

Post by jojo »

you need to set it in sysonfig. Core::Sendmail
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
brightrif
Znuny newbie
Posts: 40
Joined: 03 Nov 2011, 11:41
Znuny Version: 3.0.10
Real Name: Bright
Company: Computer world

Re: SMTP setup error

Post by brightrif »

thanks

i am talking about system command prompt. /opt/otrs/Kernel/email/smtp.pm can i change here and test.
ham12ish
Znuny newbie
Posts: 1
Joined: 29 Feb 2012, 13:34
Znuny Version: otrs30
Real Name: David Christie
Company: NSTUK Ltd

Re: SMTP setup error

Post by ham12ish »

As JoJo previously said, set username and password in sysonfig file
Locked