Mailing List Message #92749
From: Stefan Seiz <>
Subject: Re: Processing server wide rules when email comes from certain host
Date: Wed, 26 Sep 2007 18:56:54 +0200
To: CommuniGate Pro Discussions <>
On 26.09.2007 18:47 Uhr, Urban Loesch <> wrote:

> Hi,
> I try to implement a rule, that my external helper (ClamAv) does not
> scan for viruses if mail comes from 2 certain hosts.
> I tried the following rule.
> Data:
> Submit Address --> is not --> SMTP [], SMTP[]
> Action
> ExternalFilter --> virusscanner
> The problem is, the rule does not work correctly. The rule redirects all
> messages through
> the virusscanner.
> If I only use "SMTP []" in the rules condition it works
> normally. But so I have the problem that
> mails only will not be scanned when they come from IP "".
>  From IP "" they
> will be redirected through the external helper.
> Have you any idea how can I implement this?

You need to change "is not" with "not in", then it'll work.

The "is not" operator will only match against one Parameter whereas "not in"
will match against a comma separated list. AFAIK there shouldn't be a SPACE
after the comma, so the rule should look like:

Submit Address -> NOT IN -> SMTP [],SMTP[]

Stefan Seiz <>
Spamto: <>

Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster