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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...