How to automatically fetch inside Nuxeo IMAP Connector

Hi,

we have a email folder configured. Before v 6.0 emails were retrieved automatically every 30 minutes.

Now it seems that the only way to fetch new emails is to click on “Check email”

How can I automate the fetching process?

How can I specify the fetching interval?

Regards,

0 votes

1 answers

2060 views

ANSWER



I found the answer.

You have to edit /opt/nuxeo-dm/templates/common/config/nxmail-scheduler-config.xml

and add something like:

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.mail.scheduler.config">

  <extension
    target="org.nuxeo.ecm.core.scheduler.SchedulerService"
    point="schedule">

    <schedule id="mailReceivedSchedule">
      <eventId>MailReceivedEvent</eventId>
      <eventCategory>default</eventCategory>
      <!-- every half hour of every day -->
      <cronExpression>0 0/30 * * * ?</cronExpression>
    </schedule>

  </extension>

</component>
0 votes