Jason, First of all thanks for writing and supporting some really great software.
Next I have included some patches I have been working on. Hopefully they're not too broken as I haven't done any Perl in a while. The first adds support for ripmime (http://pldaniels.com/ripmime/) instead of reformime as a configure option. This is based on a patch written by MURATA Nobuhiro and sent to the list in November last year. It defaults to the current behaviour, but adds the option --mime-unpacker which can be either ripmime or reformime. If you specify ripmime it also doesn't look for tnef as ripmime includes tnef support. The second patch adds support for Bitdefender (http://www.bitdefender.com/) which is free for Linux. The code is not particularly elegant, I had a few problems getting rid of the control characters in the output from the scanner. There are a couple of things that need changing to get Bitdefender to work. The configuration file (by default: /usr/local/bd7/shared/bdc.ini) has a line specifying which extensions to scan, I changed this to: Extensions = *; You also need to do make sure the permissions on bdc files are readable by qmailq, especially the contents of the Plugins directory. The third patch is a combination of the two patches above. This has all been tested on a Redhat 7.3 development box, but only with the eicar test virus. Also, I reported about 6 weeks ago a problem with the quarantine-attachments.db file, when there were multiple header entries with the same first string eg. .{100,} Virus-Date: MIME Header Buffer Overflow .{100,} Virus-Mime-Version: MIME Header Buffer Overflow .{100,} Virus-Resent-Date: MIME Header Buffer Overflow only the last entry was actually added. That was under Redhat 6.2, this seems to work fine under Redhat 7.3. If there are any problems with the patches, let me know. Chris Hine --- Technical Support Océ (UK) Ltd. Langston Road Loughton Essex Telephone: 020-8498 6020 Fax: 020-8498 6390 ********************************** Océ (UK) Ltd does not accept any contractual or other legal liability for the contents of this e-mail and any attachments. They are confidential to the addressee. Unauthorised access and use is prohibited. ********************************** Registered office: Langston Road, Loughton, Essex IG10 3SL. Registered in England No 235241 Ultimate holding company: Océ N.V, Venlo, The Netherlands
bdc+ripmime-support.patch
Description: Binary data
bdc-support.patch
Description: Binary data
ripmime-support.patch
Description: Binary data