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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...