Vote #66731
完了Allow rdm-mailhandler to read the API key from a file
0%
説明
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/local[13259]: 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)
journals
> 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.
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
Added in r7954. The option is: @--key-file@
--------------------------------------------------------------------------------