Submitted by arjones85 on Fri, 11/13/2009 - 00:30
Within the Module Config - Default delivery for spam, you can "Deliver normally". I would like to see that option also for detected viruses, and have the ability to re-write the subject of the email with VIRUS just like spam is re-written with SPAM.
Also.... I noticed that when a virus is detected, the message delivery is not logged to procmail.log. Not sure if that is by design or not.
Status:
Active
Comments
Submitted by JamieCameron on Fri, 11/13/2009 - 03:06 Comment #1
That would be nice, but unfortunately isn't simple to implement .. the clamav virus scanner Virtualmin uses has no way of changing the subject or contents of an email.
Since it is pretty much always correct when it detects a virus, it is safe to just delete detected messages anyway..
Submitted by arjones85 on Fri, 11/13/2009 - 09:43 Comment #2
Yeah I know... that just goes back to the problem of the receiver never knows they got an email deleted, and I don't like that.
I would enable email deletion if we had an option of generating a message when the email was deleted that was dropped in the person's inbox saying "Hey, I deleted an email from steve@virus.com to you. It contained an attachment named virus.zip and was detected to have the Win32.Pwnage virus". Maybe another feature request? =)
Also some of the folks I host email for will never bother to even look at the "virus" folder, hence why I was trying to get an option of delivering it to their inbox with a rewrite subject instead. Maybe instead keep it being delivered to their virus folder, or deleted, but have that option I mentioned above? Would that be possible?
Submitted by JamieCameron on Fri, 11/13/2009 - 12:43 Comment #3
I can see how adding VIRUS to the subject would be nice .. unfortunately, actually implementing it would be complex as ClamAV lacks the ability to do this :-(
Most users either delete viruses outright, or keep a separate virus folder. Virtualmin can even be setup to automatically clear old messages from that folder, so they don't stay around taking up space forever..
Submitted by arjones85 on Fri, 11/13/2009 - 14:09 Comment #4
Yeah, I understand that you said you can't have a subject rewrite... but is it somehow possible to have a separate message delivered to their inbox saying they had a virus email deleted/dropped in their virus folder?
Submitted by JamieCameron on Fri, 11/13/2009 - 15:08 Comment #5
Sadly, that isn't really simple to do either ..
Submitted by arjones85 on Fri, 11/13/2009 - 16:11 Comment #6
sigh
None of my ideas are simple =(
Submitted by JamieCameron on Fri, 11/13/2009 - 17:47 Comment #7
Yeah, there are unfortunately limits on what can be done using the procmail mail filter that Virtualmin uses internally..