[Postfixbuch-users] Amavis blockt keine Zips mehr

lars behrens lars at brainlift.de
Do Mär 23 09:26:51 CET 2006


moin, liste,


ich habe heute morgen ein Update auf meinem Postfix gemacht (Debian 
sarge) auf:

Package: amavisd-new
Status: install ok installed
Version: 1:2.3.3-7


Seitdem kann ich gezippte exe schicken wie ich lustig bin, die gehen 
alle durch (gestern wurden sie noch geblockt):

Mar 23 09:01:28 mail amavis[3494]: (02830-08) run_command: child 
process [3494]: Failed to exec SCALAR(0x87b92f0) lq 
/var/lib/amavis/tmp/amavis-20060323T085334-02830/parts/p012.exe: No 
such file or directory at /usr/sbin/amavisd-new line 1908.\n

... und landen beim Empfänger.


die besagte zeile in /usr/sbin/amavisd-new sagt:

      # BEWARE of Perl older that 5.6.0: sockets and pipes were not 
FD_CLOEXEC
       { no warnings;
         exec {$cmd} ($cmd, at args) or die "Failed to exec $cmd_text: $!";
       }


- perl ist:

mail:/etc/amavis/conf.d# dpkg -s perl
Package: perl
Status: install ok installed
Priority: standard
Section: perl
Installed-Size: 12872
Maintainer: Brendan O'Dea <bod at debian.org>
Architecture: i386
Version: 5.8.8-3


- in 50-user unter /etc/amavis/conf.d/ steht:

use strict;
$mydomain = 'mydomain.de';
@local_domains_maps = ( [".$mydomain"] );
$local_domains_re = new_RE( qr'.*'i );
$final_virus_destiny      = D_DISCARD;  # (data not lost, see virus 
quarantine)
$final_banned_destiny     = D_BOUNCE;   # D_REJECT when front-end MTA
$final_bad_header_destiny = D_PASS;     # False-positive prone (for 
spam)
$virus_admin = "postmaster\@$mydomain"; # due to D_DISCARD default
$X_HEADER_LINE = "Virus-Checker at $mydomain";
@bypass_virus_checks_maps = qw( h.hirsch at mydomain.de );
@bypass_header_checks_acl = qw( a.hauser at mydomain.de );
@bypass_banned_checks_maps = qw( h.hirsch at mydomain.de );
@bypass_virus_checks_acl = qw( h.hirsch at mydomain.de );
$spam_lovers{lc("postmaster\@$mydomain")} = 1;
    @bypass_spam_checks_acl = qw(  lars at mydomain.de );
    @bypass_spam_checks_acl = ( "!.$mydomain", "." );
  @whitelist_sender_acl = qw( moutng.kundenserver.de newsletter.lidl.de 
mrelayeu.kundenserver.de);
$final_spam_destiny       = D_DISCARD;
$spam_quarantine_to = "spam\@$mydomain";
mailfrom_notify_spamadmin = "spam\@$mydomain";
$mailfrom_to_quarantine = '';   # override sender address with null 
return path
$sa_tag_level_deflt  = -999.0;
$sa_tag2_level_deflt = 4.0; # add 'spam detected' headers at that level
$sa_kill_level_deflt  = 6.0;  # kill at 7 or above
#$sa_spam_subject_tag = '***SPAMVERDACHT***'
$max_servers  =  2;   # number of pre-forked children          (default 
2)
$max_requests = 20;   # retire a child after that many accepts (default 
10)
$child_timeout=5*60;  # abort child if it does not complete each task in
1;  # insure a defined return

- ich hatte h.hirsch mal testweise genutzt, um einzelne empfänger vom 
Virus- und Anhangscheck auszunehmen; es ändert sich aber auch nichts, 
wenn ich diese Zeilen:

@bypass_virus_checks_maps = qw( h.hirsch at mydomain.de );
@bypass_header_checks_acl = qw( a.hauser at mydomain.de );
@bypass_banned_checks_maps = qw( h.hirsch at mydomain.de );
@bypass_virus_checks_acl = qw( h.hirsch at mydomain.de );
$spam_lovers{lc("postmaster\@$mydomain")} = 1;
    @bypass_spam_checks_acl = qw(  lars at mydomain.de );
    @bypass_spam_checks_acl = ( "!.$mydomain", "." );
  @whitelist_sender_acl = qw( moutng.kundenserver.de newsletter.lidl.de 
mrelayeu.kundenserver.de);

auskommentiere und den Amavisd-new u d Postfix neu starte.



Jemand eine Idee dazu .... ?!



danke und gruss



lars






Mehr Informationen über die Mailingliste Postfixbuch-users