Installation¶
- Install [[contacts-plugin:installation|Contacts plugin]]
- Unarchive plugin to redmine/vendor/plugins
sudo bundle install sudo rake redmine:plugins RAILS_ENV=production
Setup¶
Redmine mailer should be setup http://www.redmine.org/projects/redmine/wiki/EmailConfiguration
Getting mail by REST api (recommended)¶
- wget -O - http://127.0.0.1/helpdesk_mailer/get_mail?key=************
- WS should be enable in the /settings/edit?tab=mail_handler
Getting mail by rake task (higher CPU load)¶
- Set mail server params on
/projects/<your_helpdesk_project_identifier>/settings/contacts_helpdesk - Install cronjob
rake redmine:email:contacts_helpdesk:receive RAILS_ENV=production( all params will taken from project settings)
Add to cron in Linux¶
sudo crontab -e
add such line for every 5 minutes updates:
@*/5 * * * * wget -O - http://127.0.0.1/helpdesk_mailer/get_mail?key=************