#21 Typos in Recipients.pm

closed
None
5
2002-11-11
2002-10-01
No

This patch aims to fix two typos in Recipients.pm.

It's against amavis-ng from CVS as of 2002-10-01.

If you wonder, this patch should be applied
before patch 610698, which addresses multiple
domains while notifying recipients of virus
detection.

*** Recipients.pm.orig Tue Oct 1 16:37:42 2002
--- Recipients.pm Tue Oct 1 16:38:50 2002
***************
*** 45,51 ****
}
# Success if nobody has to be warned.
return 1 if ($#recipients == -1);
! my $recipients=join(' ', @recipients);

my $message = <<"EOF";
From: $cfg_sender
--- 45,51 ----
}
# Success if nobody has to be warned.
return 1 if ($#recipients == -1);
! my $recipients=join(',', @recipients);

my $message = <<"EOF";
From: $cfg_sender
***************
*** 75,81 ****
$message.=$$args{'headers'};

$AMAVIS::mta->send_message($args, $message, '<>',
@recipients)
! or writelog($args,LOG_ERR,"Error notifying
reipients: $recipients");;
return 1;
}

--- 75,81 ----
$message.=$$args{'headers'};

$AMAVIS::mta->send_message($args, $message, '<>',
@recipients)
! or writelog($args,LOG_ERR,"Error notifying
recipients: $recipients");;
return 1;
}

Discussion

  • Lars Hecking

    Lars Hecking - 2002-10-02
    • assigned_to: nobody --> bengen
     
  • Anonymous - 2002-11-11
    • status: open --> closed
     
  • Anonymous - 2002-11-11

    Logged In: YES
    user_id=58184

    Applied. Thanks.

    -Hilko

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks