Re: Do not issue temporary reject when spamd is un available.
Chris Lear <[email protected]> Mon, 16 May 2005 16:54:43 +0100
| Newsgroups | gmane.mail.exim.exiscan.user |
|---|---|
| Message-ID | <[email protected]> |
* Mike Oliveri wrote (05/16/05 16:15):
>>>>However, I now notice that if exiscan cannot contact spamd, it issues
>>>>a temporary rejection. Can I change that?
>>>
>>>spam = xxxx/defer_ok
>
> Does anyone know if this can be tied to a conditional situation?
>
> Specifically, I use the encrypted scanning done header from the Exiscan
> docs to prevent re-scanning when a message is passed from my mail
> gateway (Server A) to my main mail server (Server B). However, Server A
> has been experiencing a heavy load lately, causing mail delays.
>
> What I would like to do is put the defer_ok in Server A to prevent the
> temporary deny as discussed in this thread, however, in that situation I
> would rather NOT put the scanning done header on messages that have been
> deferred so Server B will scan the message. Is this possible?
>
I have something like this:
# Reject viruses
deny message = Rejected mail: This message appears to contain a virus
($malware_name).
malware = */defer_ok
# checked header
warn message = X-AntiVirus: Clean
!malware = *
The idea is that if there's a virus it's rejected; if the scanner ran
and it found nothing, there's an "X-AntiVirus: Clean" header; and if the
antivirus defers there are no headers. I *think* it works correctly.
A similar sort of thing should (or might) work for the spam condition.
--
Chris