Fetch Emails at scheduled time

English! place to talk about development, programming and coding
Post Reply
akshattandon
Znuny newbie
Posts: 20
Joined: 15 May 2018, 08:03
Znuny Version: 6.0.5
Real Name: Akshat
Company: None

Fetch Emails at scheduled time

Post by akshattandon »

Hi All,

By Default all the emails from remote server are fetched periodically to the OTRS server through its daemon in every 10 min,
But there are ways through which We can bypass this mechanism through fetchmail
https://doc.otrs.com/doc/manual/admin/6 ... tings.html

I tried this setting and scheduled the same through crontab but unfortunately mail is pushed in OTRS only when daemon is run in 10 min i.e fetchmail didn't worked to push the mail to otrs .

Steps
Created .fetchmailrc file in $OTRS_HOME folder
Placed my email settings as descbed in above link
poll mail.example.com protocol POP3 user joe password mama is otrs

Called fetchmail from Crontab

Even though fetchmail is called but it didn't pushed the mail to given Q in OTRS every min , But it did the same in 10 min i.e everytime daemon runs

Can anyone suggest what I am exactly missing

Regards
Akshat
root
Administrator
Posts: 3931
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Fetch Emails at scheduled time

Post by root »

akshattandon wrote: 24 Mar 2020, 00:37 Can anyone suggest what I am exactly missing
Yes: the proper place to ask. This is not development related. And for shorted interval you should consider switching from polling to pushing by using SMTP w/ procmail.

- 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