Intermittent mail failures since v5

Moderator: crythias

Post Reply
KimmoJ
Znuny newbie
Posts: 47
Joined: 15 Sep 2011, 09:32
Znuny Version: 6.0.22
Real Name: Kimmo Jaskari
Company: Transmar Ab

Intermittent mail failures since v5

Post by KimmoJ »

I upgraded to OTRS 5 a while back and now I'm seeing a fair number of mail issues. Mostly mail works fine, but occasionally there are just failures and I need to figure out what is going on:

Code: Select all

There was an error executing Execute() in Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch: ERROR: OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-10 Perl: 5.10.1 OS: linux Time: Tue Jan 24 10:20:47 2017

Can't send message: 354Start mail input; end with <CRLF>.<CRLF>

Impossible to send message to: Some Person <some@person.fi> .
I tried disabling the DNS mail domain verification but that doesn't seem to have had any effect. I also switched from plaintext mail delivery to our Exchange to encrypted, and it had no effect (both work mostly but fail from time to time).

Most emails work fine, though. It just sometimes barfs and I have no idea why. Help? People are getting cranky.
KimmoJ
Znuny newbie
Posts: 47
Joined: 15 Sep 2011, 09:32
Znuny Version: 6.0.22
Real Name: Kimmo Jaskari
Company: Transmar Ab

Re: Intermittent mail failures since v5

Post by KimmoJ »

From syslog.

Code: Select all

Jan 23 12:20:43 SYSTEMNAME OTRS-otrs.Console.pl-Maint: :PostMaster::MailAccountFetch-10[2537]: [Error][Kernel::System::Daemon::DaemonModules::BaseTaskWorker::_HandleError][Line:51]: There was an error executing Execute() in Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch: ERROR: OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-10 Perl: 5.10.1 OS: linux Time: Mon Jan 23 12:20:42 2017#012#012 Message: Can't send message: 354Start mail input; end with <CRLF>.<CRLF>#012! Enable Net::SMTP debug for more info!#012#012 Traceback (2537): #012   Module: Kernel::System::Email::SMTP::Send Line: 171#012   Module: Kernel::System::Email::Send Line: 760#012   Module: Kernel::System::Ticket::Article::ArticleSend Line: 2248#012   Module: Kernel::System::Ticket::Article::SendAutoResponse Line: 2594#012   Module: Kernel::System::Ticket::Article::ArticleCreate Line: 452#012   Module: Kernel::System::PostMaster::NewTicket::Run Line: 448#012   Module: Kernel::System::PostMaster::Run Line: 372#012   Module: Kernel::System::MailAccount::POP3::Fetch Line: 212#012   Module: Kernel::System::MailAccount::MailAccountFetch Line: 440#012   Module: Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch::Run Line: 94#012   Module: (eval) Line: 444#012   Module: Kernel::System::Console::BaseCommand::Execute Line: 438#012   Module: (eval) Line: 147#012   Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 131#012   Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 259#012   Module: (eval) Line: 316#012   Module: main::Start Line: 316#012   Module: /opt/otrs//bin/otrs.Daemon.pl Line: 138#012#012ERROR: OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-10 Perl: 5.10.1 OS: linux Time: Mon Jan 23 12:20:42 2017#012#012 Message: Impossible to send message to: Selvitys <censored@censored.fi> .#012#012 Traceback (2537): #012   Module: Kernel::System::Ticket::Article::ArticleSend Line: 2255#012   Module: Kernel::System::Ticket::Article::SendAutoResponse
Jan 23 12:21:48 SYSTEMNAME OTRS-CGI-10[1927]: [Error][Kernel::System::Email::SMTP::Send][Line:171]: Can't send message: 354Start mail input; end with <CRLF>.<CRLF>#012! Enable Net::SMTP debug for more info!
Jan 23 12:21:53 SYSTEMNAME OTRS-CGI-10[1927]: [Error][Kernel::System::Ticket::Article::ArticleSend][Line:2255]: Impossible to send message to: censored@censored.fi .
Post Reply