Skip to content
Snippets Groups Projects
Commit a11b7ade authored by Stephan Bosch's avatar Stephan Bosch
Browse files

Made discard action log a message to avoid confusion about disappearing messages.

parent e7a1f2e1
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@
*/
#include "lib.h"
#include "str-sanitize.h"
#include "sieve-common.h"
#include "sieve-commands.h"
......@@ -146,9 +147,12 @@ static void act_discard_print
static bool act_discard_commit
(const struct sieve_action *action ATTR_UNUSED,
const struct sieve_action_exec_env *aenv ATTR_UNUSED,
const struct sieve_action_exec_env *aenv,
void *tr_context ATTR_UNUSED, bool *keep)
{
sieve_result_log(aenv,
"marked message to be discarded if not explicitly delivered "
"(discard action)");
*keep = FALSE;
return TRUE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.