Cron task for handling email in redmine

Go to redmine folder and copy use_redmine file:

cp use_redmine proceed_mail

Edit new document:

nano ./proceed_mail

Replace text with following (put your variables):


. /opt/redmine-3.3.2-2/scripts/

rake -f /opt/redmine-3.3.2-2/apps/redmine/htdocs/Rakefile redmine:email:receive_imap RAILS_ENV="production" host=mail_server [email protected] password=your_password move_on_success=read move_on_failure=failed

To run Cron config, exec command:

crontab -e

Add following line to the end of the file (put your variables):

*/5 * * * * /opt/redmine-3.3.2-2/proceed_mail