ERROR MailAccountFetch-53

Moderator: crythias

Post Reply
hugutux
Znuny newbie
Posts: 20
Joined: 27 Mar 2016, 05:11
Znuny Version: OTRS 5
Real Name: Hugo Cosme
Location: Brazil
Contact:

ERROR MailAccountFetch-53

Post by hugutux »

Is it possible to disable email notification, as per example? Every 10 minutes, I get an email with this error. Example;

---------------------------------------------------EXAMPLE------------------------------------------------------------
ERROR: OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-53 Perl: 5.20.2 OS: linux Time: Wed May 3 15:20:17 2017

Message: POP3S: Can't fetch email 4 from exemple@mycompany/pop.mailserver.com. Email too big (21807 KB - max 16384 KB)!

Traceback (48579):
Module: Kernel::System::MailAccount::POP3::Fetch Line: 182
Module: Kernel::System::MailAccount::MailAccountFetch Line: 440
Module: Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch::Run Line: 94
Module: (eval) Line: 444
Module: Kernel::System::Console::BaseCommand::Execute Line: 438
Module: (eval) Line: 147
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 131
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 259
Module: (eval) Line: 316
Module: main::Start Line: 316
Module: /opt/otrs/bin/otrs.Daemon.pl Line: 138
OTRS 5 + MySQL + Debian Linux.
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: ERROR MailAccountFetch-53

Post by jojo »

you should solve the issue not preventing to get the warning mail!
"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
hugutux
Znuny newbie
Posts: 20
Joined: 27 Mar 2016, 05:11
Znuny Version: OTRS 5
Real Name: Hugo Cosme
Location: Brazil
Contact:

Re: ERROR MailAccountFetch-53

Post by hugutux »

Sorry, but I did not understand. If I disable "Daemon::SchedulerCronTaskManager::Task ### MailAccountFetch" will I stop receiving the emails / tickets as well?
OTRS 5 + MySQL + Debian Linux.
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: ERROR MailAccountFetch-53

Post by jojo »

yes, this will disable fetching. But please read and understand the error message:

Code: Select all

can't fetch email 4 from exemple@mycompany/pop.mailserver.com. Email too big (21807 KB - max 16384 KB)! 
"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
hugutux
Znuny newbie
Posts: 20
Joined: 27 Mar 2016, 05:11
Znuny Version: OTRS 5
Real Name: Hugo Cosme
Location: Brazil
Contact:

Re: ERROR MailAccountFetch-53

Post by hugutux »

Yes, I've seen that I have a large email inbox, but I can not remove it. I would just like to disable this notification.
"Another question" Can I increase tolerance for larger emails like this?


Thanks for listening!! :)
OTRS 5 + MySQL + Debian Linux.
zzz
Znuny superhero
Posts: 888
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: ERROR MailAccountFetch-53

Post by zzz »

Hey,

change: Ticket → Core::PostMaste → PostMasterMaxEmailSize
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
nedmaj
Znuny expert
Posts: 167
Joined: 26 Nov 2014, 20:34
Znuny Version: 6.3.4
Real Name: Samuel Casimiro
Company: Câmara dos Deputados
Contact:

Re: ERROR MailAccountFetch-53

Post by nedmaj »

hugutux wrote:Yes, I've seen that I have a large email inbox, but I can not remove it. I would just like to disable this notification.
"Another question" Can I increase tolerance for larger emails like this?
Thanks for listening!! :)
I think this kind of notification is a new feature of OTRS 5. OTRS 4 was not notifing such errors.

I suggest you create a mail alias (at /etc/aliases if you use postfix) pointing to /dev/null and then configure that alias at Daemon::SchedulerTaskWorker::NotificationRecipientEmail (ex.: devnull@localhost). After that you should run command newaliases and restart your postfix.
Samuel

Znuny 6.3.4 | OTRS 5.0.17
OS: Debian 11 | CentOS 6.5
Database: Postgres | Oracle 12.1
Number of agents: 450 | Number of customers: 20000 | Number of CIs: 30000
Post Reply