[Solved] Redmine on Docker NAS Synology - IMAP Gmail - Get mails 1 by 1
Added by Jérôme Mouchain over 2 years ago
Hi all,
I have configured my redmine on a NAS Synology with Docker, I configured email with success but my crontab used to catch emails to create issues get my emails 1 by 1. Any idea to help ?
Thanks a lot
Environment:
Redmine version 5.0.2.stable
Ruby version 3.1.2-p20 (2022-04-12) [x86_64-linux]
Rails version 6.1.6
Environment production
Database adapter SQLite
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
Redmine settings:
Redmine theme Default
SCM:
Subversion 1.14.1
Mercurial 5.6.1
Bazaar 3.1.0
Git 2.30.2
Filesystem
Redmine plugins:
no plugin installed
my crontab :
*/10 * * * * root rake -f /usr/src/redmine/bin redmine:email:receive_imap RAILS_ENV="production" host=imap.gmail.com port=993 ssl=SSL username=my_user_account password=my_user_password move_on_success=MAILBOX move_on_failure=MAILBOX project=support unknown_user=create no_permission_check=1
Replies (1)
RE: Redmine on Docker NAS Synology - IMAP Gmail - Get mails 1 by 1 - Added by Jérôme Mouchain over 2 years ago
I found the solution. The correct folder for email was not MAILBOX but INBOX. The correct command was
*/10 * * * * root rake -f /usr/src/redmine/bin redmine:email:receive_imap RAILS_ENV="production" host=imap.gmail.com port=993 ssl=SSL username=my_user_account password=my_user_password move_on_success=INBOX move_on_failure=INBOX project=support unknown_user=create no_permission_check=1