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.

antivirus.exim

Discussion in 'General Discussion' started by SACHIN, Jan 10, 2007.

  1. SACHIN

    SACHIN Guest

    HI,


    i Have enabled antivirus.exim it is for gloabl filter.

    if i would like to allow perticuler domain without this filter is it possible?
    antivirus.exim rules should discard or delete or reject mails of perticuler domain name
    how can i do this?
     
  2. mohit

    mohit Well-Known Member

    Joined:
    Jul 12, 2005
    Messages:
    553
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sticky On Internet
    hi,
    i see you are asking two question different from each other.

    Do you want to allow some domain to bypass the filter and get all mails ?
    Do You wish to discard all incoming mails on a domain ?

    if you want to bypass "antivirus.exim" there's a bypass command mentioned in the thread explaining the antivirus.exim here.

    if you want to completely discard emails on a domain, why not close all mail accounts on that domain, accepting mails and then filtering with this central filter is waste of time/resource.

    See ya,
    mohit
     
  3. SACHIN

    SACHIN Guest

    HI,


    I would like to bypass antivirus.exim only.


    #!!# message_filter renamed system_filter
    system_filter = /etc/antivirus.exim
    message_body_visible = 5000

    where should enter domain name for bypass antivirus.exim filter?


    Thank you,
     
  4. khoonchee

    khoonchee Well-Known Member
    PartnerNOC

    Joined:
    Oct 2, 2002
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    Have you figure this out? I am looking for this as well
     
  5. ramprage

    ramprage Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    667
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    Could you not do something like:

    Create /etc/antivirus_whitelist

    Put the domains in this file:


    At the top of exim box in WHM.

    hostlist antivirus_whitelist = lsearch;/etc/antivirus_whitelist


    Then check for

    system_filter = /etc/antivirus.exim


    Then add below it.
    !hosts = +antivirus_whitelist



    NOT tested, just a suggestion




    Edit: that doesn't work:

    Exim configuration error in line 128 of /etc/exim.conf:
    option setting expected: !hosts = +antivirus_whitelist
     
    #5 ramprage, Jan 24, 2007
    Last edited: Jan 24, 2007
  6. ramprage

    ramprage Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    667
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    I tried a bunch of other central_filter settings and even a nested if/else statement in the antivirus.exim file but nothing seemed to work. If I were to spend some more time on it I'm sure I could figure it out for you.
     
  7. Un Area

    Un Area Well-Known Member

    Joined:
    Nov 16, 2006
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    We use antivirus.exim to block "stock spam" (the readable ones, not image spam) with success. If anyone likes the rule just send a PM.

    Thanks
     
  8. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    why PM you .... are they top secret :p

    Mickalo
     
Loading...

Share This Page