OTRS 6 fetchmail issue

Moderator: crythias

Post Reply
DivyaP
Znuny newbie
Posts: 3
Joined: 23 Jan 2023, 14:38
Znuny Version: 6.0.28
Real Name: otrs

OTRS 6 fetchmail issue

Post by DivyaP »

Hi Folks,

I have issue with OTRS version 6 which is running on ubuntu 16.04.

OTRS didn't fetch the mail properly whenever i tried to fetch the mail it through below error

" OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-77[5799]: [Error][Kernel::System::Daemon::DaemonModules::BaseTaskWorker::_HandleError][Line:52]: There was an error executing Execute() in Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch: Error: Timeout of 600 seconds reached, killing child process!"

I tried below steps:

Tried to reconfigure fetchmail:bin not success
Tried to add new param in Daemon: "ArtticlIndex rebuild" add new param "--force-pid" 3.Restart the server from remote console

How to fix this issue? please guide me on this.
You do not have the required permissions to view the files attached to this post.
wurzel
Znuny guru
Posts: 3224
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: OTRS 6 fetchmail issue

Post by wurzel »

Hi,

did it work before?
Do not use fetchmail or configure it properly.

I recommend procmail
https://doc.znuny.org/manual/admin/email/index.html

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.
DivyaP
Znuny newbie
Posts: 3
Joined: 23 Jan 2023, 14:38
Znuny Version: 6.0.28
Real Name: otrs

Re: OTRS 6 fetchmail issue

Post by DivyaP »

Hello wurzel,

It is a production server which is currently operational.

I have a question about fetchmail files.
I checked the server, but there were no fetchmail files in /usr/bin.

Is this the cause of the problem?

If this is the case,
How do I retrieve a file from the /usr/bin directory?
I made no changes to OTRS running before itself..

The problem appeared after restarting Daemon..

When I click fetchmail from the mail account management list, it displays "Email account retrieval has already been performed by another process.
Please retry later!"

Your response is extremely valuable.


Regards,
DivyaP
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS 6 fetchmail issue

Post by jojo »

DivyaP wrote: 31 Jan 2023, 10:38 I have a question about fetchmail files.
I checked the server, but there were no fetchmail files in /usr/bin.

Is this the cause of the problem?
No, as you are using the build in functionality to retrieve mails and not fetchmail (which would be a seperate setup, not mainained within OTRS)

For your main issue I would suggest to check the logs of the mailserver
"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
DivyaP
Znuny newbie
Posts: 3
Joined: 23 Jan 2023, 14:38
Znuny Version: 6.0.28
Real Name: otrs

Re: OTRS 6 fetchmail issue

Post by DivyaP »

As i checked my syslog i'm getting below error


mysqld[1710]: [Warning] Aborted connection 31781 to db: 'otrs' user: 'otrs_user' host: 'localhost' (Got timeout reading communication packets)

OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-77[8011]: [Error][Kernel::System::Daemon::DaemonModules::BaseTaskWorker::_HandleError][Line:52]: There was an error executing Execute() in Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch: Error: Timeout of 600 seconds reached, killing child process!

OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-77[8351]: [Error][Kernel::System::CommunicationLog::_LogError][Line:538]: CommunicationLog(ID:3136954,AccountType:-,AccountID:-,Direction:Incoming,Transport:Email,ObjectLogType:Connection,ObjectLogID:3936582)::Kernel::System::MailAccount::IMAP => IMAP: Can't connect.
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: OTRS 6 fetchmail issue

Post by root »

Hi,

This looks like no connection to the target server ion the IMAP port could be made. Reasons could be outbound firewall, inbound firewall on target server, rate limit at target server, etc.

- 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