Fehler beim Versend von Emails nach Ticketerstellung

Hilfe zu Znuny Problemen aller Art
Locked
octans
Znuny newbie
Posts: 27
Joined: 18 Jan 2012, 18:16
Znuny Version: 3.01
Real Name: Marc
Company: Octans GmbH

Fehler beim Versend von Emails nach Ticketerstellung

Post by octans »

Beim Autoversand von Email z.b. nach Ticketerstellung erscheint im Systemprotokoll folgende Fehlermeldung: "SMTP authentication failed: 500Syntax error, command unrecognized" und "Impossible to send message to: Max Mustermann <max.mustermann@muster.de>.". Habe hier schon das Forum durchforstet, aber nix passendes gefunden. Das OTRS HelpDesk wurde von 2.4 auf 3.0.1 upgedatet. Vorher funktionierte dieser Mailversand einwandfrei. Auch die IP-Einstellungen sind dieselben wir auch vor dem Update, ist ja die gleiche virtuelle Maschine. Danke euch im Voraus!

Gruß!
OTRS 3.0.11, SUSE Linux 12.1, Apache 2.2
octans
Znuny newbie
Posts: 27
Joined: 18 Jan 2012, 18:16
Znuny Version: 3.01
Real Name: Marc
Company: Octans GmbH

Re: Fehler beim Versend von Emails nach Ticketerstellung

Post by octans »

Komischerweise funktioniert das Verschicken der Emails an den zuständigen Agenten problemlos...
OTRS 3.0.11, SUSE Linux 12.1, Apache 2.2
octans
Znuny newbie
Posts: 27
Joined: 18 Jan 2012, 18:16
Znuny Version: 3.01
Real Name: Marc
Company: Octans GmbH

Re: Fehler beim Versend von Emails nach Ticketerstellung

Post by octans »

Emailadressen habe keine umlaute... anbei die log vom smtp-server... bin schon halb verzweifelt..

(00000944) read (12/0)
(00000944) Got complete TCP Message (Size=12)
[944] AUTH LOGIN
[944] 334 XXXXXXXX
(00000944) write (18)
(00000944) read (12/0)
(00000944) Got complete TCP Message (Size=12)
[944] AUTH LOGIN
[944] 500 Syntax error, command unrecognized
(00000944) write (40)
(00000944) read (6/0)
(00000944) Got complete TCP Message (Size=6)
[944] QUIT
[944] 221 octans.de Service closing transmission channel
(00000944) write (52)
[944] SMTP RX Connection closed
(00000776) New Connection 192.168.12.250 Accepted: 00000940
[940] 220 octans.de Service ready by David.fx (0355) ESMTP Server (Tobit.Software, Germany)
(00000940) write (87)
(00000940) read (23/0)
(00000940) Got complete TCP Message (Size=23)
[940] EHLO ticketsystem.biz
250-octans.de Hello ticketsystem.biz, Guten Tag!
250-TURN
250-ETRN
250-AUTH LOGIN CRAM-MD5
250 AUTH=LOGIN
(00000940) write (111)
(00000940) read (12/0)
(00000940) Got complete TCP Message (Size=12)
[940] AUTH LOGIN
[940] 334 XXXXXXXX
(00000940) write (18)
(00000940) read (12/0)
(00000940) Got complete TCP Message (Size=12)
[940] AUTH LOGIN
[940] 500 Syntax error, command unrecognized
(00000940) write (40)
(00000940) read (6/0)
(00000940) Got complete TCP Message (Size=6)
[940] QUIT
[940] 221 octans.de Service closing transmission channel
(00000940) write (52)
[940] SMTP RX Connection closed
(00000776) New Connection 192.168.12.250 Accepted: 00000908
[908] 220 octans.de Service ready by David.fx (0355) ESMTP Server (Tobit.Software, Germany)
(00000908) write (87)
(00000908) read (23/0)
(00000908) Got complete TCP Message (Size=23)
[908] EHLO ticketsystem.biz
250-octans.de Hello ticketsystem.biz, Guten Tag!
250-TURN
250-ETRN
250-AUTH LOGIN CRAM-MD5
250 AUTH=LOGIN
(00000908) write (111)
(00000908) read (12/0)
(00000908) Got complete TCP Message (Size=12)
[908] AUTH LOGIN
[908] 334 XXXXXX
(00000908) write (18)
(00000908) read (12/0)
(00000908) Got complete TCP Message (Size=12)
[908] AUTH LOGIN
[908] 500 Syntax error, command unrecognized
(00000908) write (40)
(00000908) read (6/0)
(00000908) Got complete TCP Message (Size=6)
[908] QUIT
[908] 221 octans.de Service closing transmission channel
(00000908) write (52)
[908] SMTP RX Connection closed
(00000776) New Connection 192.168.12.250 Accepted: 00000904
[904] 220 octans.de Service ready by David.fx (0355) ESMTP Server (Tobit.Software, Germany)
(00000904) write (87)
(00000904) read (23/0)
(00000904) Got complete TCP Message (Size=23)
[904] EHLO ticketsystem.biz
250-octans.de Hello ticketsystem.biz, Guten Tag!
250-TURN
250-ETRN
250-AUTH LOGIN CRAM-MD5
250 AUTH=LOGIN
(00000904) write (111)
(00000904) read (12/0)
(00000904) Got complete TCP Message (Size=12)
[904] AUTH LOGIN
[904] 334 XXXXXXXX
(00000904) write (18)
(00000904) read (12/0)
(00000904) Got complete TCP Message (Size=12)
[904] AUTH LOGIN
[904] 500 Syntax error, command unrecognized
(00000904) write (40)
(00000904) read (6/0)
(00000904) Got complete TCP Message (Size=6)
[904] QUIT
[904] 221 octans.de Service closing transmission channel
(00000904) write (52)
[904] SMTP RX Connection closed

Bitte erbarmet Euch um einer verzweifelten Seele zu helfen!! :( :)
OTRS 3.0.11, SUSE Linux 12.1, Apache 2.2
octans
Znuny newbie
Posts: 27
Joined: 18 Jan 2012, 18:16
Znuny Version: 3.01
Real Name: Marc
Company: Octans GmbH

Re: Fehler beim Versend von Emails an Customer KEINER EINE I

Post by octans »

HAT DENN HIER KEINER EINE IDEE??? Kann doch nicht sein...
Kommt schon Leute, bin echt verzweifelt...
OTRS 3.0.11, SUSE Linux 12.1, Apache 2.2
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Fehler beim Versend von Emails nach Ticketerstellung

Post by jojo »

Wie versuchst Du Dich zu authentifizieren am Mailserver?

Wenn es dringend ist, dann solltest Du über kostenpflichtigen Support nachdenken!
"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
octans
Znuny newbie
Posts: 27
Joined: 18 Jan 2012, 18:16
Znuny Version: 3.01
Real Name: Marc
Company: Octans GmbH

Re: Fehler beim Versend von Emails nach Ticketerstellung

Post by octans »

über smtp mit entsprechendem user und passwort
OTRS 3.0.11, SUSE Linux 12.1, Apache 2.2
octans
Znuny newbie
Posts: 27
Joined: 18 Jan 2012, 18:16
Znuny Version: 3.01
Real Name: Marc
Company: Octans GmbH

Re: Fehler beim Versend von Emails nach Ticketerstellung

Post by octans »

bzgl. kostenpflichtigen Support: Würde ich ja gerne, aber mein Vorgesetzter sieht das anders :)
OTRS 3.0.11, SUSE Linux 12.1, Apache 2.2
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Fehler beim Versend von Emails nach Ticketerstellung

Post by jojo »

Was steht in unter dem XXXX?

[904] AUTH LOGIN
[904] 334 XXXXXXXX
"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
octans
Znuny newbie
Posts: 27
Joined: 18 Jan 2012, 18:16
Znuny Version: 3.01
Real Name: Marc
Company: Octans GmbH

Re: Fehler beim Versend von Emails nach Ticketerstellung

Post by octans »

Hier nochmal ein aktuelles Protokoll des SMTP-Servers:

(00000776) New Connection 192.168.12.250 Accepted: 00000820
[820] 220 octans.de Service ready by David.fx (0355) ESMTP Server (Tobit.Software, Germany)
(00000820) write (87)
(00000820) read (23/0)
(00000820) Got complete TCP Message (Size=23)
[820] EHLO ticketsystem.biz
250-octans.de Hello ticketsystem.biz, Guten Tag!
250-TURN
250-ETRN
250-AUTH LOGIN CRAM-MD5
250 AUTH=LOGIN
(00000820) write (111)
(00000820) read (12/0)
(00000820) Got complete TCP Message (Size=12)
[820] AUTH LOGIN
[820] 334 VXNlcm5hbWU6
(00000820) write (18)
(00000820) read (12/0)
(00000820) Got complete TCP Message (Size=12)
[820] AUTH LOGIN
[820] 500 Syntax error, command unrecognized
(00000820) write (40)
(00000820) read (6/0)
(00000820) Got complete TCP Message (Size=6)
[820] QUIT
[820] 221 octans.de Service closing transmission channel
(00000820) write (52)
[820] SMTP RX Connection closed
(00000776) New Connection 192.168.12.250 Accepted: 00000552
[552] 220 octans.de Service ready by David.fx (0355) ESMTP Server (Tobit.Software, Germany)
(00000552) write (87)
(00000552) read (23/0)
(00000552) Got complete TCP Message (Size=23)
[552] EHLO ticketsystem.biz
250-octans.de Hello ticketsystem.biz, Guten Tag!
250-TURN
250-ETRN
250-AUTH LOGIN CRAM-MD5
250 AUTH=LOGIN
(00000552) write (111)
(00000552) read (12/0)
(00000552) Got complete TCP Message (Size=12)
[552] AUTH LOGIN
[552] 334 VXNlcm5hbWU6
(00000552) write (18)
(00000552) read (12/0)
(00000552) Got complete TCP Message (Size=12)
[552] AUTH LOGIN
[552] 500 Syntax error, command unrecognized
(00000552) write (40)
(00000552) read (6/0)
(00000552) Got complete TCP Message (Size=6)
[552] QUIT
[552] 221 octans.de Service closing transmission channel
(00000552) write (52)
[552] SMTP RX Connection closed
OTRS 3.0.11, SUSE Linux 12.1, Apache 2.2
octans
Znuny newbie
Posts: 27
Joined: 18 Jan 2012, 18:16
Znuny Version: 3.01
Real Name: Marc
Company: Octans GmbH

Re: Fehler beim Versend von Emails nach Ticketerstellung

Post by octans »

na, dann muss ich mir wohl was anderes einfallen lassen...
OTRS 3.0.11, SUSE Linux 12.1, Apache 2.2
octans
Znuny newbie
Posts: 27
Joined: 18 Jan 2012, 18:16
Znuny Version: 3.01
Real Name: Marc
Company: Octans GmbH

Re: Fehler beim Versend von Emails nach Ticketerstellung

Post by octans »

Ich habe hier noch eine möglichen Hinweis. Beim Antworten eines Tickets und dem abschließenden Übermitteln durch einen Klick auf den Button "Übermitteln" erscheint folgende Fehlermeldung im Editorfenster:

Impossible to send message to Tim Ticket <tim.ticket@octans.de>.

Backend ERROR: OTRS-CGI-10 Perl: 5.10.0 OS: linux Time: Wed Jan 25 17:08:38 2012 Message: Impossible to send message to: Tim Ticket <tim.ticket@octans.de> . Traceback (19506): Module: Kernel::System::Ticket::Article::ArticleSend (v1.274.2.3) Line: 2046 Module: Kernel::Modules::AgentTicketCompose::Run (v1.124.2.8) Line: 534 Module: Kernel::System::Web::InterfaceAgent::Run (v1.58.2.1) Line: 853 Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46 Module: (eval) (v1.89.2.1) Line: 204 Module: ModPerl::RegistryCooker::run (v1.89.2.1) Line: 204 Module: ModPerl::RegistryCooker::default_handler (v1.89.2.1) Line: 170 Module: ModPerl::Registry::handler (v1.99) Line: 31

Jetzt vielleicht jemand eine Idee? Danke schonmal für eure Mühen!
OTRS 3.0.11, SUSE Linux 12.1, Apache 2.2
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Fehler beim Versend von Emails nach Ticketerstellung

Post by jojo »

Unterstützt Euer Tobit auch eine PLAIN Authentifizierung?

Er sollte eigentlich:

250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN

zurückgeben.
"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
octans
Znuny newbie
Posts: 27
Joined: 18 Jan 2012, 18:16
Znuny Version: 3.01
Real Name: Marc
Company: Octans GmbH

Re: Fehler beim Versend von Emails nach Ticketerstellung

Post by octans »

Hi,
ja genau das habe ich gestern versucht mit sämtlichen möglichen Konfigurationen herauszufinden. So wie es aussieht haperts am Handshake bzw. an der Authentifizierungsart. Bin jetzt damit nicht so ganz glücklich und bin gerade mit Tobit im Supportaustausch. Mir stellt sich nun noch die Frage, warum es in der OTRS Version 2.4.3 tadellos funktioniert hat. Ist an der SMTP-Kommunikation irgendwas angepasst oder geändert worden bzw. kann es doch an einem Fehlverhalten beim Update gelegen haben?

Danke nochmal für die Mühen!
OTRS 3.0.11, SUSE Linux 12.1, Apache 2.2
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Fehler beim Versend von Emails nach Ticketerstellung

Post by jojo »

die entsprechenden Perl Module sind sicherlich upgedatet worden und ggf. auch die OTRS eigenen Funktionen (da müsste ich allerdings nachschauen...)
"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
octans
Znuny newbie
Posts: 27
Joined: 18 Jan 2012, 18:16
Znuny Version: 3.01
Real Name: Marc
Company: Octans GmbH

Re: Fehler beim Versend von Emails nach Ticketerstellung

Post by octans »

Es funzt wieder :)
Es lag schlußendlich am upgrade des OTRS von Version 2.4.3 auf 3.0.11. Ticketerstellung funktioniert wieder!
Danke nochmal für die Hilfe!
OTRS 3.0.11, SUSE Linux 12.1, Apache 2.2
octans
Znuny newbie
Posts: 27
Joined: 18 Jan 2012, 18:16
Znuny Version: 3.01
Real Name: Marc
Company: Octans GmbH

Re: Fehler beim Versend von Emails nach Ticketerstellung-REO

Post by octans »

Also ich versteh langsam den ganzen mist hier nicht mehr. Neu augesetztes Suse 12.1 mit Apache 2.2 und OTRS 3.0.11. Es können keine Emails verschickt werden, immer die gleiche Fehlermeldung:

(00000784) New Connection 192.168.12.250 Accepted: 00000832
[832] 220 octans.de Service ready by David.fx (0355) ESMTP Server (Tobit.Software, Germany)
(00000832) write (87)
(00000832) read (23/0)
(00000832) Got complete TCP Message (Size=23)
[832] EHLO ticketsystem.biz
250-octans.de Hello ticketsystem.biz, Guten Tag!
250-TURN
250-ETRN
250-AUTH LOGIN CRAM-MD5
250 AUTH=LOGIN

(00000832) write (111)
(00000832) read (12/0)
(00000832) Got complete TCP Message (Size=12)
[832] AUTH LOGIN
[832] 334 VXNlcm5hbWU6
(00000832) write (18)
(00000832) read (12/0)
(00000832) Got complete TCP Message (Size=12)
[832] AUTH LOGIN
[832] 500 Syntax error, command unrecognized
(00000832) write (40)
(00000832) read (6/0)
(00000832) Got complete TCP Message (Size=6)
[832] QUIT
[832] 221 octans.de Service closing transmission channel
(00000832) write (52)
[832] SMTP RX Connection closed

Ich verzweifel langsam am OTRS...
Last edited by octans on 02 Feb 2012, 15:08, edited 1 time in total.
OTRS 3.0.11, SUSE Linux 12.1, Apache 2.2
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Fehler beim Versend von Emails nach Ticketerstellung

Post by jojo »

Versuch doch mal einen lokalen MTA (Postfix) zu verwenden, der den Tobit als Mailrelay nutzt.
"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
octans
Znuny newbie
Posts: 27
Joined: 18 Jan 2012, 18:16
Znuny Version: 3.01
Real Name: Marc
Company: Octans GmbH

Re: Fehler beim Versend von Emails nach Ticketerstellung

Post by octans »

Hi,
da kommt nun folgende bekannte Fehlermeldung, beim Versuch eine Email über den David Server zu verschicken:

Feb 2 15:55:06 ticketsystem postfix/smtp[5329]: deliver_request_final: send: "SASL authentication failed; server 192.168.10.249[192.168.10.249] said: 500 Syntax error, command unrecognized" -1
Feb 2 15:55:06 ticketsystem postfix/smtp[5329]: send attr status = 4.0.0
Feb 2 15:55:06 ticketsystem postfix/smtp[5329]: send attr diag_type = smtp
Feb 2 15:55:06 ticketsystem postfix/smtp[5329]: send attr diag_text = 500 Syntax error, command unrecognized
Feb 2 15:55:06 ticketsystem postfix/smtp[5329]: send attr mta_type = dns
Feb 2 15:55:06 ticketsystem postfix/smtp[5329]: send attr mta_mname = 192.168.10.249
Feb 2 15:55:06 ticketsystem postfix/smtp[5329]: send attr action =
Feb 2 15:55:06 ticketsystem postfix/smtp[5329]: send attr reason = SASL authentication failed; server 192.168.10.249[192.168.10.249] said: 500 Syntax error, command unrecognized

:( :( :( :( :( :o :shock:
OTRS 3.0.11, SUSE Linux 12.1, Apache 2.2
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Fehler beim Versend von Emails nach Ticketerstellung

Post by jojo »

da der Postfix definitv valide SMTP spricht, solltest Du vielleicht mal den Tobit rausschmeissen (sowieso meiner Meinung nach eine der schlechtesten Mailserverimplementationen)
"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
octans
Znuny newbie
Posts: 27
Joined: 18 Jan 2012, 18:16
Znuny Version: 3.01
Real Name: Marc
Company: Octans GmbH

Re: Fehler beim Versend von Emails nach Ticketerstellung

Post by octans »

ob der Tobit nun das gelbe vom ei ist oder nicht, sei dahingestellt. Der ist nunmal hier im Einsatz und ich kann ihn nicht rausschmeißen.
Das ist ja auch immer noch keine Erklärung, warum es zwischendurch funktioniert hat über einen ganzen Tag lang ;-) ...

verzweifelung pur...

Und da ja OTRS von vielen Usern verwendet wird bin ich nun zwischen zwei Stühlen, wer jetzt nun scheiße baut. Ich meine ich habe das System von gestern auf heute frisch aufgesetzt und so viel falsch kann man da erstmal nicht machen meiner Meinung nach...
OTRS 3.0.11, SUSE Linux 12.1, Apache 2.2
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Fehler beim Versend von Emails nach Ticketerstellung

Post by jojo »

Naja, wenn Du es über den Postfix nicht schaffst ist die Lage wohl klar...
"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
octans
Znuny newbie
Posts: 27
Joined: 18 Jan 2012, 18:16
Znuny Version: 3.01
Real Name: Marc
Company: Octans GmbH

Re: Fehler beim Versend von Emails nach Ticketerstellung

Post by octans »

ja, im Grunde schon. Aber versuch das mal den Obrigkeiten zu verklickern...

Naja aber danke für den Tipp mit Postfix. So hat es die Fehlerrichtung zumindest bestätigt...
OTRS 3.0.11, SUSE Linux 12.1, Apache 2.2
Locked