Hi Dragan,

You need to launch the celery beat process which generates the "heartbeats" 
that wake up the scheduled tasks that handle the email sources. The 
simplest way to do so is to use Redis as the celery broker and adding these 
lines to you settings/local.py file

CELERY_ALWAYS_EAGER = False
BROKER_URL = 'redis://127.0.0.1:6379/0'
CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379/0'

then launch a worker process that also generates beats along side runserver 
or uwgsi with:

celery -A mayan worker -l INFO -Q 
checkouts,mailing,uploads,converter,ocr,tools,indexing,metadata -Ofair -B

the -B option will make the worker also generate beats. Make sure only one 
worker is generating beats, this is a limitation of celery itself.

REF:
https://github.com/mayan-edms/mayan-edms/blob/master/contrib/configs/celery_redis.py
https://github.com/mayan-edms/mayan-edms/blob/master/contrib/misc/mayan_edms_worker.sh


On Thursday, March 5, 2015 at 11:01:07 AM UTC-4, Dragan Misovic wrote:
>
> Hi,
> i can't make e-mail sources to work.
> I setup both IMAP and POP3 sources, but they never try to connect to mail 
> server....
> What else needs to be set in order for these sources to work?
> BR,
> Dragan
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to