Defect #41093
closedError connecting to mail.
0%
Description
Hello
I am trying to set up the creation of applications from email. I see an error. Please help to solve the problem.
Environment:
Redmine version 5.0.9.stable
Ruby version 3.1.2-p20 (2022-04-12) [x86_64-linux-gnu]
Rails version 6.1.7.8
Environment production
Database adapter PostgreSQL
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
Redmine settings:
Redmine theme Default
SCM:
Git 2.39.2
Filesystem
Redmine plugins:
no plugin installed
pp 1163 output: 37320 Rufus::Scheduler::IntervalJob "1m" {}
App 1163 output: 37320 ["/opt/redmine/config/initializers/scheduler.rb", 16]
App 1163 output: 37320 error:
App 1163 output: 37320 37320
App 1163 output: 37320 Errno::EADDRNOTAVAIL
App 1163 output: 37320 Cannot assign requested address - connect(2) for [2a00:1450:4010:c0b::6c]:110
App 1163 output: 37320 /usr/lib/ruby/3.1.0/socket.rb:1214:in `__connect_nonblock'
I get the same error both through rufus and manually.
rake -f /opt/redmine/Rakefile redmine:email:receive_pop3 RAILS_ENV="production" host=pop.gmail.com port=110 username=redmine_test@gmail.com password=C648R --trace