Mark Martinec wrote: > >> Oct 23 13:31:23 iscan1 amavis[22296]: [ID 702911 local1.info] (22296-01) >> p002 1/2 Content-Type: application/octet-stream, size: 64622 B, name: >> test.rar > > So the p002 part is of interest here. > Let's see what the file(1) utility makes of it: > >> Oct 23 13:31:24 iscan1 amavis[22296]: [ID 702911 local1.info] (22296-01) >> run_command: [22336] /usr/bin/file p001 p002 </dev/null 2>&1 > >> Oct 23 13:31:24 iscan1 amavis[22296]: [ID 702911 local1.info] (22296-01) >> result line from file(1): p002:\t\tdata > > It says 'data', not 'RAR archive data'. > So either the part is not a recognizable RAR archive, > or your file(1) utility is broken. > > RAR decoding would only be invoked on parts which the file(1) utility > recognizes as a RAR archive. (with the exception of executables > which are tested for being self-extracting archives).
Bingo. Thanks a ton Mark. Problem is that Solaris 10 doesn't have a "RAR archive" type declared in /etc/magic. I added the following to the end of this file: 0 string Rar! RAR archive data ...and things now seem to be working properly. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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/
