sendmail issue

Moderator: crythias

Locked
Dominus
Znuny newbie
Posts: 5
Joined: 16 Jul 2015, 11:22
Znuny Version: 4.0.10

sendmail issue

Post by Dominus »

Dear experts

I'm experimenting with OTRS and I'm unable to get the sendemail working.
After reading several forum entries related to this topic I still can't find the culprit.

The Framework -> Core::Sendmail settings are maintained as follows:
- SMTP, exchange server ip adress, port 25, authentication user=domain\user + password,

Now every attempt to reply or forward an Incident is ending with the following error message:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Any ideas how to debug or where to start? Which logs must be checked?

Thank you
OTRS: 4.0.10
Debian 6.0.10
PostgreSQL 8.4.21
Perl Version 5.10.1 (linux)
root
Administrator
Posts: 4253
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: sendmail issue

Post by root »

This sound like an error from apache. Check first the web server error log then the otrs log.
And don't forget to check if there is an SMTP connector configured on your exchange, listening on port 25. What happens if you run this command from you otrs server's shell:

Code: Select all

telnet exchange_server_ip 25
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Dominus
Znuny newbie
Posts: 5
Joined: 16 Jul 2015, 11:22
Znuny Version: 4.0.10

Re: sendmail issue

Post by Dominus »

The error log:
[Tue Aug 25 16:04:33 2015] -e: (in cleanup) Can't call method "Get" on an undefined value at /opt/otrs//Kernel/System/AuthSession/DB.pm line 583.
[Tue Aug 25 16:04:33 2015] [error] No SASL mechanism found\n at /opt/otrs/Kernel/cpan-lib/Authen/SASL.pm line 77\n at /usr/share/perl/5.10/Net/SMTP.pm line 143\n\t(in cleanup) Can't call method "Get" on an undefined value at /opt/otrs//Kernel/System/AuthSession/DB.pm line 583.\n
[Tue Aug 25 16:04:33 2015] [error] [client x.x.x.161] File does not exist: /var/www/favicon.ico
This is poiting in direction apache modules but I've performed a module check and everything is green (OK).


The exchange is listening on port 25.
TCP port 25 (smtp service): LISTENING
Data returned from port:
220 xxxxxxxx.com Microsoft ESMTP MAIL Service ready at Tue, 25 Aug
OTRS: 4.0.10
Debian 6.0.10
PostgreSQL 8.4.21
Perl Version 5.10.1 (linux)
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: sendmail issue

Post by crythias »

You're attempting to send via SMTPS and that's not configured.
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
root
Administrator
Posts: 4253
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: sendmail issue

Post by root »

You should switch to SMTP
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Dominus
Znuny newbie
Posts: 5
Joined: 16 Jul 2015, 11:22
Znuny Version: 4.0.10

Re: sendmail issue

Post by Dominus »

And how do I switch to SMTP?
I'm asking this because the Framework -> Core::Sendmail->SendmailModule selected option is SMTP.
OTRS: 4.0.10
Debian 6.0.10
PostgreSQL 8.4.21
Perl Version 5.10.1 (linux)
Dominus
Znuny newbie
Posts: 5
Joined: 16 Jul 2015, 11:22
Znuny Version: 4.0.10

Re: sendmail issue

Post by Dominus »

Any ideas?
OTRS: 4.0.10
Debian 6.0.10
PostgreSQL 8.4.21
Perl Version 5.10.1 (linux)
Locked