Hi there

i have a mail hanging in the queue with this error:

(host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=21148-02, 
parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: Error reading 
from 
file(1) utility: 9 at (eval 89) line 167, <GEN52> line 41. at (eval 89) line 
193. (in reply to end of DATA command)) 

it seems the mail contains an attach that /usr/bin/file utility is not able to 
decode

here it the starting part of mime attach

--Apple-Mail-5-268451097
Content-Disposition: attachment;
        filename="xxxx.xls"
Content-Type: application/vnd.ms-excel;
        x-mac-creator=5843454C;
        x-unix-mode=0755;
        x-mac-type=584C5338;
        name="xxxxxx.xls"
Content-Transfer-Encoding: base64

0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAACAAAAAAQAAAAAAAAAA
EAAA0z8AAAEAAABvNgAAAQAAAAAAAABCAAAAwwAAAEQBAADFAQAARgIAAMcCAABIAwAAyQMAAEoE
AADLBAAATAUAAM0FAABOBgAAzwYAAFAHAADRBwAAUggAANMIAABUCQAA1QkAAFYKAADXCgAAWAsA
[..snip..]


there are 3 parts in parts directory:
/var/lib/amavis/tmp/amavis-20090331T152844-21148/parts # ls -la        
total 8200                                                                      
                     
drwxr-x--- 2 amavis amavis    4096 Mar 31 15:29 .                               
                     
drwxr-x--- 3 amavis amavis    4096 Mar 31 15:28 ..                              
                     
-rw-r----- 1 amavis amavis     159 Mar 31 15:28 p001                            
                     
-rw-r----- 1 amavis amavis 8368128 Mar 31 15:29 p002                            
                     
-rw-r----- 1 amavis amavis     106 Mar 31 15:29 p003  

/var/lib/amavis/tmp/amavis-20090331T152844-21148/parts # file p002     
*** glibc detected *** file: free(): invalid next size (normal): 
0x00000000006241e0 ***              
======= Backtrace: =========                                                    
                     
/lib/libc.so.6[0x2ba39bc601b8]                                                  
                     
/lib/libc.so.6(cfree+0x76)[0x2ba39bc61cf6]                                      
                     
/usr/lib/libmagic.so.1(file_trycdf+0x190)[0x2ba39b7d0c50]                       
                     
/usr/lib/libmagic.so.1(file_buffer+0x1e1)[0x2ba39b7ce071]
/usr/lib/libmagic.so.1[0x2ba39b7c0426]
file[0x4012ba]
file[0x401c36]
/lib/libc.so.6(__libc_start_main+0xe6)[0x2ba39bc0c5a6]
file[0x400fe9]
======= Memory map: ========
00400000-00404000 r-xp 00000000 08:02 3293365                            
/usr/bin/file
00603000-00604000 rw-p 00003000 08:02 3293365                            
/usr/bin/file
00604000-00645000 rw-p 00604000 00:00 0                                  [heap]
2ba39b59e000-2ba39b5bb000 r-xp 00000000 08:02 37061748                   
/lib/ld-2.9.so
2ba39b5bb000-2ba39b5be000 rw-p 2ba39b5bb000 00:00 0
2ba39b5be000-2ba39b76d000 rw-p 00000000 08:02 3358843                    
/usr/share/file/magic.mgc
2ba39b76d000-2ba39b76e000 rw-p 2ba39b76d000 00:00 0
2ba39b7ba000-2ba39b7bb000 r--p 0001c000 08:02 37061748                   
/lib/ld-2.9.so
2ba39b7bb000-2ba39b7bc000 rw-p 0001d000 08:02 37061748                   
/lib/ld-2.9.so
2ba39b7bc000-2ba39b7d6000 r-xp 00000000 08:02 3277538                    
/usr/lib/libmagic.so.1.0.0
2ba39b7d6000-2ba39b9d6000 ---p 0001a000 08:02 3277538                    
/usr/lib/libmagic.so.1.0.0
2ba39b9d6000-2ba39b9d7000 rw-p 0001a000 08:02 3277538                    
/usr/lib/libmagic.so.1.0.0
2ba39b9d7000-2ba39b9ee000 r-xp 00000000 08:02 3277088                    
/usr/lib/libz.so.1.2.3.3
2ba39b9ee000-2ba39bbed000 ---p 00017000 08:02 3277088                    
/usr/lib/libz.so.1.2.3.3
2ba39bbed000-2ba39bbee000 rw-p 00016000 08:02 3277088                    
/usr/lib/libz.so.1.2.3.3
2ba39bbee000-2ba39bd37000 r-xp 00000000 08:02 37061749                   
/lib/libc-2.9.so
2ba39bd37000-2ba39bf37000 ---p 00149000 08:02 37061749                   
/lib/libc-2.9.so
2ba39bf37000-2ba39bf3b000 r--p 00149000 08:02 37061749                   
/lib/libc-2.9.so
2ba39bf3b000-2ba39bf3c000 rw-p 0014d000 08:02 37061749                   
/lib/libc-2.9.so
2ba39bf3c000-2ba39c004000 rw-p 2ba39bf3c000 00:00 0
2ba39c010000-2ba39c026000 r-xp 00000000 08:02 37060610                   
/lib/libgcc_s.so.1
2ba39c026000-2ba39c226000 ---p 00016000 08:02 37060610                   
/lib/libgcc_s.so.1
2ba39c226000-2ba39c227000 rw-p 00016000 08:02 37060610                   
/lib/libgcc_s.so.1
2ba3a0000000-2ba3a0021000 rw-p 2ba3a0000000 00:00 0
2ba3a0021000-2ba3a4000000 ---p 2ba3a0021000 00:00 0
7fff0f4f7000-7fff0f50c000 rw-p 7fff0f4f7000 00:00 0                      [stack]
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0                  [vdso]
p002: Aborted


there is something in excel attach that make /usr/bin/file abort

i fear i cannot do anything to solve this issue

tia
-- 
Maurizio Marini

------------------------------------------------------------------------------
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to