amavisd-new

Klemen Humerca klemen at humerca.com
Tue May 27 19:26:47 CEST 2003


Zivjo!

Ze pred kaksnimi 4 meseci sem na RH 7.3 instaliral Amavisd-new (+ f-prot) in
Postfix. Do pred kaksnih 14 dni je zadeva delovala super, potem pa so
ukuzeni maili zaceli ostajati v queue z naslednjim sporocilom:

"host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=03899-01,
virus_or_banned quar+notif FAILED: Can't call method "lookup_re" on an
undefined value at /usr/sbin/amavisd line 3091"


V mail logu je sledeci opis:

May 27 19:24:11 maja postfix/qmgr[3988]: 457497D7D: from=<klemen at xxxxx.com>,
size=2783, nrcpt=1 (queue active)
May 27 19:24:12 maja amavis[3900]: (03900-01) TROUBLE in check_mail:
virus_or_banned quar+notif FAILED: Can't call method "lookup_re" on an
undefined value at /usr/sbin/amavisd line 3091.
May 27 19:24:12 maja amavis[3900]: (03900-01) PRESERVING EVIDENCE in
/var/amavis/amavis-20030527T192411-03900
May 27 19:24:12 maja postfix/smtp[4605]: 457497D7D: to=<xxxxxx at xxxxx.si>,
relay=127.0.0.1[127.0.0.1], delay=472, status=deferred (host
127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=03900-01,
virus_or_banned quar+notif FAILED: Can't call method "lookup_re" on an
undefined value at /usr/sbin/amavisd line 3091.)


V /usr/sbin/amavisd se vrstica 3091 glasi takole:

my($result,$patt) = $viruses_that_fake_sender_re -> lookup_re($vn);


Celotni sklop pa:


#
#   Virus names are AV-checker vendor specific, but many use same
#   or similar virus names. This requires attention and adjustments
#   from Amavis administrators.
#
    if (grep { /badtrans/i } @$virusname_list) {
        if ($from =~ /^     # these are fake built-in addresses
            (joanna\@mail\.utexas\.edu | powerpuff\@videotron\.ca |
#
#   Virus names are AV-checker vendor specific, but many use same
#   or similar virus names. This requires attention and adjustments
#
#   Virus names are AV-checker vendor specific, but many use same
#   or similar virus names. This requires attention and adjustments
#   from Amavis administrators.
#
    if (grep { /badtrans/i } @$virusname_list) {
        if ($from =~ /^     # these are fake built-in addresses
            (joanna\@mail\.utexas\.edu | powerpuff\@videotron\.ca |
             (mary\@c-com | support\@cyberramp | admin\@gte |
              administrator\@border) \.net |
             (monika\@telia | jessica\@aol | spiderroll\@hotmail |
              lgonzal\@hotmail | andy\@hweb-media | Gravity49\@aol |
              tina0828\@yahoo | JUJUB271\@AOL | aizzo\@home) \.com
             ) $/xi
        ) { # discard recipient's address used as a fake 'MAIL FROM:'
            $best_try_originator = undef;
        } else {
            $best_try_originator = $1  if $from =~ /^_(.+)$/ &&
                                          lc($sender) ne lc($1);
        }
    }
    for my $vn (@$virusname_list) {
        my($result,$patt) = $viruses_that_fake_sender_re -> lookup_re($vn);
        if ($result) {
            do_log(2,"Virus $vn matches pattern $patt, sender addr
ignored");
            $best_try_originator = undef;
            last;
        }
    }
    $best_try_originator;
}


Instaliral sem zadnjo verzijo amavisd programa in napaka ostaja. Mogoce kdo
ve v cem je problem?

Hvala za odgovore!

Klemen Humerca

-----e-mail&web---------
 klemen at humerca.com
 www.humerca.com
 forum.humerca.com
------------------------

     .-.
     /v\    L   I   N   U   X
    // \\        >Rules<
   /(   )\
    ^^-^^




More information about the lugos-list mailing list