JC, > I posted this to the SA ML and they suggested me to post here, so: > > I'm currently testing RHEL4 + SA 3.0.4 + amavisd-new > (2.3.2-1.2.el4.rf) + Postgrey + Postfix (2.2.5-3.rhel4). > > While running amavisd in 'sa-debug' mode, whenever I send a mail with > a binary file I receive the following message: > > LHa: Warning: Checksum error (LHarc file?) Inappropriate ioctl for device
It is most likely that the 'Checksum error' part is genuine and the 'Inappropriate ioctl for device' part of the message is bogus. For all executables the subroutine do_executable tries the following decoders in turn: unzip, unrar, lha - in an attempt to decode even self-extracting executables. In most cases it turns out the executable is a plain executable, not a SFX archive, so all three attempts fail because the files is not sfx zip, nor sfx rar, and nor sfx lha archive. These decoding attempt can provoke a warning from decoders, which complain the given file is not their type of archive - and rightfully they may complain. So this is all normal and part of the design. It has always been like that, since early days of AMaViS. Mark ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ 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/
