![]() ![]() Although you could use the standard Logrotate it's recommended ( ) to use the Ruby-functionality. The Bitnami-Stack does not preconfigure log-rotating for the production.log located in /opt/redmine-2.5.2-2/apps/redmine/htdocs/log. If you get an error about SSL-certificate (self signed) you may bypass SSL-verify by adding this file to /opt/redmine-2.5.2-2/apps/redmine/htdocs/config/initializers/avoid_ssl_verification.rb require 'openssl' OpenSSL :: SSL :: VERIFY_PEER = OpenSSL :: SSL :: VERIFY_NONE setup log-rotating ¶ ![]() If you get an error about bundle you may want to try cd /opt/redmine-2.5.2-2 ![]() This setup will accept mails from everyone and automagically register unknown users.Īdd following cron-file /etc/cron.d/redmine_mail_recv */15 * * * * root /usr/local/bin/redmine_recv_mail.sh opt/redmine-2.5.2-2/ruby/bin/rake -f '/opt/redmine-2.5.2-2/apps/redmine/htdocs/Rakefile' redmine:email:receive_imap RAILS_ENV = "production" ssl =1 host = port =993 username password =secret unknown_user =create no_permission_check =1 # Outgoing emails configuration (see examples above) email_delivery:Īddress: "" port: 25 domain: '' authentication: :login user_name: password: "secret" enable_starttls_auto: true #openssl_verify_mode: 'none' #enable_starttls_auto: true setup receiving email ¶Īdd following shell-script to /usr/local/bin/redmine_recv_mail.sh #!/bin/sh PATH = "/opt/redmine-2.5.2-2/perl/bin:/opt/redmine-2.5.2-2/git/bin:/opt/redmine-2.5.2-2/sqlite/bin:/opt/redmine-2.5.2-2/ruby/bin:/opt/redmine-2.5.2-2/subversion/bin:/opt/redmine-2.5.2-2/postgresql/bin:/opt/redmine-2.5.2-2/php/bin:/opt/redmine-2.5.2-2/mysql/bin:/opt/redmine-2.5.2-2/apache2/bin:/opt/redmine-2.5.2-2/common/bin: $PATH " Add following parameter to /opt/redmine-2.5.2-2/apps/redmine/htdocs/config/configuration.yml # about line 83 # default configuration options for all environments default: ![]()
0 Comments
Leave a Reply. |