-
Hi All, I apologize for creating another discussion. Nobody was answering the previous one. So, I am hoping to catch more attention here. I am running Django-helpdesk using PyCharm to figure out a configuration that works. The email provider is Microsoft Office 365. I did succeed in getting the outbound email connection to work using SMTP. I am still failing to get an inbound connection to work using IMAP. I have configured a queue for the inbound email account. I have added a HELPDESK_OAUTH setting. When I run a test using manage.py get_email, I get an error saying that I am not using HTTPS. I have included a PDF of the error message. I have included a PDF that shows the general form of the values that I am using for HELPDESK_OAUTH settings. The folks at Microsoft have been having a difficult time understanding the various values that I am trying to populate in the settings file. So, I am worried that I have them wrong. Also, I am wondering if my HTTPS issue has to do with trying to test this on the development server. So, I am pretty well lost. I would greatly appreciate any advice that might help move this configuration and testing process forward. Thanks in advance for your help. Best Regards, Kevin |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 13 replies
-
Sorry Kevin. Had a number of day job commitments that have extended into my
no-work day. I will attempt to provide some extra feedback in the other
discussion.
…On Tue, 11 July 2023, 8:37 am Kevin Trainor, ***@***.***> wrote:
Hi All,
I apologize for creating another discussion. Nobody was answering the
previous one. So, I am hoping to catch more attention here.
I am running Django-helpdesk using PyCharm to figure out a configuration
that works. The email provider is Microsoft Office 365. I did succeed in
getting the outbound email connection to work using SMTP.
I am still failing to get an inbound connection to work using IMAP. I have
configured a queue for the inbound email account. I have added a
HELPDESK_OAUTH setting. When I run a test using manage.py get_email, I get
an error saying that I am not using HTTPS. I have included a PDF of the
error message. I have included a PDF that shows the general form of the
values that I am using for HELPDESK_OAUTH settings.
The folks at Microsoft have been having a difficult time understanding the
various values that I am trying to populate in the settings file. So, I am
worried that I have them wrong. Also, I am wondering if my HTTPS issue has
to do with trying to test this on the development server.
So, I am pretty well lost. I would greatly appreciate any advice that
might help move this configuration and testing process forward.
Thanks in advance for your help.
Best Regards,
Kevin
—
Reply to this email directly, view it on GitHub
<#1103>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEAXOGHYN6E3MYHBRHKVTGTXPR73RANCNFSM6AAAAAA2FFA6WY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
After several months of reading my Microsoft email accounts without problem, the get_email command has stopped retrieving email on 5 of my 6 email accounts (queues). I am attaching a file with the console output from the get_mail command with logging turned up to level 4: get_mail_output_from_manage.py.txt I have confirmed that IMAP is still enabled on all 6 email accounts. I also went through the procedure to Register Service Principals on all 6 email accounts again. I got back messages for all 6 accounts that look like they are still configured so that the user can be connected. There is one other possible cause of this problem. I received an email back on October 12 that I thought was a phishing email. I am reluctant to post the body of the message here due to potential security issues. But, here is the Subject line:
I would appreciate any ideas on how to recover from this failure. I have had 5 of my 6 HelpDesk queues down for several days. Thanks in advance for your help. Best Regards, Kevin |
Beta Was this translation helpful? Give feedback.
-
Hi
Nothing obvious in log (to me at least) and it appears to be successfully
connecting, searching - finding no messages and the logging off.
But may I ask an obvious question? Are there any messages in the inbox
folders being monitored?
…On Tue, 17 Oct 2023, 6:05 am Kevin Trainor, ***@***.***> wrote:
After several months of reading my Microsoft email accounts without
problem, the get_email command has stopped retrieving email on 5 of my 6
email accounts (queues). I am attaching a file with the console output from
the get_mail command with logging turned up to level 4:
get_mail_output_from_manage.py.txt
<https://github.com/django-helpdesk/django-helpdesk/files/12921200/get_mail_output_from_manage.py.txt>
I have confirmed that IMAP is still enabled on all 6 email accounts. I
also went through the procedure to Register Service Principals on all 6
email accounts again. I got back messages for all 6 accounts that look like
they are still configured so that the user can be connected.
There is one other possible cause of this problem. I received an email
back on October 12 that I thought was a phishing email. I am reluctant to
post the body of the message here due to potential security issues. But,
here is the Subject line:
- 3|6c9a5310-f391-43aa-f84e-08dbc9a8beb7|60.36.166.41|
***@***.***|(External:Ligent 2FA Important Crediential
Notification)
I would appreciate any ideas on how to recover from this failure. I have
had 5 of my 6 HelpDesk queues down for several days.
Thanks in advance for your help.
Best Regards,
Kevin
—
Reply to this email directly, view it on GitHub
<#1103 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEAXOGCNEQXGFNQECLNV6DDX7WHSDAVCNFSM6AAAAAA2FFA6W2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TEOJWHEYDA>
.
You are receiving this because you commented.Message ID:
<django-helpdesk/django-helpdesk/repo-discussions/1103/comments/7296900@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Based on what I saw and without further forensics. I doubt it.
If it was me I would clear out the messages that are there and send a basic
no frills message with no attachments. Start simple and work up from there.
I would also consider upgrading to later release of helpdesk. I know that
there has been significant rework on the mail parser.
…On Tue, 17 Oct 2023, 8:33 am Kevin Trainor, ***@***.***> wrote:
Hi Bruce,
Yes. I have sent test emails to all 6 of the queues. One queue is still
working, so that doesn’t have any mail stuck in the inbox. The other 5
queues all have at least 1 email stuck in the inbox. I logged into the
Office 365 portal and confirmed that the emails were still there.
Is it possible that whatever generated the email that I believed to be
phishing has somehow gummed up the works?
Best,
Kevin
—
Reply to this email directly, view it on GitHub
<#1103 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEAXOGEOZD7UT7CUYQHEXOLX7WY4XAVCNFSM6AAAAAA2FFA6W2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TEOJXHAZTM>
.
You are receiving this because you commented.Message ID:
<django-helpdesk/django-helpdesk/repo-discussions/1103/comments/7297836@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Set you debug level for Django logging to TRACE and verify that alll expected email queues are actually being processed. |
Beta Was this translation helpful? Give feedback.
-
There are characters in the received email in one of your mailboxes that is causing the software to crash. Because of the way the get_email management command is written, if one queue crashes then all subsequent queues do not get processed (the queues will always be processed in the same order so in your case the first queue is successful every time and the 2nd crashes so all the others never get processed either.
|
Beta Was this translation helpful? Give feedback.
-
Actually there is 1 other solution that will proibably work. |
Beta Was this translation helpful? Give feedback.
This problem appears to have resolved by using version 1.0 of django-helpdesk. I did find one other problem while testing that I am opening as a new discussion. Thanks for your help on this.