The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

.eml attachments blocked

Discussion in 'E-mail Discussions' started by wilburburns, Sep 18, 2008.

  1. wilburburns

    wilburburns Member

    Joined:
    Nov 3, 2003
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    It appears as though SpamAssassin and Exim are blocking certain e-mail attachment.

    Most specifically at this time, the file type being blocked are .eml . Cn this setting be changed or modified based on a specific account.

    Additionally, Where can I find a list of all blocked Attachment File Types.

    Currently, these File Types are being blocked incoming and outgoing.

    Cliff
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    It should be noted these files are blocked as they almost always contain malware. Typically, people will forward emails rather than attach an email as an attachment to an email, a very abnormal practice.

    However, this can be changed. By default, the filter file is /etc/cpanel_exim_system_filter but you can verify if this is the case on your server by going to WHM -> Service Configuration -> Exim Configuration Editor and viewing the setting for "System Filter File."

    In the default file, you will come across a line that looks like

    Code:
    if $header_content-type: matches "(?:file)?name=(\"[^\"]+\\\\.(?:ad[ep]|ba[st]|chm|cmd|com|cpl|crt|eml|exe|hlp|hta|in[fs]|isp|jse?|lnk|md[be]|ms[cipt]|pcd|pif|reg|scr|sct|shs|url|vb[se]|ws[fhc])\")"
    
    Notice the eml in there? Properly removing it should allow .eml attachments through. However, realize that doing so is potentially a security risk to your users.
     
  3. wilburburns

    wilburburns Member

    Joined:
    Nov 3, 2003
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    I completely Agree, Disabling this System Wide is quite dangerous. However, I would consider making this change for a single account if it was possible.

    Thanks for the Quick Response

    Cliff
     
Loading...

Share This Page