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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Your Feedback. Our Roadmap. Visit the PX Feedback Booth at .conf26

You use Splunk every day, come and help shape what's next.  Save Your Seat: Product-Focused Sessions at ...

Agentic SOC Triage: Investigating Splunk ES Notables with MCP Server and a Local LLM

The Problem: Too Many Alerts, Too Little Context Security operations teams running Splunk Enterprise Security ...

Painting a Clearer Picture: Creating Cross-Domain Visibility with AI Canvas

Watch Now Painting a Clearer Picture: Creating Cross-Domain Visibility with AI Canvas     Do you ever feel ...