Kernel/System/PostMaster/Filter/Decrypt.pm searches for the sender's private key instead of the recipient's private key.
Here is my code change:
Code: Select all
root@o6:/opt/otrs/Kernel/System/PostMaster/Filter# diff -u3 Decrypt.pm.~1~ Decrypt.pm
--- Decrypt.pm.~1~ 2022-03-09 15:49:06.000000000 +0100
+++ Decrypt.pm 2022-04-17 15:15:56.135413283 +0200
@@ -215,7 +215,7 @@
}
my $IncomingMailAddress;
- for my $Email (qw(From)) {
+ for my $Email (qw(To)) {
my @EmailAddressOnField = $Self->{ParserObject}->SplitAddressLine(
Line => $Self->{ParserObject}->GetParam( WHAT => $Email ),
root@o6:/opt/otrs/Kernel/System/PostMaster/Filter#
CD