Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Nov 2003
    Posts
    17

    Default .eml attachments blocked

    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. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    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. #3
    Member
    Join Date
    Nov 2003
    Posts
    17

    Default

    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

Similar Threads & Tags
Similar threads

  1. Replies: 1
    Last Post: 06-29-2009, 08:36 AM
  2. Cpanel rejecting .eml attachments
    By jallen in forum E-mail Discussions
    Replies: 3
    Last Post: 05-02-2008, 09:58 AM
  3. .eml attachments rejected
    By tulsabobt in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-08-2005, 04:14 PM
  4. *.mdb attachments blocked
    By vivo2341 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-12-2004, 10:07 AM
  5. exim blocking .eml attachments
    By AbeFroman in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-01-2002, 10:05 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube