Project

General

Profile

pop3 from echange

Added by Андрей С over 8 years ago

help set up pop3
I have a server with a self-signed certificate

rake -f /opt/redmine-3.2.2/Rakefile --silent redmine:email:receive_pop3 redmine:email:receive_pop3 RAILS_ENV="production" host=172.16.1.235 username= password=Password ssl=SSL port=110 project=mail allow_override=tracker,priority,project --trace

** Invoke redmine:email:receive_pop3 (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute redmine:email:receive_pop3
rake aborted!
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol
/usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/net/pop.rb:553:in `connect'
/usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/net/pop.rb:553:in `do_start'
/usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/net/pop.rb:531:in `start'
/opt/redmine-3.2.2/lib/redmine/pop3.rb:43:in `check'
/opt/redmine-3.2.2/lib/tasks/email.rake:149:in `block (4 levels) in <top (required)>'
/opt/redmine-3.2.2/app/models/mailer.rb:386:in `with_synched_deliveries'
/opt/redmine-3.2.2/lib/tasks/email.rake:148:in `block (3 levels) in <top (required)>'
/usr/local/rvm/gems/ruby-2.3.0/gems/rake-11.1.2/lib/rake/task.rb:248:in `block in execute'
/usr/local/rvm/gems/ruby-2.3.0/gems/rake-11.1.2/lib/rake/task.rb:243:in `each'
/usr/local/rvm/gems/ruby-2.3.0/gems/rake-11.1.2/lib/rake/task.rb:243:in `execute'
/usr/local/rvm/gems/ruby-2.3.0/gems/rake-11.1.2/lib/rake/task.rb:187:in `block in invoke_with_call_chain'
/usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/usr/local/rvm/gems/ruby-2.3.0/gems/rake-11.1.2/lib/rake/task.rb:180:in `invoke_with_call_chain'
/usr/local/rvm/gems/ruby-2.3.0/gems/rake-11.1.2/lib/rake/task.rb:173:in `invoke'
/usr/local/rvm/gems/ruby-2.3.0/gems/rake-11.1.2/lib/rake/application.rb:150:in `invoke_task'
/usr/local/rvm/gems/ruby-2.3.0/gems/rake-11.1.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/usr/local/rvm/gems/ruby-2.3.0/gems/rake-11.1.2/lib/rake/application.rb:106:in `each'
/usr/local/rvm/gems/ruby-2.3.0/gems/rake-11.1.2/lib/rake/application.rb:106:in `block in top_level'
/usr/local/rvm/gems/ruby-2.3.0/gems/rake-11.1.2/lib/rake/application.rb:115:in `run_with_threads'
/usr/local/rvm/gems/ruby-2.3.0/gems/rake-11.1.2/lib/rake/application.rb:100:in `top_level'
/usr/local/rvm/gems/ruby-2.3.0/gems/rake-11.1.2/lib/rake/application.rb:78:in `block in run'
/usr/local/rvm/gems/ruby-2.3.0/gems/rake-11.1.2/lib/rake/application.rb:176:in `standard_exception_handling'
/usr/local/rvm/gems/ruby-2.3.0/gems/rake-11.1.2/lib/rake/application.rb:75:in `run'
/usr/local/rvm/gems/ruby-2.3.0/gems/rake-11.1.2/bin/rake:33:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.3.0/bin/rake:23:in `load'
/usr/local/rvm/gems/ruby-2.3.0/bin/rake:23:in `<main>'
/usr/local/rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => redmine:email:receive_pop3

Помогите настроить pop3
У меня почтовый сервер echange с самоподписанным сертификатом
получаю ошибку
лог выше