Skip to content

Commit

Permalink
lib-sieve: vacation extension: Use the correct address for "From:" ou…
Browse files Browse the repository at this point in the history
…tgoing header when original envelope recipient is found.

Caused by earlier adjustments for Dovecot lib-smtp.
Copy-paste problem detected by Coverity.
  • Loading branch information
stephanbosch committed Dec 18, 2017
1 parent c8b4ade commit 15f05db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib-sieve/plugins/vacation/cmd-vacation.c
Expand Up @@ -1324,7 +1324,7 @@ static int act_vacation_commit
_contains_my_address(headers, orig_recipient) ) {
smtp_from = orig_recipient;
message_address_init_from_smtp(&reply_from,
NULL, recipient);
NULL, orig_recipient);
break;
}

Expand Down

0 comments on commit 15f05db

Please sign in to comment.