"Impossible to send message to: <email>"

Moderator: crythias

Locked
mmcdonald
Znuny newbie
Posts: 5
Joined: 22 Dec 2014, 14:35
Znuny Version: 4free
Real Name: Michael

"Impossible to send message to: <email>"

Post by mmcdonald »

Hi all,

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) $
Thank you for any help!
Michael
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: "Impossible to send message to: <email>"

Post by crythias »

500 error will show up in /var/log/apache2/error.log or equivalent.

sendmail can be added to your Linux distribution and use an Exchange server as smarthost if configured as such. Note that most mail senders alias sendmail for functionality: postfix, exim3/4, etc.
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
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: "Impossible to send message to: <email>"

Post by crythias »

Also take a look at this search for assistance.
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