Re: Reject emails with viruses and send notification to intended recipients.
Tore Anderson <[email protected]>
| Newsgroups | gmane.mail.exim.exiscan.user |
|---|---|
| Organization | Linpro AS |
| Message-ID | <[email protected]> |
* [email protected] > I use exim 4.41 + exiscan patch 24 on FreeBSD 4.10. I use ClamAV > 0.75.1 as my virus scanner.. > > At the moment I redirect any email where a virus has been detected > to a special admin account. > I woould now like to alter the behaviour so that the email is > rejected and the intended recipients are notified of the rejection. > > I have searched the archives and googled but can find nothing that > seems relevant. > > Can anyone help please? As Ken has pointed out, these notifications has little or no value nowadays. If you insist, however, I think you should be able to accomplish this by using the 'fakereject' verb after having added a magic header (using 'warn'). Then you could look for that header in one of the first routers, and send it off to an 'autoreply' transport. Never tried it practice though. -- Tore Anderson