Action encrypt sends mail to rest of recipents that have key, dropping only that ones
that lacks key.master
parent
9e01dec269
commit
b1ffa9f546
7
kuvert
7
kuvert
|
@ -518,11 +518,8 @@ sub process_file
|
|||
|
||||
#Check if mail needs to be dropped due to
|
||||
#encrypt option being specyfied and lack of key
|
||||
if (grep($_ eq "drop",values(%actions)))
|
||||
{
|
||||
return "Dropping mail due to lack of encryption key. Mail would be sent to: @rawrecips";
|
||||
}
|
||||
|
||||
%actions = grep {$_ ne 'drop'} %actions;
|
||||
|
||||
my ($orig_header,$cryptoin);
|
||||
# prepare various stuff we need only when encrypting or signing
|
||||
if(grep($_ ne "none",values(%actions)))
|
||||
|
|
Loading…
Reference in New Issue