Project

General

Profile

Actions

Defect #37771

open

receiving email issue

Added by rony f about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Email receiving
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

I have been using below scripts to run per sec for email receving to create new ticket after user sent email sinc 2018. but recently in Oct, the script jobs was failed with below:
-------------------
set SSL_CERT_FILE=C:\path\cacert.pem
set Path=C:\Bitnami-new\redmine-3.4.4-1\ruby\bin
cd C:\Bitnami-new\redmine-3.4.4-1\apps\redmine\htdocs
bundle exec rake redmine:email:receive_pop3 RAILS_ENV="production" host=smtp.office365.com username= password=xxxx ssl=1 project=hda tracker=all allow_override=all
exit
--------------------------------
the current error as below:
-------------------------------------------
C:\Bitnami\redmine>redmine-hda-live.bat

C:\Bitnami\redmine>set SSL_CERT_FILE=C:\path\cacert.pem

C:\Bitnami\redmine>set Path=C:\Bitnami-new\redmine-3.4.4-1\ruby\bin

C:\Bitnami\redmine>cd C:\Bitnami-new\redmine-3.4.4-1\apps\redmine\htdocs

C:\Bitnami-new\redmine-3.4.4-1\apps\redmine\htdocs>bundle exec rake redmine:emai
l:receive_pop3 RAILS_ENV="production" host=smtp.office365.com username=support.i
password=xxx ssl=1 project=hda tracker=all allow_over
ride=all
rake aborted!
Net::POPAuthenticationError: ERR Logon failure: unknown user name or bad passwo
rd.
C:/Bitnami-new/redmine-3.4.4-1/apps/redmine/htdocs/lib/redmine/pop3.rb:43:in `ch
eck'
C:/Bitnami-new/redmine-3.4.4-1/apps/redmine/htdocs/lib/tasks/email.rake:148:in `
block (4 levels) in <top (required)>'
C:/Bitnami-new/redmine-3.4.4-1/apps/redmine/htdocs/app/models/mailer.rb:433:in `
with_synched_deliveries'
C:/Bitnami-new/redmine-3.4.4-1/apps/redmine/htdocs/lib/tasks/email.rake:147:in `
block (3 levels) in <top (required)>'
C:/Bitnami-new/redmine-3.4.4-1/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems
/rake-12.3.0/exe/rake:27:in `<top (required)>'
Tasks: TOP => redmine:email:receive_pop3
(See full trace by running task with --trace)
------------------------------------------

checking from mine:
1. The password for the email is correct and never changed. i can' login the mailbox with the current credentials.
2. tried to change host to outlook.office365.com .but didn't work. with error below:
-------------------------------------------------------
C:\Bitnami-new\redmine-3.4.4-1\apps\redmine\htdocs>bundle exec rake redmine:emai
l:receive_imap RAILS_ENV="production" host=outlook.office365.com username=suppor
password=HDasia!@# ssl=1 project=hda tracker=all allow_o
verride=all
rake aborted!
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv2/v3 read serve
r hello A: unknown protocol
C:/Bitnami-new/redmine-3.4.4-1/apps/redmine/htdocs/lib/redmine/imap.rb:30:in `ne
w'
C:/Bitnami-new/redmine-3.4.4-1/apps/redmine/htdocs/lib/redmine/imap.rb:30:in `ch
eck'
C:/Bitnami-new/redmine-3.4.4-1/apps/redmine/htdocs/lib/tasks/email.rake:117:in `
block (4 levels) in <top (required)>'
C:/Bitnami-new/redmine-3.4.4-1/apps/redmine/htdocs/app/models/mailer.rb:433:in `
with_synched_deliveries'
C:/Bitnami-new/redmine-3.4.4-1/apps/redmine/htdocs/lib/tasks/email.rake:116:in `
block (3 levels) in <top (required)>'
C:/Bitnami-new/redmine-3.4.4-1/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems
/rake-12.3.0/exe/rake:27:in `<top (required)>'
Tasks: TOP => redmine:email:receive_imap
(See full trace by running task with --trace)
------------------------------------------------

I am using office365 global version.
Did anyone encounter the same issue and share the solution to us ?
Can community help to fix?
Appreciate.

Actions #1

Updated by rony f about 2 years ago

  • Status changed from New to Resolved

please delete this issue. that i have submitted to discussion group

Actions

Also available in: Atom PDF