Skip to main content

Don't reject mails when viruses are found

Comments

3 comments

  • cPRex Jurassic Moderator
    Hey there! If you're sending a message out, I would expect this to be handled at the recipient end and not on your server, unless you also have scanning turned on for outgoing messages. Do you have a log of this type of mail transaction showing the issue? If so, you can paste that here, but just remove any public details such as the domain name or IP address.
    0
  • chrismfz
    Sorry didn't clarified that, I meant our (cPanel) end. Receiving messages. I just used "I am sending" as an example (Let's say better, I am sending an example mail to a cPanel server then :-) ) If someone sends something to a cPanel server and contains a virus or something that looks like a virus (false positive), it gets deferred. It never touches inbox or spambox. Customer never knows about it. Just like the code I wrote: The default default_exiscan has a deny / defer message: deny message = This message contains a virus or other harmful content ($malware_name) malware = */defer_ok warn log_message = Message has been scanned: no virus or other harmful content was found And I was wondering if there is a way NOT to defer those messages when they are coming to the cPanel server. Make them pass, with a warning, like the clamav signature found, or/and deleting the viruses and leave the rest mail to come in. For example, ESETS Linux Mail Scanner does that when I use it as a ROUTE/TRANSPORT in exim.conf, deletes the virus/malware and delivers the mail without it with a footer warning of what it erased and why. But Clam-Exim instantly denies the mail and nothing passes. I believe there is a way I just didn't find it yet.
    0
  • cPRex Jurassic Moderator
    Thanks for the additional details. I'm not seeing a value that wold perform exactly that work when I check the available settings here:
    0

Please sign in to leave a comment.