I'm just setting up OTRS for the first time in a fairly large organisation, enjoying the experience so far! I have mail fetching working well and have configured the cronjobs to perform this task every minute. What I'm trying to figure out now however is the systems inability to transmit email. I have spoken to the other developers within the company and they've all said they use sendmail in their scripts to send email (even though we have a farm of perfectly 'healthy' exchange servers). I've attempted using SMTP and Sendmail with no avail.
I've decided that I don't want to use sendmail, so I've specified an SMTP server, yet when i send a reply to a test ticket I get a 500 internal server error. Upon checking the Apache2 error log i see the following:
Code: Select all
ERROR: OTRS-CGI-47 Perl: 5.10.1 OS: linux Time: Mon Dec 22 13:54:03 2014
Message: Impossible to send message to: mtomazic@johndwood.co.uk .
RemoteAddress: 172.21.8.39
RequestURI: /otrs/index.pl
Traceback (1264):
Module: Kernel::System::Ticket::Article::ArticleSend Line: 2560
Module: Kernel::Modules::AgentTicketCompose::Run Line: 786
Module: Kernel::System::Web::InterfaceAgent::Run Line: 986
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 41
Module: (eval) (v1.99) Line: 204
Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31
[Mon Dec 22 13:55:51 2014] -e: (in cleanup) Can't call method "Get" on an undefined value at /opt/otrs//Kernel/System/AuthSession/DB.pm line 583.
[Mon Dec 22 13:55:51 2014] -e: (in cleanup) Can't call method "Get" on an undefined value at /opt/otrs//Kernel/System/EventHandler.pm line 170.
[Mon Dec 22 13:55:51 2014] [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) $
[Mon Dec 22 13:56:32 2014] -e: (in cleanup) Can't call method "Get" on an undefined value at /opt/otrs//Kernel/System/AuthSession/DB.pm line 583.
[Mon Dec 22 13:56:32 2014] -e: (in cleanup) Can't call method "Get" on an undefined value at /opt/otrs//Kernel/System/EventHandler.pm line 170.
[Mon Dec 22 13:56:32 2014] [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) $
[Mon Dec 22 13:56:44 2014] -e: (in cleanup) Can't call method "Get" on an undefined value at /opt/otrs//Kernel/System/AuthSession/DB.pm line 583.
[Mon Dec 22 13:56:44 2014] -e: (in cleanup) Can't call method "Get" on an undefined value at /opt/otrs//Kernel/System/EventHandler.pm line 170.
[Mon Dec 22 13:56:44 2014] [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) $
Michael