Closed vi-or-die closed 6 years ago
I also just took a look at firewall logs and am able to see outbound traffic to Google but not to Office365. So I feel like it isn't a firewall issue. Let me know if you need anymore information.
I pushed a new version of the script which fixes a small bug (IMAP port must be integer not string). I think that the fact you used Python2 raised the bug. Can you test?
The change seemed to get me further! I am indeed using Python 2.7.12.
Issue Description I am trying to use the imap2thehive to query a mailbox and am getting an error that I think might be related to the imap port but could be something that I am doing wrong. Multiple iterations of the error below (Gmail and O365 were used). I have removed my name, company, and password for privacy.
Environment Not using docker.
Desired Use I have a shared mailbox in Office365 that I want to route Phishing messages to.
Recreation steps
sudo cp -r dockers/imap2thehive
python imap2thehive.py -c imap2thehive.conf -v
imap2thehive.conf Gmail configuration
Error when used with Gmail IMAP
imap2thehive.conf Office365 configuration
Error when used with Office365 IMAP