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,