Hi Mark,

some users here did send defective tar Archives. They archived a
directory with a symlink showing into another directory which is not in
the archive.

The problem now:  amavisd has problems checking this archive and fills
up the disk with temporary folders.

The error message:

host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing,
id=07803-09, virus_scan FAILED: AV: File
"/var/amavis/tmp/amavis-20090901T105405-07803/parts/arch/accuracy-eps"
inaccessible: Permission denied at /usr/sbin/amavisd line 2632. (in
reply to end of DATA command)

The archive looks like that:

klaus.steinber...@rglaptop6:~/test$ zcat
../Desktop/detach_queue\(4\).cgi | pax -v
-rw-r--r--  1 11136                            10000      31744 Aug 27
11:14 pmq.tex
lrwxrwxrwx  1 11136                            10000          0 Jun  9
09:04 accuracy.eps => ../sub2/accuracy.eps
-rw-r--r--  1 11136                            10000     536416 Aug 27
10:19 adHOMFC.eps
-rw-r--r--  1 11136                            10000     110189 Aug 27
10:18 adjustment.eps
-rw-r--r--  1 11136                            10000      34181 Aug 27
10:18 design.eps
-rwxrwxrwx  1 11136                            10000     480731 Aug 27
06:56 mami.eps
-rw-r--r--  1 11136                            10000      52055 Aug 27
10:20 measurement.eps
-rw-r--r--  1 11136                            10000     728846 Aug 27
10:19 ring.eps
-rw-r--r--  1 11136                            10000     261730 Aug 27
10:19 schema.eps
pax: ustar vol 1, 9 files, 2252800 bytes read, 0 bytes written.
klaus.steinber...@rglaptop6:~/test$


Note the link from accuracy.eps to ../sub2


How can we patch amavisd to ignore such dead symlinks? (2.6.4 is running
here).

Sincerly,
Klaus

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
AMaViS-user mailing list
[email protected] 
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