mirror of
https://github.com/darold/sendmailanalyzer.git
synced 2026-05-15 14:15:56 -06:00
Remove bounce address validation tag (prvs=) from email address. Thanks to Shawn for the feature request.
This commit is contained in:
parent
279ea3fa81
commit
7cd749fdae
1 changed files with 3 additions and 0 deletions
|
|
@ -2325,6 +2325,9 @@ sub edecode
|
|||
{
|
||||
my ($addr) = @_;
|
||||
|
||||
# First remove any bounce address tag validation if any
|
||||
$addr =~ s/^prvs=[^=]+=//;
|
||||
|
||||
if ($addr =~ /=\?[^\?]+\?(.)\?(.*)?=/s) {
|
||||
if (uc($1) eq 'B') {
|
||||
$addr = decode_base64($1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue