Mails werden nicht verschickt - "ErrorMessage: Can't send message"

Hilfe zu OTRS Problemen aller Art
Post Reply
GustavG
Znuny expert
Posts: 275
Joined: 26 Nov 2014, 15:56
Znuny Version: Znuny 6.3.4
Real Name: Gerlach

Mails werden nicht verschickt - "ErrorMessage: Can't send message"

Post by GustavG »

Hallo,

Znuny 6.0.36 verschickt aktuell einige Mails nicht und ich verstehe nicht, warum. Als SMTP ist "sendmail" eingestellt, das funktioniert so seit vielen Jahren. Postfix nimmt die Mails lokal entgegen und verschickt sie weiter. Die Mails kommen aber gar nicht bei Postfix an. Log von Znuny:
znuny1.png

Code: Select all

Thu Oct 21 07:01:19 2021 (Europe/Berlin)	error	OTRS-otrs.Console.pl-Maint::Email::MailQueue-10	There was an error executing Execute() in Kernel::System::Console::Command::Maint::Email::MailQueue: ERROR: OTRS-otrs.Console.pl-Maint::Email::MailQueue-10 Perl: 5.32.1 OS: linux Time: Thu Oct 21 07:01:14 2021
Thu Oct 21 07:01:17 2021 (Europe/Berlin)	error	OTRS-otrs.Console.pl-Maint::Email::MailQueue-10	CommunicationLog(ID:465747,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:698552)::Kernel::System::MailQueue => Permanent sending problem or we reached the sending attempt limit. Message will be removed
Thu Oct 21 07:01:15 2021 (Europe/Berlin)	error	OTRS-otrs.Console.pl-Maint::Email::MailQueue-10	CommunicationLog(ID:465747,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:698552)::Kernel::System::MailQueue => Message could not be sent! Error message: Can't send message: !
Thu Oct 21 07:01:15 2021 (Europe/Berlin)	error	OTRS-otrs.Console.pl-Maint::Email::MailQueue-10	CommunicationLog(ID:465747,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:698552)::Kernel::System::Email => Error sending message using backend 'Kernel::System::Email::Sendmail'.
Thu Oct 21 07:01:14 2021 (Europe/Berlin)	error	OTRS-otrs.Console.pl-Maint::Email::MailQueue-10	CommunicationLog(ID:465747,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Connection,ObjectLogID:698565)::Kernel::System::Email::Sendmail => Error during message sending: Can't send message: !
Thu Oct 21 06:56:18 2021 (Europe/Berlin)	error	OTRS-otrs.Console.pl-Maint::Email::MailQueue-10	There was an error executing Execute() in Kernel::System::Console::Command::Maint::Email::MailQueue: ERROR: OTRS-otrs.Console.pl-Maint::Email::MailQueue-10 Perl: 5.32.1 OS: linux Time: Thu Oct 21 06:56:18 2021
Thu Oct 21 06:56:18 2021 (Europe/Berlin)	error	OTRS-otrs.Console.pl-Maint::Email::MailQueue-10	CommunicationLog(ID:465747,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:698552)::Kernel::System::MailQueue => Temporary problem returned from server, requeuing message for sending. Message: SMTPCode: -, ErrorMessage: Can't send message: !
Thu Oct 21 06:56:18 2021 (Europe/Berlin)	error	OTRS-otrs.Console.pl-Maint::Email::MailQueue-10	CommunicationLog(ID:465747,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:698552)::Kernel::System::MailQueue => Message could not be sent! Error message: Can't send message: !
Thu Oct 21 06:56:18 2021 (Europe/Berlin)	error	OTRS-otrs.Console.pl-Maint::Email::MailQueue-10	CommunicationLog(ID:465747,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:698552)::Kernel::System::Email => Error sending message using backend 'Kernel::System::Email::Sendmail'.
Thu Oct 21 06:56:18 2021 (Europe/Berlin)	error	OTRS-otrs.Console.pl-Maint::Email::MailQueue-10	CommunicationLog(ID:465747,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Connection,ObjectLogID:698557)::Kernel::System::Email::Sendmail => Error during message sending: Can't send message: !
Thu Oct 21 06:54:08 2021 (Europe/Berlin)	error	OTRS-otrs.Console.pl-Maint::Email::MailQueue-10	There was an error executing Execute() in Kernel::System::Console::Command::Maint::Email::MailQueue: ERROR: OTRS-otrs.Console.pl-Maint::Email::MailQueue-10 Perl: 5.32.1 OS: linux Time: Thu Oct 21 06:54:08 2021
Thu Oct 21 06:54:08 2021 (Europe/Berlin)	error	OTRS-otrs.Console.pl-Maint::Email::MailQueue-10	CommunicationLog(ID:465747,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:698552)::Kernel::System::MailQueue => Temporary problem returned from server, requeuing message for sending. Message: SMTPCode: -, ErrorMessage: Can't send message: !
Thu Oct 21 06:54:08 2021 (Europe/Berlin)	error	OTRS-otrs.Console.pl-Maint::Email::MailQueue-10	CommunicationLog(ID:465747,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:698552)::Kernel::System::MailQueue => Message could not be sent! Error message: Can't send message: !
Thu Oct 21 06:54:08 2021 (Europe/Berlin)	error	OTRS-otrs.Console.pl-Maint::Email::MailQueue-10	CommunicationLog(ID:465747,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:698552)::Kernel::System::Email => Error sending message using backend 'Kernel::System::Email::Sendmail'.
Thu Oct 21 06:54:08 2021 (Europe/Berlin)	error	OTRS-otrs.Console.pl-Maint::Email::MailQueue-10	CommunicationLog(ID:465747,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Connection,ObjectLogID:698553)::Kernel::System::Email::Sendmail => Error during message sending: Can't send message: !
Thu Oct 21 06:45:28 2021 (Europe/Berlin)	error	OTRS-CGI-10	Deadlock found when trying to get lock; try restarting transaction, SQL: '
Thu Oct 21 06:39:39 2021 (Europe/Berlin)	error	OTRS-otrs.Console.pl-Maint::Email::MailQueue-10	There was an error executing Execute() in Kernel::System::Console::Command::Maint::Email::MailQueue: ERROR: OTRS-otrs.Console.pl-Maint::Email::MailQueue-10 Perl: 5.32.1 OS: linux Time: Thu Oct 21 06:39:31 2021
Thu Oct 21 06:39:39 2021 (Europe/Berlin)	error	OTRS-otrs.Console.pl-Maint::Email::MailQueue-10	CommunicationLog(ID:465737,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:698533)::Kernel::System::MailQueue => Permanent sending problem or we reached the sending attempt limit. Message will be removed
Thu Oct 21 06:39:33 2021 (Europe/Berlin)	error	OTRS-otrs.Console.pl-Maint::Email::MailQueue-10	CommunicationLog(ID:465737,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:698533)::Kernel::System::MailQueue => Message could not be sent! Error message: Can't send message: !
Thu Oct 21 06:39:32 2021 (Europe/Berlin)	error	OTRS-otrs.Console.pl-Maint::Email::MailQueue-10	CommunicationLog(ID:465737,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:698533)::Kernel::System::Email => Error sending message using backend 'Kernel::System::Email::Sendmail'.
Thu Oct 21 06:39:31 2021 (Europe/Berlin)	error	OTRS-otrs.Console.pl-Maint::Email::MailQueue-10	CommunicationLog(ID:465737,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Connection,ObjectLogID:698542)::Kernel::System::Email::Sendmail => Error during message sending: Can't send message: !
Thu Oct 21 06:34:19 2021 (Europe/Berlin)	error	OTRS-otrs.Console.pl-Maint::Email::MailQueue-10	There was an error executing Execute() in Kernel::System::Console::Command::Maint::Email::MailQueue: ERROR: OTRS-otrs.Console.pl-Maint::Email::MailQueue-10 Perl: 5.32.1 OS: linux Time: Thu Oct 21 06:34:19 2021
Jemand eine Idee, was hier faul sein könnte?

Wenn ich lokal vom Terminal aus Mails verschicke kommen die an. Aber in der mail.log von Postfix steht die eMail von diesem Ticket nicht drin.
Wenn ich mir über die Admin-Benachrichtigung eine Mail schicke kommt die nach kurzer Zeit an und erscheint auch in der Mail.log.
Wenn man über Outlook an die Adresse eine Mail schickt geht die raus ohne Fehler.

Ich habe das Znuny kürzlich von Debian Stretch auf Bullseye umgezogen, aber normal sollte das kein Problem sein.

Edit: ich habe jetzt die Mail die nicht raus ging nochmal verschickt, jetzt ging sie ohne Fehler raus. Schon seltsam.
You do not have the required permissions to view the files attached to this post.
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Mails werden nicht verschickt - "ErrorMessage: Can't send message"

Post by root »

Hi,

Du schreibst einige Mails. Haben die denn etwas gemeinsam? Gibt es denn eine Fehlermeldung wenn Du mit dem Befehl

Code: Select all

bin/otrs.Console.pl Maint::Email::MailQueue --send --verbose
testest?

- 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