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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...