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.

Allowing dangerous attachments on a per user basis

Discussion in 'E-mail Discussions' started by n000b, Nov 13, 2007.

  1. n000b

    n000b Well-Known Member

    Joined:
    Apr 7, 2005
    Messages:
    142
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    Does anyone know how to disable exim's attachment blocking on a per user basis? One of my users does not want it active. I saw a post by someone (not on here) that it is possible but he didn't explain how to do it.

    Thanks :)
     
  2. n000b

    n000b Well-Known Member

    Joined:
    Apr 7, 2005
    Messages:
    142
    Likes Received:
    0
    Trophy Points:
    16
    *bump*

    Anyone?
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,451
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Are you speaking of mailscanner?
     
  4. Amit Deshmukh

    Amit Deshmukh Well-Known Member

    Joined:
    Jul 1, 2007
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    Disable Attachment Blocking

    To disable the executable-attachment blocking that many Cpanel servers do by default but don't provide any controls for on a per-domain basis, add the following block to the beginning of the /etc/antivirus.exim file:

    if $header_to: matches "example\.com|example2\.com"
    then
    finish
    endif

    It is probably possible to use a separate file to list these domains, but I haven't had to do this enough times to warrant setting such a thing up.

    Thank you,
    Amit
     
  5. n000b

    n000b Well-Known Member

    Joined:
    Apr 7, 2005
    Messages:
    142
    Likes Received:
    0
    Trophy Points:
    16
    Thanks! Will doing that stop filtering in all files that are executed after antivirus.exim? Or will that code (executing "finish") just jump to the end of the current file?

    And one other question, is this e-mail filter performed on outgoing e-mails, or only on incoming e-mails?
     
Loading...
Similar Threads - Allowing dangerous attachments
  1. Dan Woller
    Replies:
    2
    Views:
    65

Share This Page