All Apps and Add-ons

Does the IMAP Mailbox app delete email from the server after retrieval?

chuckbrowntx
Engager

Once the IMAP Mailbox app retrieves an email from the server, does the app delete the email from the in-box? If so, is this configurable to any degree? i.e. all/none delete or delete only from certain email addresses...

Tags (1)
0 Karma
1 Solution

jkat54
SplunkTrust
SplunkTrust

By default it does, and it also supports disabling it.

See imap.conf in the app.

#
# deleteWhenDone
#
# If true will delete messages from mailbox after indexing.
# Should note that deteleWhenDone overrides any caching and assumes that each time 
# the script gets called all messages in the inbox are new.
#
# I have noticed if you do not delete mail. Checking for mail can get extremely slow.
#

deleteWhenDone = True  <- default setting

View solution in original post

jkat54
SplunkTrust
SplunkTrust

By default it does, and it also supports disabling it.

See imap.conf in the app.

#
# deleteWhenDone
#
# If true will delete messages from mailbox after indexing.
# Should note that deteleWhenDone overrides any caching and assumes that each time 
# the script gets called all messages in the inbox are new.
#
# I have noticed if you do not delete mail. Checking for mail can get extremely slow.
#

deleteWhenDone = True  <- default setting
Get Updates on the Splunk Community!

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...

Improve Data Pipelines Using Splunk Data Management

  Register Now   This Tech Talk will explore the pipeline management offerings Edge Processor and Ingest ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

Register Join this Tech Talk to learn how unique features like Service Centric Views, Tag Spotlight, and ...