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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...