All Apps and Add-ons

IMAP Login Splunk fails

rainbat
New Member

Hello all,

I could successfully configure splunk imap plugin to retrieve mails from apple, but somehow it can't login to the REST API, I could reproduce the error by running the command line python script getimap.py:

DEBUG:root:about to dump mailbox support-wfp
DEBUG:root:decrypted splunk password
DEBUG:splunk.rest:simpleRequest > POST https://localhost:8089/services/auth/login [[REDACTED]] sessionSource=SDK
DEBUG:root:1userid/password combination for splunk user is invalid...
Traceback (most recent call last):
  File "getimap.py", line 405, in getMailbox
    latestTime = self.getCacheIDForMailbox(box)
  File "getimap.py", line 259, in getCacheIDForMailbox
    raise LoginError("1userid/password combination for splunk user is invalid...")
LoginError: 1userid/password combination for splunk user is invalid...
None
ERROR:root:ERROR - trying to select mailgox
rainbat:bin rainbat$ 

Somehow even hardcoded it doesn't accept the spunk.rest.simpleRequest, I am running OSX Lion on my MacMini, can anybody help ?

Best regards from Switzerland,
Dominique

0 Karma

Erik_Swan
Splunk Employee
Splunk Employee

Hi Dominique,

I have better version of the app that prints out more debug info that should help diagnose.
I'll upload to splunkbase today.

Thanks
E

0 Karma

pauln75
Explorer

Hey Erik,

Did you ever upload this to splunkbase? I'm running into the same problem, and like to try out the new version.

Thanks, Paul

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...