@@ -29,6 +29,8 General options: | |||
|
29 | 29 | create: create a user account |
|
30 | 30 | no_permission_check=1 disable permission checking when receiving |
|
31 | 31 | the email |
|
32 | no_account_notice=1 disable new user account notification | |
|
33 | default_group=foo,bar adds created user to foo and bar groups | |
|
32 | 34 | |
|
33 | 35 | Issue attributes control options: |
|
34 | 36 | project=PROJECT identifier of the target project |
@@ -58,6 +60,8 END_DESC | |||
|
58 | 60 | options[:allow_override] = ENV['allow_override'] if ENV['allow_override'] |
|
59 | 61 | options[:unknown_user] = ENV['unknown_user'] if ENV['unknown_user'] |
|
60 | 62 | options[:no_permission_check] = ENV['no_permission_check'] if ENV['no_permission_check'] |
|
63 | options[:no_account_notice] = ENV['no_account_notice'] if ENV['no_account_notice'] | |
|
64 | options[:default_group] = ENV['default_group'] if ENV['default_group'] | |
|
61 | 65 | |
|
62 | 66 | MailHandler.receive(STDIN.read, options) |
|
63 | 67 | end |
@@ -73,6 +77,8 General options: | |||
|
73 | 77 | create: create a user account |
|
74 | 78 | no_permission_check=1 disable permission checking when receiving |
|
75 | 79 | the email |
|
80 | no_account_notice=1 disable new user account notification | |
|
81 | default_group=foo,bar adds created user to foo and bar groups | |
|
76 | 82 | |
|
77 | 83 | Available IMAP options: |
|
78 | 84 | host=HOST IMAP server host (default: 127.0.0.1) |
@@ -129,6 +135,8 END_DESC | |||
|
129 | 135 | options[:allow_override] = ENV['allow_override'] if ENV['allow_override'] |
|
130 | 136 | options[:unknown_user] = ENV['unknown_user'] if ENV['unknown_user'] |
|
131 | 137 | options[:no_permission_check] = ENV['no_permission_check'] if ENV['no_permission_check'] |
|
138 | options[:no_account_notice] = ENV['no_account_notice'] if ENV['no_account_notice'] | |
|
139 | options[:default_group] = ENV['default_group'] if ENV['default_group'] | |
|
132 | 140 | |
|
133 | 141 | Redmine::IMAP.check(imap_options, options) |
|
134 | 142 | end |
@@ -162,6 +170,8 END_DESC | |||
|
162 | 170 | options[:allow_override] = ENV['allow_override'] if ENV['allow_override'] |
|
163 | 171 | options[:unknown_user] = ENV['unknown_user'] if ENV['unknown_user'] |
|
164 | 172 | options[:no_permission_check] = ENV['no_permission_check'] if ENV['no_permission_check'] |
|
173 | options[:no_account_notice] = ENV['no_account_notice'] if ENV['no_account_notice'] | |
|
174 | options[:default_group] = ENV['default_group'] if ENV['default_group'] | |
|
165 | 175 | |
|
166 | 176 | Redmine::POP3.check(pop_options, options) |
|
167 | 177 | end |
General Comments 0
You need to be logged in to leave comments.
Login now