Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member rs-freddo's Avatar
    Join Date
    May 2003
    Location
    Australia
    Posts
    836
    cPanel/Enkompass Access Level

    Root Administrator

    Default Can Exim autodelete attachments per domain

    I used to use Sanitizer with procmail on Ensim. Basically sanitizer uses procmail rules to delete all .exe, .scr etc attachments on emails. It also removes webbugs, a function i sorely miss.

    Does anyone know how to setp Exim rules, to delete types of attachments (ie .exe and .scr, .pif etc) on a per domain basis?

    cPanel.net Support Ticket Number:
    Michael

  2. #2
    Member
    Join Date
    Nov 2002
    Location
    Canada
    Posts
    184

    Default Re: Can Exim autodelete attachments per domain

    Hi freddo,

    You can do this via the /etc/antivirus.exim file. This post shows code that will remove the email completely. I'm using it now and can confirm it works. If you want a message to go back to the sender letting them know their message was rejected, you can add a "fail text" entry.

    http://forums.cpanel.net/showthread....4732#post64732

    If you need other attachments removed, maybe you can modify this code to suit your needs.

    cPanel.net Support Ticket Number:

  3. #3
    Member rs-freddo's Avatar
    Join Date
    May 2003
    Location
    Australia
    Posts
    836
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Excellent!

    Thank you very much.

    cPanel.net Support Ticket Number:
    Michael

Similar Threads & Tags
Similar threads

  1. Block email attachments by domain by SpammAssassin
    By cPanelDavidG in forum Feature Requests for cPanel/WHM
    Replies: 7
    Last Post: 07-30-2010, 02:09 PM
  2. Replies: 1
    Last Post: 06-29-2009, 08:36 AM
  3. Attachments in Exim
    By vanessa in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-01-2008, 03:36 PM
  4. Exim and e-mail attachments
    By Oriso in forum cPanel and WHM Discussions
    Replies: 15
    Last Post: 08-23-2005, 08:44 PM
  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