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.

Viruses bounce

Discussion in 'General Discussion' started by elleryjh, Apr 27, 2004.

  1. elleryjh

    elleryjh Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    479
    Likes Received:
    0
    Trophy Points:
    16
    Right now, mailscanner bounces virues, which is ridiculous because 99% of the viruses have forged "From" headers, plus it creates even more bounces for those emails that are invalid.

    How do I disable bouncing?
     
  2. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    38
    Do you really think you are the first person to ask about this?

    I know I have answered this question at least once (probably twice) just this month.

    Search is your friend. Please use it. That way if you encounter a problem with the solution then your follow-up can benefit everyone and not just the people that happen across YOUR version of the question.
     
  3. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    Disable the bounce message in /usr/mailscanner/etc/MailScanner.conf
     
  4. elleryjh

    elleryjh Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    479
    Likes Received:
    0
    Trophy Points:
    16
    That file was the first place I looked. I also did a lot of searching on this. I found this question asked a few times, but never with a straight answer. I couldn't find anything in /usr/mailscanner/etc/MailScanner.conf about bouncing viruses.

    Virus Scanning = yes
    Virus Scanners = clamav
    Virus Scanner Timeout = 300
    Deliver Disinfected Files = yes
    Silent Viruses = HTML-IFrame Klez Yaha-E Bugbear Braid-A WinEvar Palyh Sobig Fizzer
    Still Deliver Silent Viruses = yes
    Block Encrypted Messages = no
    Block Unencrypted Messages = no


    Does anyone know exactly what to change.
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It's the Notify directives that you need to change:

    Notify Senders = no
    Notify Senders Of Viruses = no
    Notify Senders Of Blocked Filenames Or Filetypes = no
    Notify Senders Of Other Blocked Content = no

    If you set the first one to no, the others are ignored, and not sent to whatever the value. Once changed:

    killall MailScanner
    wait a minute
    /usr/mailscanner/bin/check_mailscanner
     
  6. elleryjh

    elleryjh Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    479
    Likes Received:
    0
    Trophy Points:
    16
    Thank you, chirpy:)
     
  7. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    38
    I guess it is all a matter of search terms. My search on "virus notice email" returned 6 results which included the answer mentioned above.

    My apologies elleryjh, I lied when I said I had answered the question at least once this month. I haven't answered that one this month (last month was the last time). I have only directed people to my older replies.

    Maybe this can be added to the FAQ? Thought should also be given to making no notification the default in the cPanel distribution.
     
  8. cass

    cass Well-Known Member

    Joined:
    Jul 17, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Argentina/USA/Mexico
    Let see...

    I would like to notify MY CLIENTS if any file type is blocked or virus found...
    but I dont want to send mails OUT of the server sending lots of mails notifying possible not existent mails ... so I dont care for others, but for my clients (or the users of the server).

    It's possible to do this ? just notify local users but not outside ?


    Regards.
     
  9. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Your users will be notified so long as you have both of these settings set to yes:

    Mark Infected Messages = yes
    Deliver Cleaned Messages = yes

    The settings that I mentioned previously block bounces back to the sender.
     

Share This Page