Changing Mail Fetch Interval

Moderator: crythias

Locked
JojoModjo
Znuny newbie
Posts: 38
Joined: 17 Mar 2016, 12:29
Znuny Version: 5.0.14
Real Name: Joseph Munyao
Company: Diamond Trust

Changing Mail Fetch Interval

Post by JojoModjo »

Hi Guys,

I want to set the OTRS daemon to be fetching mail from the exchange mailboxes using POP3S after every two minutes.
Is this the right place for me to go to?
Daemon.PNG

Also what are the correct values or parameters that i need to input?

One last thing if i want OTRS to fetch mails from 5 mailboxes simultaneously, how do i go about this?
You do not have the required permissions to view the files attached to this post.
To whom much is given, much is expected from.

OTRS 5.0.14 | Newbie :D | Glad to meet you all
root
Administrator
Posts: 4253
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Changing Mail Fetch Interval

Post by root »

Replace */10 by */2 to fetch every two minutes.

All configured mailboxes will be fetched one by one, every two minutes. Maybe you should switch send the mails by smtp to the OTRS server, makes life easier.
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 ?
JojoModjo
Znuny newbie
Posts: 38
Joined: 17 Mar 2016, 12:29
Znuny Version: 5.0.14
Real Name: Joseph Munyao
Company: Diamond Trust

Re: Changing Mail Fetch Interval

Post by JojoModjo »

root wrote:Replace */10 by */2 to fetch every two minutes.

All configured mailboxes will be fetched one by one, every two minutes. Maybe you should switch send the mails by smtp to the OTRS server, makes life easier.

Okay now i have done that but it seems it is not working as expected.
daemon2.PNG
The mails are not being fetched after 2 mins have elapsed, where could the issue be?

I keep getting the below error on the logs.
error.PNG
You do not have the required permissions to view the files attached to this post.
To whom much is given, much is expected from.

OTRS 5.0.14 | Newbie :D | Glad to meet you all
coolmf
Znuny newbie
Posts: 37
Joined: 02 Nov 2015, 16:29
Znuny Version: 5.0.26

Re: Changing Mail Fetch Interval

Post by coolmf »

When i look at your screenshot it looks like you made a TYPO

It looks like this:

Code: Select all

*/ 2* * * * 
instead of

Code: Select all

*/2 * * * * 
Fix and restart Cronjob (or just reboot server)
OTRS 5.0.26 with ITSM, and FAQ module on CentOS 7 with MariaDB and Apache
Using LDAPS for customers and agents against Azure AD
JojoModjo
Znuny newbie
Posts: 38
Joined: 17 Mar 2016, 12:29
Znuny Version: 5.0.14
Real Name: Joseph Munyao
Company: Diamond Trust

Re: Changing Mail Fetch Interval

Post by JojoModjo »

Hi Coolmf,

I restarted the cronjob and everything was okay, i don't think it was a typo issue , i just needed to restart the cron service.
To whom much is given, much is expected from.

OTRS 5.0.14 | Newbie :D | Glad to meet you all
Locked