Hi,
there is no notify mail for mails are claimed from the filename rule "Bad content" in the quarantine.
I need a notify mail to the users. So a admin can release the requested Mail.
Please help
Bad Content - user notify mail
- shawniverson
- Posts: 3644
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Bad Content - user notify mail
You would need to enable this setting since the report is an attachment to the original message, and the cleaned message is not being delivered.
Note that enabling this causes spam checks to be bypassed, which is why it is off by default. So, if you get a lot of emails with viruses attached, for example, your users may receive a lot of junk with viruses stripped off.
/etc/MailScanner/MailScanner.conf
Restart MailScanner
Another solution to make this work a little better would be to define a rule set and list the domains from which you want to deliver cleaned messages.
Note that enabling this causes spam checks to be bypassed, which is why it is off by default. So, if you get a lot of emails with viruses attached, for example, your users may receive a lot of junk with viruses stripped off.
/etc/MailScanner/MailScanner.conf
Code: Select all
Deliver Cleaned Messages = Yes
Code: Select all
sudo service MailScanner restart
Re: Bad Content - user notify mail
Yes, but i need this in a special usecase.
Thanks for your help.
Thanks for your help.
Re: Bad Content - user notify mail
i have enabled it, but no notfiy mail was sent to the user.
what could i do? is there a log file for this?
edit:
maillog
do i have to enable "deliver silent virus"?
what could i do? is there a log file for this?
edit:
maillog
Code: Select all
Jul 7 14:40:41 mail MailScanner[30292]: New Batch: Scanning 1 messages, 51995 bytes
Jul 7 14:40:41 mail MailScanner[30292]: Virus and Content Scanning: Starting
Jul 7 14:40:41 mail MailScanner[30292]: Clamd::INFECTED::Heuristics.OLE2.ContainsMacros :: ./5E1A9100299.A3B3C/
Jul 7 14:40:41 mail MailScanner[30292]: Clamd::INFECTED:: Heuristics.OLE2.ContainsMacros :: ./5E1A9100299.A3B3C/2CCE78A8917F$
Jul 7 14:40:41 mail MailScanner[30292]: Clamd::INFECTED:: Heuristics.OLE2.ContainsMacros :: ./5E1A9100299.A3B3C/vbaProject.b$
Jul 7 14:40:42 mail MailScanner[30292]: Virus Scanning: Clamd found 3 infections
Jul 7 14:40:52 mail MailScanner[30292]: Infected message 5E1A9100299.A3B3C came from 148.251.96.162
Jul 7 14:40:52 mail MailScanner[30292]: Virus Scanning: Found 3 viruses
Jul 7 14:40:52 mail MailScanner[30292]: Viruses marked as silent: Clamd: message was infected: Heuristics.OLE2.ContainsMacr$
Jul 7 14:40:52 mail MailScanner[30292]: Saved entire message to /var/spool/MailScanner/quarantine/20160707/5E1A9100299.A3B3C
Jul 7 14:40:52 mail MailScanner[30292]: Saved infected "2CCE78A8917F6.docm" to /var/spool/MailScanner/quarantine/20160707/5E$
Jul 7 14:40:52 mail MailScanner[30292]: Saved infected "vbaProject.bin" to /var/spool/MailScanner/quarantine/20160707/5E1A91$
Re: Bad Content - user notify mail
Hi,
Ever fixed this? I have the exact same problem. But if I set deliver Silent Viruses then my users are getting the attachment, that should have been removed.
Kinda lost here,
Grtz
Ever fixed this? I have the exact same problem. But if I set deliver Silent Viruses then my users are getting the attachment, that should have been removed.
Kinda lost here,
Grtz