mirror of
https://github.com/MailScanner/v5.git
synced 2025-02-24 23:44:33 +08:00
Support enable_original_recipient no (#201)
This commit is contained in:
parent
481eed1036
commit
39f234785e
1 changed files with 2 additions and 0 deletions
|
@ -484,7 +484,9 @@ sub new {
|
|||
# Recipient address
|
||||
$recdata =~ s/^\<//;
|
||||
$recdata =~ s/\<$//;
|
||||
# If recipient is empty only add metadata
|
||||
push @{$message->{to}}, lc($recdata);
|
||||
next unless $recdata ne '';
|
||||
push @{$message->{metadata}}, "$rectype$recdata";
|
||||
$TOFound = 1;
|
||||
$ORIGFound = 1;
|
||||
|
|
Loading…
Reference in a new issue