Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: normal excel file treated as application/x-msdownload type

  1. #1
    Join Date
    Nov 2005
    Posts
    96
    Rep Power
    9

    Default normal excel file treated as application/x-msdownload type

    Hi

    I tried to send an email from zimbra (3.1.1 network) with a xls attachment and to a domain and it got blocked by its amavis filter. In the mail log of the other domain with the amavis filter, it says "BANNED :application/x-msdownload". It seems to detect it as that kind of attachment rather than a xls file.

    Can someone verify this?

    Thanks.

    adrian

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Hi

    I only have the OSS edition installed but I can send .xls files internally and from an external account to my ZImbra server without problems, that would indicate to me it's not an amavis problem. In the tests I tried the xls file was received correctly and I could open it as a spreadsheet. Can't you check with the receiving server what their system is supposed to do with xls files? Perhaps they just ban xls attachments because they can contain macros?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Nov 2005
    Posts
    96
    Rep Power
    9

    Default

    Hi,

    The remote server is not a zimbra server but running amavis with the following configuration. Don't think they are blocking xls.

    ----------------------------------------------------------------------
    $banned_filename_re = new_RE(
    # qr'^UNDECIPHERABLE$', # is or contains any undecipherable components
    qr'\.[^.]*\.(exe|vbs|pif|scr|bat|cmd|com|dll)$'i, # some double extensions
    qr'[{}]', # curly braces in names (serve as Class ID extensions - CLSID)
    # qr'.\.(exe|vbs|pif|scr|bat|cmd|com)$'i, # banned extension - basic
    qr'.\.(ade|adp|bas|bat|chm|cmd|com|cpl|crt|exe|hlp |hta|inf|ins|isp|js|
    jse|lnk|mdb|mde|msc|msi|msp|mst|pcd|pif|reg|scr|sc t|shs|shb|vb|
    vbe|vbs|wsc|wsf|wsh)$'ix, # banned extension - long
    qr'.\.(mim|b64|bhx|hqx|xxe|uu|uue)$'i, # banned extension - WinZip vulnerab.
    # qr'^\.(zip|lha|tnef|cab)$'i, # banned file(1) types
    qr'^\.(lha|cab)$'i, # banned file(1) types
    qr'^\.exe$'i, # banned file(1) types
    qr'^application/x-msdownload$'i, # banned MIME types
    qr'^application/x-msdos-program$'i,
    qr'^message/partial$'i, # rfc2046. this one is deadly for Outcrook
    # qr'^message/external-body$'i, # block rfc2046
    );
    ----------------------------------------------------------------

    It labelled the xls file as application/x-msdownload in the mail.log file.

    adrian

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    I certainly can't see why that configuration would block the xls file, unfortunately I can't shed any light on the matter. Is there any macros (or anything else) in the spreadsheet that might cause the problem? Have you tried sending a test with just a simple calculation and see if that gets rejected/mis-classified?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    Nov 2005
    Posts
    96
    Rep Power
    9

    Default

    Hi,

    Actually it is a excel file with only text without any formulas... not to say macros.. just plain text in it.

    Can some zimbra technical staff verify? Somehow it is misclassified.

    adrian

  6. #6
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Yeah, it thinks its a binary executable.

    Does it have the proper extension (xls)?

  7. #7
    Join Date
    Nov 2005
    Posts
    96
    Rep Power
    9

    Default

    yeah...mine is a file with xls extension. Is it normal that it is being classified as an application?

    Is it a bug?

    adrian

  8. #8
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Are you only having this problem with this particular excel file, or all xls files in general?

    Also, what about other attachments?

  9. #9
    Join Date
    Nov 2005
    Posts
    96
    Rep Power
    9

    Default

    Hi,

    I tried with other attachments. All have this problem. Be it was created by OpenOffice Calc or Microsoft Excel.

    adrian

  10. #10
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Hi Adrian,
    I've been hunting around.

    Is this a new problem that has just popped up, or has it always existed?

Similar Threads

  1. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  2. centos 5 zimbra 4.5.6 no statistics
    By rutman286 in forum Installation
    Replies: 9
    Last Post: 08-14-2007, 09:30 AM
  3. Opensource backup Question.
    By nfear24 in forum Administrators
    Replies: 3
    Last Post: 03-31-2007, 11:47 PM
  4. Traslation SVN tree status
    By meikka in forum I18N/L10N - Translations
    Replies: 7
    Last Post: 02-13-2007, 10:13 AM
  5. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 12:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •