foreach my $v (keys %PARAM) {
my $vv = $PARAM{$v};
$vv =~ s/[<>\'\`\"\000-\037]//g;
- if ($v =~ /^akey$/i and $vv =~ /^(\w+)$/) {
+ if ($v =~ /^akey$/i and $vv =~ /^(\w+)$/) {
$akey = $1;
} elsif ($v =~ /^(from|user)$/i) {
$from = normalize_address($vv);
}
if ($nto) {
-
+
# read aliases from address book
if (open my $AB,'<',"$from/\@ADDRESS_BOOK") {
while (<$AB>) {
# standard log
sub ruplog {
my $msg = "@_";
-
+
$msg =~ s/\n/ /g;
$msg =~ s/\s+$//;
$msg = sprintf "%s [%s_%s] (%s) %s\n",