Unable to send emails

Moderator: crythias

Locked
iwsmike
Znuny newbie
Posts: 2
Joined: 09 Jul 2012, 09:40
Znuny Version: 3.1.7
Company: OPEN

Unable to send emails

Post by iwsmike »

Hi, here's my config:

OTRS 3.1.7 Win32 (Windows Server 2003)

The modules i use

Code: Select all

C:\Program Files\OTRS\OTRS\bin>otrs.CheckModules.pl
   o CGI..............................ok (v3.59)
   o Crypt::PasswdMD5.................ok (v1.3)
   o Crypt::SSLeay....................ok (v0.58)
   o CSS::Minifier....................ok (v0.01)
   o Date::Format.....................ok (v2.24)
   o Date::Pcalc......................ok (v1.2)
   o DBI..............................ok (v1.616)
   o DBD::mysql.......................ok (v4.020)
   o DBD::ODBC........................ok (v1.33)
   o DBD::Oracle......................Not installed! (Optional - Required to con
nect to a Oracle database.)
   o DBD::Pg..........................ok (v2.18.1)
   o Digest::MD5......................ok (v2.51)
   o Digest::SHA::PurePerl............ok (v5.70)
   o Digest::SHA......................ok (v5.62)
   o Encode::HanExtra.................ok (v0.23)
   o Encode::Locale...................ok (v1.02)
   o GD...............................ok (v2.46)
      o GD::Text......................ok (v0.86)
      o GD::Graph.....................ok (v1.44)
      o GD::Graph::lines..............ok (v1.15)
      o GD::Text::Align...............ok (v1.18)
   o IO::Scalar.......................ok (v2.110)
   o IO::Wrap.........................ok (v2.110)
   o JavaScript::Minifier.............ok (v1.05)
   o JSON.............................ok (v2.53)
      o JSON::PP......................ok (v2.27200)
      o JSON::XS......................ok (v2.32)
   o Locale::Codes....................ok (v3.18)
   o LWP::UserAgent...................ok (v6.03)
   o Mail::Internet...................ok (v2.08)
   o Mail::POP3Client.................ok (v2.18 )
      o IO::Socket::SSL...............ok (v1.44)
   o Mail::IMAPClient.................ok (v3.30)
      o IO::Socket::SSL...............ok (v1.44)
   o MIME::Base64.....................ok (v3.13)
   o MIME::Tools......................ok (v5.428)
   o ModPerl::Util....................Not installed! (Optional - Improves Perfor
mance on Apache webservers dramatically.)
      o Apache::DBI...................ok (v1.11)
      o Apache2::Reload...............Not installed! (Optional - Should be insta
lled on mod_perl based installations to automatically reload changed Perl files
and configuration data.)
   o Net::DNS.........................ok (v0.68)
   o Net::POP3........................ok (v2.29)
   o Net::IMAP::Simple................ok (v1.2030)
      o Net::IMAP::Simple::SSL........ok (v1.3)
   o Net::SMTP........................ok (v2.31)
      o Authen::SASL..................ok (v2.15)
      o Net::SMTP::SSL................ok (v1.01)
      o Net::SMTP::TLS::ButMaintained.ok (v0.18)
   o Net::LDAP........................ok (v0.44)
   o Net::SSL.........................ok (v2.85)
   o PDF::API2........................ok (v2.019)
      o Compress::Zlib................ok (v2.037)
   o SOAP::Lite.......................ok (v0.714)
      o version.......................ok (v0.94)
      o Class::Inspector..............ok (v1.25)
   o Text::CSV........................ok (v1.21)
      o Text::CSV_PP..................ok (v1.29)
      o Text::CSV_XS..................ok (v0.85)
   o XML::Parser......................ok (v2.41)
   o HTTP::Message....................ok (v6.02)
      o HTTP::Headers.................ok (v6.00)
   o URI..............................ok (v1.59)
      o URI::Escape...................ok (v3.31)
   o Scalar::Util.....................ok (v1.23)
   o Win32::Daemon....................ok (v20110117)
   o Win32::Service...................ok (v0.06)
The error i get (i removed the email address):

Code: Select all

Backend ERROR: OTRS-CGI-10 Perl: 5.12.3 OS: MSWin32 Time: Tue Jul 10 17:50:30 2012 Message: Impossible to send message to:***@***.com, . Traceback (2044): Module: Kernel::System::Ticket::Article::ArticleSend (v1.311.2.2) Line: 2176 Module: Kernel::Modules::AgentTicketCompose::Run (v1.164.2.1) Line: 738 Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 868 Module: ModPerl::ROOT::ModPerl::Registry::C_3a_Program_20Files_OTRS_OTRS_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 49 Module: (eval) (v1.90) Line: 204 Module: ModPerl::RegistryCooker::run (v1.90) Line: 204 Module: ModPerl::RegistryCooker::default_handler (v1.90) Line: 170 Module: ModPerl::Registry::handler (v1.99) Line: 31
I don't understand the problem, I've been trying, without any luck, to solve this during the past 4 days... I'm out of ideas.

I've searched online and found nothing.

Any help would be really appreciated.

Thanks.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Unable to send emails

Post by jojo »

please ask your mailserveradmin, the otrs server seems not to be allowed to send mails with this sender
"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
iwsmike
Znuny newbie
Posts: 2
Joined: 09 Jul 2012, 09:40
Znuny Version: 3.1.7
Company: OPEN

Re: Unable to send emails

Post by iwsmike »

Hi, thanks for your reply.

I'm the admin and i can send emails without any problems if i use sendmail (I just found out about that, the windows version)
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Unable to send emails

Post by crythias »

Impossible to send message to:***@***.com
There is no path to send email, or you're sending from an email address that isn't allowed to send. Check your postmaster config in sysconfig, your System Email address, your Queue Email address, and your Notification Email address. If you're able to send the mail via command line/telnet test, you should be successful with SMTP send.
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