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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...