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

lib-sieve: vacation extension: made discard message for implicit deliver more verbose.

parent 14132546
No related branches found
No related tags found
No related merge requests found
...@@ -1184,10 +1184,22 @@ static bool act_vacation_commit ...@@ -1184,10 +1184,22 @@ static bool act_vacation_commit
/* My address not found in the headers; we got an implicit delivery */ /* My address not found in the headers; we got an implicit delivery */
if ( *hdsp == NULL ) { if ( *hdsp == NULL ) {
const char *original_recipient = "";
/* No, bail out */ /* No, bail out */
if ( config->use_original_recipient ) {
original_recipient = t_strdup_printf("original recipient = <%s>; ",
( orig_recipient == NULL ? "UNAVAILABLE" : str_sanitize(orig_recipient, 128) ));
}
sieve_result_global_log(aenv, sieve_result_global_log(aenv,
"discarding vacation response for message implicitly delivered to <%s>", "discarding vacation response for implicitly delivered message "
recipient ); "(no known recipient address found in message headers: "
"recipient = <%s>; %sadditional :addresses are%s specified)",
str_sanitize(recipient, 128), original_recipient,
(ctx->addresses == NULL ? " not" : ""));
return TRUE; 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.