[Postfixbuch-users] Probleme mit amavis - main::stdin

Jerome Reinert postfix at sanux-systems.de
Do Nov 30 18:15:18 CET 2006


Hallo Liste

Amavis will nicht so, wie es sollte. Postfix läuft ohne amavis wie geschmiert. 

####################################
Mailen quittiert folgenden Fehler ins amavis log file  
Nov 30 17:42:44 alpha amavis[19291]: (19283-01) run_command: child process 
[19291]: Can't close main::stdin: Bad file descriptor at /usr/sbin/amavisd 
line 1633.\n
Nov 30 17:42:44 alpha amavis[19283]: (19283-01) TROUBLE in check_mail: 
mime_decode-1 FAILED: parsing file(1) results - missing last 1 results at 
(eval 58) line 156.

in der Queue sieht es so aus, hängt also fest
#mailq
E764FC2288B      434 Thu Nov 30 17:42:43  name at irgendwoher.de
(host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=19283-01, 
mime_decode-1 FAILED: parsing file(1) results - missing last 1 results at 
(eval 58) line 156. (in reply to end of DATA command))
                                         webmaster at alpha.domain.de


#relevanter Teil der master.cf
localhost:10025      inet  n       -       n       -       -       smtpd -o 
content_filter=
smtp-amavis     unix    -       -       n       -       2       smtp
        -o smtp_data_done_timeout=1800
        -o disable_dns_lookups=yes

#eintrag in main.cf
content_filter = smtp-amavis:[127.0.0.1]:10024

#netstat -tulpen
tcp        0      0 127.0.0.1:10024         0.0.0.0:*               LISTEN      
0          64557      19345/amavisd
tcp        0      0 127.0.0.1:10025         0.0.0.0:*               LISTEN      
0          52587      15303/master
tcp        0      0 127.0.0.1:3310          0.0.0.0:*               LISTEN      
65         48037      14279/clamd
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      
0          52579      15303/master

#amavisd foreground
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Perl version               
5.008006
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Module Amavis::Conf        
2.034
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Module Archive::Tar        
1.30
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Module Archive::Zip        
1.18
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Module BerkeleyDB          
0.26
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Module Compress::Zlib      
2.001
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Module Convert::TNEF       
0.17
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Module Convert::UUlib      
1.06
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Module DBI                 
1.47
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Module DB_File             
1.810
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Module MIME::Entity        
5.420
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Module MIME::Parser        
5.420
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Module MIME::Tools         
5.420
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Module Mail::Header        
1.74
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Module Mail::Internet      
1.74
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Module Mail::SpamAssassin  
3.001007
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Module Net::Cmd            
2.26
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Module Net::DNS            
0.48
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Module Net::SMTP           
2.29
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Module Net::Server         
0.94
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Module Time::HiRes         
1.65
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Module Unix::Syslog        
0.99
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Amavis::DB code        loaded
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Amavis::Cache code     loaded
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Lookup::SQL code       NOT 
loaded
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Lookup::LDAP code      NOT 
loaded
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: AMCL-in protocol code  loaded
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: SMTP-in protocol code  loaded
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: ANTI-VIRUS code        loaded
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: ANTI-SPAM  code        loaded
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Unpackers  code        loaded
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Found $file       
at /usr/bin/file
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: No $arc,          not using it
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Found $gzip       
at /usr/bin/gzip
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Found $bzip2      
at /usr/bin/bzip2
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: No $lzop,         not using it
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Found $lha        
at /usr/bin/lha
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Found $unarj      
at /usr/bin/unarj
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Found $uncompress 
at /usr/bin/uncompress
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: No $unfreeze,     not using it
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Found $unrar      
at /usr/bin/unrar
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Found $zoo        
at /usr/bin/zoo
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: No $pax,          not using it
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Found $cpio       
at /usr/bin/cpio
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Found $ar         
at /usr/bin/ar
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Found $rpm2cpio   
at /usr/bin/rpm2cpio
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: No $cabextract,   not using it
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: No $ripole,       not using it
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: No $dspam,        not using it
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Using internal av scanner code 
for (primary) ClamAV-clamd
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Found secondary av scanner 
ClamAV-clamscan at /usr/bin/clamscan
Nov 30 17:51:26 alpha /usr/sbin/amavisd[19358]: Creating db 
in /var/spool/amavis/db/; BerkeleyDB 0.26, libdb 4.3

##################################################

Bis jetzt konnte ich mir immer selbst bzw. mittels Internet helfen, aber bei 
dem Fehler ist mein Latein am Ende. Die Maschine ist eine SuSE 9.3 64bit.

Vielen Dank im Voraus

Jerome Reinert



Mehr Informationen über die Mailingliste Postfixbuch-users