Lokale Zustellung von root@localhost mails

Hilfe zu OTRS Problemen aller Art
Post Reply
gr8smiley
Znuny newbie
Posts: 27
Joined: 16 Feb 2019, 22:45
Znuny Version: OTRS6

Lokale Zustellung von root@localhost mails

Post by gr8smiley »

Hallo,

ich habe mir in mein System wohl einen Wurm hineingebracht.

Mein Setup: OTRS 6 auf CentOS 7 ausgehende E-Mails werden über MultiSMTP an einen Postfix Mailrelay im lokalen Netzwerk zum Relay an Office 365 weitergeleitet.

Ich habe während des Probierens die Adresse von root@localhost durch andere ersetzt. Jetzt bekomme ich laufend E-Mails mit dem Betreff: OTRS Scheduler Daemon Cron: MailQueueSend. Diese E-Mails würde ich am liebsten sowieso abdrehen weil ich nicht weiß wofür ich die brauche.

Ich hätte die Admin E-Mails gerne wieder lokal an root@localhost zugestellt. Aber wenn ich die E-Mail Adressen zurückändere versucht er die E-Mails über das MultiSMTP zum Relay-Server zu schicken.

Funktioniert das nur wenn man das lokale sendmail verwendet weil der die lokale Zustellung macht? Wie funktioniert die lokale Mail Zustellung?

Vielen Dank für eure Hilfe und euer Verständnis falls die Frage dumm ist.

Schöne Grüße,

Thomas
gr8smiley
Znuny newbie
Posts: 27
Joined: 16 Feb 2019, 22:45
Znuny Version: OTRS6

Re: Lokale Zustellung von root@localhost mails

Post by gr8smiley »

Hallo nochmal in die Runde,

ich komme leider bei diesem Problem nicht weiter und bitte nochmals um eure Hilfe.

Ich bekomme immer wenn das OTRS ein E-Mail versendet ganz viele E-Mails an die OTRS Notification E-Mail Adresse.

Ich glaube, er schickt mir das Kommunikationsprotokoll. Das sind auf jeden Fall E-Mails die immer größer werden.

Zuerst ein paar KB, innerhalb von 20 Minuten sind es 32 MB.

Wo kann man im OTRS einstellen was an die OTRS Notification E-Mail Adresse geschickt wird und wann? Das wäre eine wichtige Frage für mich wo ich in der Konfiguration nichts finde.

Das OTRS benachrichtigt mich zuerst über das versendete E-Mail. Das ist auch gut so. Und dann kommen immer mehr E-Mails.

Der Anfang eines solchen E-Mails sieht so aus:

Net::SMTP>>> Net::SMTP(2.31)
Net::SMTP>>> Net::Cmd(2.29)
Net::SMTP>>> Exporter(5.68)
Net::SMTP>>> IO::Socket::INET(1.33)
Net::SMTP>>> IO::Socket(1.34)
Net::SMTP>>> IO::Handle(1.33)
Net::SMTP=GLOB(0x42817e8)<<< 220 xxx.yyy.zzz ESMTP Postfix
Net::SMTP=GLOB(0x42817e8)>>> EHLO xxx.yyy.zzz
Net::SMTP=GLOB(0x42817e8)<<< 250-xxx.yyy.zzz
Net::SMTP=GLOB(0x42817e8)<<< 250-PIPELINING
Net::SMTP=GLOB(0x42817e8)<<< 250-SIZE
Net::SMTP=GLOB(0x42817e8)<<< 250-VRFY
Net::SMTP=GLOB(0x42817e8)<<< 250-ETRN
Net::SMTP=GLOB(0x42817e8)<<< 250-ENHANCEDSTATUSCODES
Net::SMTP=GLOB(0x42817e8)<<< 250-8BITMIME
Net::SMTP=GLOB(0x42817e8)<<< 250 DSN
Net::SMTP=GLOB(0x42817e8)>>> MAIL FROM:<xxx>
Net::SMTP=GLOB(0x42817e8)<<< 250 2.1.0 Ok
Net::SMTP=GLOB(0x42817e8)>>> RCPT TO:<yyy>
Net::SMTP=GLOB(0x42817e8)<<< 250 2.1.5 Ok
Net::SMTP=GLOB(0x42817e8)>>> DATA
Net::SMTP=GLOB(0x42817e8)<<< 354 End data with <CR><LF>.<CR><LF>
Net::SMTP=GLOB(0x42817e8)>>> Content-Type: text/plain; charset="utf-8"
Net::SMTP=GLOB(0x42817e8)>>> Content-Disposition: inline
Net::SMTP=GLOB(0x42817e8)>>> Content-Transfer-Encoding: quoted-printable
Net::SMTP=GLOB(0x42817e8)>>> MIME-Version: 1.0
Net::SMTP=GLOB(0x42817e8)>>> Subject: OTRS Scheduler Daemon Cron: MailQueueSend
Net::SMTP=GLOB(0x42817e8)>>> X-Powered-BY: OTRS (https://otrs.com/)
Net::SMTP=GLOB(0x42817e8)>>> X-Mailer: OTRS Mail Service (6.0.16)
Net::SMTP=GLOB(0x42817e8)>>> Date: Tue, 26 Feb 2019 07:45:17 +0000
Net::SMTP=GLOB(0x42817e8)>>> Message-ID: <1551167117.155454.090004326@otrs.yyy.zzz>
Net::SMTP=GLOB(0x42817e8)>>> To: OTRS Benachrichtigungsasdresse
Net::SMTP=GLOB(0x42817e8)>>> Organization: Der Kunde
Net::SMTP=GLOB(0x42817e8)>>> From: OTRS Notifications <support@xxx.com>
Net::SMTP=GLOB(0x42817e8)>>>
Net::SMTP=GLOB(0x42817e8)>>> Net::SMTP>>> Net::SMTP(2.31)
Net::SMTP=GLOB(0x42817e8)>>> Net::SMTP>>> Net::Cmd(2.29)
Net::SMTP=GLOB(0x42817e8)>>> Net::SMTP>>> Exporter(5.68)

Vielen Dank für Eure Hilfe!

Thomas
wurzel
Znuny guru
Posts: 3231
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Lokale Zustellung von root@localhost mails

Post by wurzel »

Hi,

Fakt ist, dass Mails an localhost nicht über SMTP versenden kann. Wenn Du also eine localhost Adresse hast, musst (!) Du einen lokalen MTA/MDA konfiguriert haben. Ja, lokale Zustellung.

Das MultiSMTP kenn ich nicht. Das wird aber - denke ich - nichts anderes machen als jeder andere SMTP Versender.

Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
gr8smiley
Znuny newbie
Posts: 27
Joined: 16 Feb 2019, 22:45
Znuny Version: OTRS6

Re: Lokale Zustellung von root@localhost mails

Post by gr8smiley »

Hallo Flo,

danke für die Erklärung. Ich hatte mir das schon so gedacht.

Dann bleibt nur noch das Rätsel mit den vielen E-Mails die ich so bekomme.

DANKE!

Thomas
ruebenmaster
Znuny newbie
Posts: 11
Joined: 20 Jul 2011, 22:27
Znuny Version: 2.4.9
Real Name: Stephan Frank
Company: Limbachgruppe SE
Location: Neckarbischofsheim

Re: Lokale Zustellung von root@localhost mails

Post by ruebenmaster »

Hallo wurzel,
da muss ich die leider enttäuschen. Mails an root@localhost sendet unser Znuny Server auch an den Exchange weiter. Dieser schickt dann eine Fehlermeldung (5.5.4) raus, dass es root@localhost nicht gibt und weißt die Anfrage zur Mailvermittlung zurück.
Bei uns läuft ein Znuny 6.2 auf CentOS 7 udn postfix als MTA.
Der postfix scheint aber mit dieser Mailübermittlung nichts zu tun zu haben.

Im Subject steht dabei immer: OTRS Scheduler Daemon AsynchronousExecutor: PluginAsychronous::ConcurrentUser
From: OTRS Notifications
TO: <root@localhost>

LG
ruebenmaster
You do not have the required permissions to view the files attached to this post.
Wieder bei ((otrs)) gelandet, nach Jahren. Und was soll ich sagen?
Es heißt nun Znuny :lol:
Nebenbei noch Zammad und iTop, Servicedesk scheint mein Ding zu sein. 8)
root
Administrator
Posts: 3961
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Lokale Zustellung von root@localhost mails

Post by root »

ruebenmaster wrote: 17 Feb 2023, 09:19 Hallo wurzel,
da muss ich die leider enttäuschen. Mails an root@localhost sendet unser Znuny Server auch an den Exchange weiter. Dieser schickt dann eine Fehlermeldung (5.5.4) raus, dass es root@localhost nicht gibt und weißt die Anfrage zur Mailvermittlung zurück.
Bei uns läuft ein Znuny 6.2 auf CentOS 7 udn postfix als MTA.
Der postfix scheint aber mit dieser Mailübermittlung nichts zu tun zu haben.

Im Subject steht dabei immer: OTRS Scheduler Daemon AsynchronousExecutor: PluginAsychronous::ConcurrentUser
From: OTRS Notifications
TO: <root@localhost>
Hallo,

Ich halte jetzt eine Antwort 4 Jahre später für nicht sehr zielführend ;-) Abgesehen davon würde ich sagen das es bei Dir die SysConfig Daemon::SchedulerTaskWorker::NotificationRecipientEmail ist die für den Empfänger zuständig ist.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Post Reply