Store imap_options in a configuration file
Added by Attila Beregszaszi almost 12 years ago
I just started using the receiving email feature and it works great.
Is there a way to store the rake command arguments in a settings file?
I do not want them to appear in all over the place - log files, etc as they contain sensitive information.
rake -f /path/to/Rakefile --silent redmine:email:receive_imap RAILS_ENV="production" host=mail.example.com port=993 ssl=1 username=redmine@example.com password=verysecret
Thanks
Replies (2)
RE: Store imap_options in a configuration file - Added by Jan Niggemann (redmine.org team member) almost 12 years ago
You can create a shell script and execute that, but that has little to do with redmine itself...
RE: Store imap_options in a configuration file - Added by Attila Beregszaszi almost 12 years ago
That's true. I put it in a shell script myself and configured cron to run that. I was just hoping that these values might be stored in yml.
Thanks!