ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000122ClearOSapp-mail-antivirus - Mail Antiviruspublic2010-08-11 06:052019-03-11 07:06
Reportertimb80 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product Version5.2 
Target VersionFixed in Version 
Summary0000122: Office 2007 files get caught by amavisd as multipart with binary attachments
DescriptionSee the forum threads for details
http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,14/func,view/id,15627/#15633 [^]
http://ccforums.clearfoundation.com/showflat.php?Cat=0&Board=email&Number=121623&Searchpage=1&Main=121623&Words=%26quot%3Boffice+2007%26quot%3B&topic=&Search=true#Post121623 [^]

you can also prevent this by removing the block for binary extensions but this opens up a bit of a security hole so opted to pass extensions with xlsx, docx and pptx (formats which don't contain macros)
Additional InformationWork around is

Create a file called /etc/amavisd/override.conf containing:-

$banned_filename_re = new_RE(
  [ qr'(\.xlsx|\.docx|\.pptx)$' => 0 ], # allow MS Office 2007 plain files
);

Then run 'service amavisd restart'
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0010621)
NickH (developer)
2019-03-11 07:06

Migrated to: https://gitlab.com/clearos/clearfoundation/app-mail-antivirus/issues/2 [^]

- Issue History
Date Modified Username Field Change
2010-08-11 06:05 timb80 New Issue
2010-08-16 16:12 user2 Status new => confirmed
2010-08-25 09:34 user2 Severity minor => feature
2019-03-11 07:06 NickH Note Added: 0010621
2019-03-11 07:06 NickH Status confirmed => closed
2019-03-11 07:06 NickH Resolution open => suspended