Office 365 Sending issues

Moderator: crythias

Post Reply
plattnat
Znuny newbie
Posts: 41
Joined: 26 Dec 2015, 09:42
Znuny Version: 6.2.1
Real Name: Nathan Platt

Office 365 Sending issues

Post by plattnat »

Hi Everyone,

I've successfully managed to setup the incoming mail service via Office365 and been struggling with outgoing mails. I'm getting the following errors;

Code: Select all

There was an error executing Execute() in Kernel::System::Console::Command::Maint::Email::MailQueue: ERROR: OTRS-otrs.Console.pl-Maint::Email::MailQueue-25 Perl: 5.26.3 OS: linux Time: Tue Dec 14 14:07:18 2021
error 	OTRS-otrs.Console.pl-Maint::Email::MailQueue-25 CommunicationLog(ID:1635,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:1725)::Kernel::System::MailQueue => Permanent sending problem or we reached the sending attempt limit. Message will be removed
Tue Dec 14 14:07:18 2021 (Europe/London) 	error 	OTRS-otrs.Console.pl-Maint::Email::MailQueue-25 	CommunicationLog(ID:1635,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:1725)::Kernel::System::MailQueue => Message could not be sent! Error message: Envelope to 'root@localhost' not accepted by the server: 501, 5.1.4 Recipient address reserved by RFC 2606
Tue Dec 14 14:07:18 2021 (Europe/London) 	error 	OTRS-otrs.Console.pl-Maint::Email::MailQueue-25 	CommunicationLog(ID:1635,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:1725)::Kernel::System::Email => Error sending message using backend 'Kernel::System::Email::SMTPTLS'.
Tue Dec 14 14:07:18 2021 (Europe/London) 	error 	OTRS-otrs.Console.pl-Maint::Email::MailQueue-25 	CommunicationLog(ID:1635,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:1725)::Kernel::System::Email::SMTP => Envelope to 'root@localhost' not accepted by the server: 501, 5.1.4 Recipient address reserved by RFC 2606
Tue Dec 14 14:06:17 2021 (Europe/London) 	error 	OTRS-otrs.Console.pl-Maint::Email::MailQueue-25 	There was an error executing Execute() in Kernel::System::Console::Command::Maint::Email::MailQueue: ERROR: OTRS-otrs.Console.pl-Maint::Email::MailQueue-25 Perl: 5.26.3 OS: linux Time: Tue Dec 14 14:06:17 2021
Tue Dec 14 14:06:17 2021 (Europe/London) 	error 	OTRS-otrs.Console.pl-Maint::Email::MailQueue-25 	CommunicationLog(ID:1634,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:1723)::Kernel::System::MailQueue => Permanent sending problem or we reached the sending attempt limit. Message will be removed
So this looks as if the Envelope is wrong (root@localhost) but when i've searched for the envelope settings i can't see any that say root@localhost.
Screenshot 2021-12-14 141223.png
You do not have the required permissions to view the files attached to this post.
skullz
Znuny superhero
Posts: 623
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Office 365 Sending issues

Post by skullz »

System Configuration > Daemon::SchedulerTaskWorker::NotificationRecipientEmail
Post Reply