All Apps and Add-ons

Setting up a google/outlook IMAP account for splunk in windows

ips_mandar
Builder

I am trying to configure IMAP Mailbox on my splunk (7.1.2) windows os but geting below error when I tried python get_imap_email.py -- debug

Traceback (most recent call last):
  File "get_imap_email.py", line 333, in getMail
    M = imaplib.IMAP4(self.server,int(self.port))
  File "F:\Splunk\Python-2.7\Lib\imaplib.py", line 194, in __init__
    self.welcome = self._get_response()
  File "F:\Splunk\Python-2.7\Lib\imaplib.py", line 931, in _get_response
    resp = self._get_line()
  File "F:\Splunk\Python-2.7\Lib\imaplib.py", line 1031, in _get_line
    raise self.abort('socket error: EOF')
abort: socket error: EOF
None
Traceback (most recent call last):
  File "get_imap_email.py", line 717, in <module>
    parseArgs()
  File "get_imap_email.py", line 709, in parseArgs
    imapProc.getMail()
  File "get_imap_email.py", line 345, in getMail
    raise LoginError('Could not log into server: %s with password provided' % self.server)
__main__.LoginError: Could not log into server: imap.gmail.com with password provided 

my settings are-

[IMAP Configuration]
debug = 1
deleteWhenDone = False
disabled = False
fullHeaders = False
includeBody = True
noCache = False
server = imap.gmail.com
useSSL = 0
password = mypassword
port = 993
includeBody = True
mimeTypes = text/plain
user = myid@gmail.com
splunkuser = admin
splunkpassword = password
folders = Inbox
imapSearch = UNDELETED SMALLER 204800
timeout = 10

Also I have open Firewall port 993so there won't be any firewall issue...Not sure if this app is compatible with splunk 7.1.2
Thanks,

0 Karma
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...