Auto FetchMail Mail Account Management
Moderator: crythias
Auto FetchMail Mail Account Management
Hello
I would set up automatic fetch mail for the Mail Account Management, but i don't know to do this ?
Thanks
I would set up automatic fetch mail for the Mail Account Management, but i don't know to do this ?
Thanks
Re: Auto FetchMail Mail Account Management
Follow the installation guidelines at http://doc.otrs.org (you need to configure and build the cronjobs and with OTRS5 also the daemon)
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Auto FetchMail Mail Account Management
Ok thanks , i will follow this installation guidelines .
Re: Auto FetchMail Mail Account Management
I still have the same problem, i configure the crontab for OTRS user but i can't specify to fetch automaticaly the emails .
Crontab for user OTRS :
# Who gets the cron emails?
MAILTO="root@localhost"
# check OTRS daemon status
*/5 * * * * $HOME/bin/otrs.Daemon.pl start >> /dev/null
Config : Ubuntu 14.0 + OTRS 5.0.4
Crontab for user OTRS :
# Who gets the cron emails?
MAILTO="root@localhost"
# check OTRS daemon status
*/5 * * * * $HOME/bin/otrs.Daemon.pl start >> /dev/null
Config : Ubuntu 14.0 + OTRS 5.0.4
Re: Auto FetchMail Mail Account Management
the daemon will fetch the mails every 10 minutes (configured via sysconfig). If no mail is fetchd, check logfiles
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Auto FetchMail Mail Account Management
Ok, but it's possible to fetch automaticaly every 5 minutes ?
Re: Auto FetchMail Mail Account Management
Hi,
I found this in Admin->SysConfig and searched for MailAccountFetch.
It should find:
Daemon::SchedulerCronTaskManager::Task###MailAccountFetch
I found this in Admin->SysConfig and searched for MailAccountFetch.
It should find:
Daemon::SchedulerCronTaskManager::Task###MailAccountFetch
Re: Auto FetchMail Mail Account Management
I have this message in the log :
From otrs@ Fri Dec 18 11:00:21 2015
Return-Path: <otrs@>
X-Original-To: root@localhost
Delivered-To: root@localhost
Received: by ubuntu.iilyo.local (Postfix, from userid 1000)
id 8C153E4D; Fri, 18 Dec 2015 11:00:21 +0100 (CET)
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
From: OTRS Notifications <otrs@>
X-Powered-BY: OTRS - Open Ticket Request System (http://otrs.org/)
Subject: OTRS Scheduler Daemon Cron: FetchMail
Organization: iilyo
X-Mailer: OTRS Mail Service (5.0.5)
Message-ID: <1450432821.200438.636689952@>
Date: Fri, 18 Dec 2015 11:00:21 +0100
To: root@localhost
ERROR: OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::=
SchedulerTaskWorker-64 Perl: 5.18.2 OS: linux Time: Fri Dec 18 11:00:20 2015
Message: FetchMail bin was not found
Traceback (3342):=20
Module: Kernel::System::FetchMail::Fetch Line: 168
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
From otrs@ Fri Dec 18 11:00:21 2015
Return-Path: <otrs@>
X-Original-To: root@localhost
Delivered-To: root@localhost
Received: by ubuntu.iilyo.local (Postfix, from userid 1000)
id 8C153E4D; Fri, 18 Dec 2015 11:00:21 +0100 (CET)
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
From: OTRS Notifications <otrs@>
X-Powered-BY: OTRS - Open Ticket Request System (http://otrs.org/)
Subject: OTRS Scheduler Daemon Cron: FetchMail
Organization: iilyo
X-Mailer: OTRS Mail Service (5.0.5)
Message-ID: <1450432821.200438.636689952@>
Date: Fri, 18 Dec 2015 11:00:21 +0100
To: root@localhost
ERROR: OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::=
SchedulerTaskWorker-64 Perl: 5.18.2 OS: linux Time: Fri Dec 18 11:00:20 2015
Message: FetchMail bin was not found
Traceback (3342):=20
Module: Kernel::System::FetchMail::Fetch Line: 168
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
Re: Auto FetchMail Mail Account Management
open tickets is really random ...
I just tested to send an email to the OTRS support staff inbox, the ticket was created automaticaly 5 minutes after receiving the email, I then remade the same test the ticket was created 9 min after receiving the email, I do not understand anything anymore...
I just tested to send an email to the OTRS support staff inbox, the ticket was created automaticaly 5 minutes after receiving the email, I then remade the same test the ticket was created 9 min after receiving the email, I do not understand anything anymore...
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Auto FetchMail Mail Account Management
every 10 minutes means up to 10 minutes from receipt.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Auto FetchMail Mail Account Management
Ok but I configure auto fetch mail every minutes ( in Admin->SysConfig ->MailAccountFetch ) but sometimes the ticket is created after 1 minute to receive the email by the customer, sometimes the ticket is created after 5 minutes, somtimes 8 ...
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Auto FetchMail Mail Account Management
If the email is sent at :03, you can expect 2 minutes delay. if the email is sent at :01, you can expect 4 minutes delay.
If the setting still works at 10 minutes but changing it doesn't make a difference, then I would expect a ticket sent at :01 has a 9 minute delay.
But I don't have delays in tickets for my systems because I receive tickets directly to my OTRS box.
Also you may have to restart Daemon if changes.
If the setting still works at 10 minutes but changing it doesn't make a difference, then I would expect a ticket sent at :01 has a 9 minute delay.
But I don't have delays in tickets for my systems because I receive tickets directly to my OTRS box.
Also you may have to restart Daemon if changes.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Auto FetchMail Mail Account Management
Euh OK.
How you configure your system ?crythias wrote:
But I don't have delays in tickets for my systems because I receive tickets directly to my OTRS box.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Auto FetchMail Mail Account Management
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Auto FetchMail Mail Account Management
I do not tune postfix on my linux, it does not matter I'll leave like that (tickets will be created after 10min)