imap sync: give the option to use ssl on port 993 instead of starttls
This commit is contained in:
parent
b13384a596
commit
2c005525fb
|
@ -36,6 +36,8 @@ redmine_imap_user: ''
|
|||
#redmine_imap_password: 'Use a vault file'
|
||||
redmine_imap_unknown_user_action: ignore
|
||||
redmine_imap_starttls: true
|
||||
redmine_imap_sync_move_on_failure: True
|
||||
redmine_imap_sync_failure_folder: 'Trash'
|
||||
redmine_imap_sync_additional_options: ''
|
||||
|
||||
# Plugins
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
rake -f {{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/Rakefile redmine:email:receive_imap RAILS_ENV="production" host={{ redmine_imap_server }} username={{ redmine_imap_user }} password='{{ redmine_imap_password }}' unknown_user={{ redmine_imap_unknown_user_action }} starttls={{ redmine_imap_starttls }} {{ redmine_imap_sync_additional_options }} >> {{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/log/imap_sync.log 2>&1
|
||||
rake -f {{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/Rakefile redmine:email:receive_imap RAILS_ENV="production" host={{ redmine_imap_server }} username={{ redmine_imap_user }} password='{{ redmine_imap_password }}' unknown_user={{ redmine_imap_unknown_user_action }} {% if redmine_imap_starttls %}port=143 starttls=true{% else %}port=993 ssl=true{% endif %} {% if redmine_imap_sync_move_on_failure %}move_on_failure={{ redmine_imap_sync_failure_folder }}{% endif %} {{ redmine_imap_sync_additional_options }} >> {{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/log/imap_sync.log 2>&1
|
||||
|
||||
|
|
Loading…
Reference in New Issue