[gelöst]Fehler bei erstellen eines E-Mailtickets

Hilfe zu OTRS Problemen aller Art
Post Reply
thomas91
Znuny advanced
Posts: 103
Joined: 23 Dec 2010, 23:01
Znuny Version: 6.0.18
Location: Lauda-Königshofen

[gelöst]Fehler bei erstellen eines E-Mailtickets

Post by thomas91 »

Hallo Forum,

Ich bekomme folgenden Fehler beim erstellen eines neuen E-mailTickets:

Code: Select all

Backend ERROR: OTRS-CGI-10 Perl: 5.10.1 OS: linux Time: Tue Jan 15 15:20:35 2013 Message: Impossible to send message to: "Benutzername Name" <benutzer@musterfirma.de> . Traceback (1821): Module: Kernel::System::Ticket::Article::ArticleSend (v1.311.2.2) Line: 2176 Module: Kernel::Modules::AgentTicketEmail::Run (v1.44) Line: 1285 Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 868 Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46 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
Das Ticket ist dann angelegt jedoch wird keine E-Mail versendet.


ModulCheck:

Code: Select all

root@OTRS01:/opt/otrs# bin/otrs.CheckModules.pl 
  
o CGI..............................ok (v3.59)   
o Crypt::PasswdMD5.................ok (v1.3)   
o Crypt::SSLeay....................ok (v0.57)   
o CSS::Minifier....................ok (v0.01)   
o Date::Format.....................ok (v2.24)   
o Date::Pcalc......................ok (v1.2)
o DBI..............................ok (v1.612)
o DBD::mysql.......................ok (v4.016)
o DBD::ODBC........................Not installed! (Optional - Required to connect to a MS-SQL database.)
o DBD::Oracle......................Not installed! (Optional - Required to connect to a Oracle database.)
o DBD::Pg..........................Not installed! (Optional - Required to connect to a PostgreSQL database.)
o Digest::MD5......................ok (v2.39)
o Digest::SHA::PurePerl............ok (v5.70)
o Digest::SHA......................ok (v5.47)
o Encode::HanExtra.................Not installed! (Optional - Required to handle mails with several Chinese character sets.)
o Encode::Locale...................ok (v1.02)
o GD...............................ok (v2.39)
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......................Not installed! (Optional - Recommended for faster AJAX/JavaScript handling.)
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.33)
o Mail::IMAPClient.................Not installed! (Optional - Required for IMAP TLS connections.)
o IO::Socket::SSL...............ok (v1.33)
o MIME::Base64.....................ok (v3.08)
o MIME::Tools......................ok (v5.428)
o ModPerl::Util....................ok (v2.000004)
o Apache::DBI...................ok (v1.11)
o Apache2::Reload...............ok (v0.11)
o Net::DNS.........................ok (v0.66)
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.20)
o Net::LDAP........................ok (v0.4001)
o Net::SSL.........................ok (v2.84)
o PDF::API2........................ok (v0.73)
o Compress::Zlib................ok (v2.02)
o SOAP::Lite.......................ok (v0.714)
o version.......................ok (v0.77)
o Class::Inspector..............ok (v1.25)
o Text::CSV........................ok (v1.21)
o Text::CSV_PP..................ok (v1.29)
o Text::CSV_XS..................Not installed! (Optional - Recommended for faster CSV handling.)
o XML::Parser......................ok (v2.36)
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.21)
Gruß
Last edited by thomas91 on 26 Feb 2013, 11:29, edited 1 time in total.
MfG Thomas

Produktiv:
OTRS: 5.0.9
ITSM: 5.0.?
FAQ: 5.0.?
OS: Debian 9.8 x64
Application: Apache2/MySQL 5.5
VM auf: VMware ESXi 6.5
E-Mails: MS Exchange 2013

-- Achtung, es folgt ein Witz:

Code: Select all

    # dpkg-reconfigure brain
    Paket »brain« ist nicht installiert und es ist keine Info verfügbar.
-- weiter geht's im Thread…[/size]
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: Fehler bei erstellen eines E-Mailtickets

Post by Wolfgangf »

- wie ist Dein E-Mail setup im OTRS
- wie ist Dein E-Mail setup auf der OTRS BOX
- kannst Du vom OTRS Host aus Mail versenden?
- Firewall zwischen OTRS und Exchange
- darf der OTRS host am Exchange relayen?
- ...
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
thomas91
Znuny advanced
Posts: 103
Joined: 23 Dec 2010, 23:01
Znuny Version: 6.0.18
Location: Lauda-Königshofen

Re: Fehler bei erstellen eines E-Mailtickets

Post by thomas91 »

Wolfgangf wrote:- wie ist Dein E-Mail setup im OTRS
POP3S, benutzername, Passwort, IP Mailserver
- wie ist Dein E-Mail setup auf der OTRS BOX
Was für eine Box meinst du damit?
- kannst Du vom OTRS Host aus Mail versenden?
Kein versenden möglich nur empfangen.
- Firewall zwischen OTRS und Exchange
nein
- darf der OTRS host am Exchange relayen?
Mir nicht bekannt.
MfG Thomas

Produktiv:
OTRS: 5.0.9
ITSM: 5.0.?
FAQ: 5.0.?
OS: Debian 9.8 x64
Application: Apache2/MySQL 5.5
VM auf: VMware ESXi 6.5
E-Mails: MS Exchange 2013

-- Achtung, es folgt ein Witz:

Code: Select all

    # dpkg-reconfigure brain
    Paket »brain« ist nicht installiert und es ist keine Info verfügbar.
-- weiter geht's im Thread…[/size]
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: Fehler bei erstellen eines E-Mailtickets

Post by Wolfgangf »

Thomas,
hast Du versucht ein Mail (nicht aus OTRS) vom Host auf dem OTRS läuft zu versenden (mit einem beliebigen Mailclient oder telnet , ...)
LG
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
thomas91
Znuny advanced
Posts: 103
Joined: 23 Dec 2010, 23:01
Znuny Version: 6.0.18
Location: Lauda-Königshofen

Re: Fehler bei erstellen eines E-Mailtickets

Post by thomas91 »

Hallo Wolfgang,
nein hab ich nicht getestet.
Das ging ja auch alles zuvor =(
MfG Thomas

Produktiv:
OTRS: 5.0.9
ITSM: 5.0.?
FAQ: 5.0.?
OS: Debian 9.8 x64
Application: Apache2/MySQL 5.5
VM auf: VMware ESXi 6.5
E-Mails: MS Exchange 2013

-- Achtung, es folgt ein Witz:

Code: Select all

    # dpkg-reconfigure brain
    Paket »brain« ist nicht installiert und es ist keine Info verfügbar.
-- weiter geht's im Thread…[/size]
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: Fehler bei erstellen eines E-Mailtickets

Post by Wolfgangf »

Das ging ja auch alles zuvor =(
Was ich ja nicht wissen kann ;)
Ich würde als erstes testen ob es überhaupt geht, und dann weiter zu OTRS ...
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
thomas91
Znuny advanced
Posts: 103
Joined: 23 Dec 2010, 23:01
Znuny Version: 6.0.18
Location: Lauda-Königshofen

Re: Fehler bei erstellen eines E-Mailtickets

Post by thomas91 »

Welche Möglichkeiten beim Versenden hab ich alles?
Ich hab einen Benutzer mit Passwort aus dem AD, welcher ein Postfach auf meinem Exchange hat.
Das letzte mal mit Mail problemen lag es an der Authentifizierung die OTRS am Exchange versuchte.
Leider hat mich hier niemand aufgeklärt was möglich ist und was nicht.
Jetzt kann ich Mails empfangen aber keine Versenden, was aufjedenfall darauf hindeutet das ich noch einen Fehler hier habe.

Edit:
Ich hab eine verbindung mit Telnet zum Mailserver hergestellt:

Code: Select all

root@OTRS01:/# telnet IP 110
Trying IP...
Connected to IP.
Escape character is '^]'.
+OK The Microsoft Exchange POP3 service is ready.
user OTRS
+OK
pass meingeheimespasswort
+OK User successfully logged on.
Mit netcat bekomm ich keine Verbindung.
Wenn ich eine Verbindung mit Telnet und dem Port 25 versuche bekomm ich eine Fehlermeldung.

Code: Select all

220 sername Microsoft ESMTP Mail Service ready at Thu, 17 Jan 2013 15:43:06 +0100
user OTRS
500 5.3.3 Unrecognized command
MfG Thomas

Produktiv:
OTRS: 5.0.9
ITSM: 5.0.?
FAQ: 5.0.?
OS: Debian 9.8 x64
Application: Apache2/MySQL 5.5
VM auf: VMware ESXi 6.5
E-Mails: MS Exchange 2013

-- Achtung, es folgt ein Witz:

Code: Select all

    # dpkg-reconfigure brain
    Paket »brain« ist nicht installiert und es ist keine Info verfügbar.
-- weiter geht's im Thread…[/size]
ddDagobert
Znuny wizard
Posts: 350
Joined: 13 May 2009, 14:24
Znuny Version: 5.0.10

Re: Fehler bei erstellen eines E-Mailtickets

Post by ddDagobert »

Du schreibst, es ging ja zuvor...
Dann verrate mal, ab wenn es nicht mehr geht.
Hast du neu installiert oder upgedatet? Danach alles durchgebootet?
Sysconfig für Mail in Ordnung?
Produktiv: OTRS 5.0.10 mit ITSM + Individualpakete und Feature AddOn auf SLES 11 SP2 mit PosgtreSQL 9.3
Test: OTRS 5.0.10 mit ITSM + Individualpakete und Feature AddOn auf SLES 11 SP2 mit PosgtreSQL 9.3
Entwicklung: OTRS 5.0.10 mit ITSM + Individualpakete und Feature AddOn auf SLES 11 SP2 mit PosgtreSQL 9.3
thomas91
Znuny advanced
Posts: 103
Joined: 23 Dec 2010, 23:01
Znuny Version: 6.0.18
Location: Lauda-Königshofen

Re: Fehler bei erstellen eines E-Mailtickets

Post by thomas91 »

Es geht seit Dezember 2012 nicht mehr.
Geändert wurde nichts bevor das Problem auftauchte.
In der letzten Woche habe ich ein Update auf die neuste Version von OTRS und ITSM gemacht.
Änderungen an den Einstellungen wurde vor dem Fehler keine vorgenommen.
MfG Thomas

Produktiv:
OTRS: 5.0.9
ITSM: 5.0.?
FAQ: 5.0.?
OS: Debian 9.8 x64
Application: Apache2/MySQL 5.5
VM auf: VMware ESXi 6.5
E-Mails: MS Exchange 2013

-- Achtung, es folgt ein Witz:

Code: Select all

    # dpkg-reconfigure brain
    Paket »brain« ist nicht installiert und es ist keine Info verfügbar.
-- weiter geht's im Thread…[/size]
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Fehler bei erstellen eines E-Mailtickets

Post by reneeb »

Ist "plain"-SMTP erlaubt? Ist vielleicht nur SMTPS erlaubt?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: Fehler bei erstellen eines E-Mailtickets

Post by Wolfgangf »

Um das SMTP zu testen muss du natürlich auch "SMTP sprechen" - den user befehl kennt das SMTP Protkoll nicht

also

Code: Select all

telnet mailserver 25
helo ...
mail from: otrs@....
rcpt to: <eine mailadresse>
data
<die nachricht>
.
siehe hier z.B: http://de.wikipedia.org/wiki/SMTP
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
thomas91
Znuny advanced
Posts: 103
Joined: 23 Dec 2010, 23:01
Znuny Version: 6.0.18
Location: Lauda-Königshofen

Re: Fehler bei erstellen eines E-Mailtickets

Post by thomas91 »

Wolfgangf wrote:Um das SMTP zu testen muss du natürlich auch "SMTP sprechen" - den user befehl kennt das SMTP Protkoll nicht

also

Code: Select all

telnet mailserver 25
helo ...
mail from: otrs@....
rcpt to: <eine mailadresse>
data
<die nachricht>
.
siehe hier z.B: http://de.wikipedia.org/wiki/SMTP
Vielen Dank für die ausführliche Beschreibung und den Link.
Die Testmail ist angekommen.
MfG Thomas

Produktiv:
OTRS: 5.0.9
ITSM: 5.0.?
FAQ: 5.0.?
OS: Debian 9.8 x64
Application: Apache2/MySQL 5.5
VM auf: VMware ESXi 6.5
E-Mails: MS Exchange 2013

-- Achtung, es folgt ein Witz:

Code: Select all

    # dpkg-reconfigure brain
    Paket »brain« ist nicht installiert und es ist keine Info verfügbar.
-- weiter geht's im Thread…[/size]
thomas91
Znuny advanced
Posts: 103
Joined: 23 Dec 2010, 23:01
Znuny Version: 6.0.18
Location: Lauda-Königshofen

Re: Fehler bei erstellen eines E-Mailtickets

Post by thomas91 »

Ich mach nur ungern einen doppel Post, aber ich hätte das ganze schon gerne vor OTRS 3.2 gelöst :?
MfG Thomas

Produktiv:
OTRS: 5.0.9
ITSM: 5.0.?
FAQ: 5.0.?
OS: Debian 9.8 x64
Application: Apache2/MySQL 5.5
VM auf: VMware ESXi 6.5
E-Mails: MS Exchange 2013

-- Achtung, es folgt ein Witz:

Code: Select all

    # dpkg-reconfigure brain
    Paket »brain« ist nicht installiert und es ist keine Info verfügbar.
-- weiter geht's im Thread…[/size]
thomas91
Znuny advanced
Posts: 103
Joined: 23 Dec 2010, 23:01
Znuny Version: 6.0.18
Location: Lauda-Königshofen

Re: Fehler bei erstellen eines E-Mailtickets

Post by thomas91 »

Ich habe nun OTRS 3.2.2 installiert und das Problem besteht noch immer.

Ich hab hier nochmal einen Ausschnit aus dem Logfile:

Code: Select all

Feb 25 15:39:01 OTRS01 /USR/SBIN/CRON[4929]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Feb 25 15:39:44 OTRS01 OTRS-CGI-10[1877]: [Notice][Kernel::System::Ticket::TicketCreate] New Ticket [2013022510000086/Test] created (TicketID=365,Queue=Junk,Priority=3 normal,State=open)
Feb 25 15:39:45 OTRS01 OTRS-CGI-10[1877]: [Error][Kernel::System::Email::SMTPS::Send][Line:137]: Can't connect to serverip: !
Feb 25 15:39:45 OTRS01 OTRS-CGI-10[1877]: [Info][Kernel::System::Email::Send] Error sending message
Feb 25 15:39:45 OTRS01 OTRS-CGI-10[1877]: [Error][Kernel::System::Email::SMTPS::Send][Line:137]: Can't connect to serverip: !
Feb 25 15:39:45 OTRS01 OTRS-CGI-10[1877]: [Info][Kernel::System::Email::Send] Error sending message
Feb 25 15:39:45 OTRS01 OTRS-CGI-10[1877]: [Error][Kernel::System::Ticket::Article::ArticleSend][Line:2076]: Impossible to send message to: "Benutzername Nachname, Vorname" <Vorname.Nachname@domain.de> .
Danach lässt sich ja schließen das die Kommunikation von OTRS und Exchange 2003 nicht sauber läuft. Ich hab schon die Authentifizierung mit einem Benuzter und Passwort versucht, desweitern das versenden ohne Authentifizierung (Anonym) mit einem EMpfangsconnector. Ich weis nicht mehr weiter wo ich noch ansetzten soll.
MfG Thomas

Produktiv:
OTRS: 5.0.9
ITSM: 5.0.?
FAQ: 5.0.?
OS: Debian 9.8 x64
Application: Apache2/MySQL 5.5
VM auf: VMware ESXi 6.5
E-Mails: MS Exchange 2013

-- Achtung, es folgt ein Witz:

Code: Select all

    # dpkg-reconfigure brain
    Paket »brain« ist nicht installiert und es ist keine Info verfügbar.
-- weiter geht's im Thread…[/size]
KlausNehrer
Znuny ninja
Posts: 1312
Joined: 25 May 2012, 08:51
Znuny Version: OTRS 4
Real Name: Klaus Nehrer

Re: Fehler bei erstellen eines E-Mailtickets

Post by KlausNehrer »

Code: Select all

Feb 25 15:39:45 OTRS01 OTRS-CGI-10[1877]: [Error][Kernel::System::Email::SMTPS::Send][Line:137]: Can't connect to serverip: !
Ist es Absicht, dass dort keine IP-Adresse / FQDN steht?
KlausNehrer
Znuny ninja
Posts: 1312
Joined: 25 May 2012, 08:51
Znuny Version: OTRS 4
Real Name: Klaus Nehrer

Re: Fehler bei erstellen eines E-Mailtickets

Post by KlausNehrer »

Nebenbei: Hier ist noch immer nichts über die SMTP Konfiguration vom OTRS aufgetaucht.
Wie soll OTRS versenden? Was steht in der Config vom OTRS diesbezüglich?
thomas91
Znuny advanced
Posts: 103
Joined: 23 Dec 2010, 23:01
Znuny Version: 6.0.18
Location: Lauda-Königshofen

Re: [gelöst]Fehler bei erstellen eines E-Mailtickets

Post by thomas91 »

Ich habe einen Empfangsconnector auf meienm Exchange 2007 erstellt. Dieser lässt die Anonyme Anmeldung nur von der IP meines OTRS zu.
Unter OTRS hab ich in der sysconf: Sendmail dann die IP des Exchange und als Protokoll SMTP, sowie den Port 25 eingetragen.
Nun Funktioniert der versandt :)
MfG Thomas

Produktiv:
OTRS: 5.0.9
ITSM: 5.0.?
FAQ: 5.0.?
OS: Debian 9.8 x64
Application: Apache2/MySQL 5.5
VM auf: VMware ESXi 6.5
E-Mails: MS Exchange 2013

-- Achtung, es folgt ein Witz:

Code: Select all

    # dpkg-reconfigure brain
    Paket »brain« ist nicht installiert und es ist keine Info verfügbar.
-- weiter geht's im Thread…[/size]
Post Reply