Feature #4976
closed
Allow rdm-mailhandler to read the API key from a file
Added by Radek Antoniuk over 14 years ago.
Updated almost 13 years ago.
Description
Hey, currently, the rake task from /etc/aliases is logging the authkey into mail.log files on the server.
It would be better if the rake task takes the credentials from a default or user defined file.
example of log:
Mar 3 16:25:57 server postfix/local13259: 9989C1820EC: to=<support@support.com>, relay=local, delay=0.41, delays=0.12/0.01/0/0.28, dsn=2.0.0, status=sent (delivered to command: /usr/share/redmine/extra/mail_handler/rdm-mailhandler.rb --url http://xxx --key sss --allow-override tracker,priority,status,project --tracker bug)
- Tracker changed from Patch to Feature
- Subject changed from Hide authkey from the rake task to Allow email receiving rake task to read the key from a file
Hey, currently, the rake task from /etc/aliases is logging the authkey into mail.log files on the server.
This is not the rake task that logs this, this is your postfix server.
- Category set to Email receiving
Obviously this is the MTA. :)
That was just a shorthand writing.
Anyway, there should be a method of passing the password via an env. variable or by password file.
- Subject changed from Allow email receiving rake task to read the key from a file to Allow rdm-mailhandler to read the API key from a file
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Target version set to 1.3.0
- Resolution set to Fixed
Added in r7954. The option is: --key-file
Also available in: Atom
PDF