* Christian Roessner <c...@roessner-network-solutions.com>:
> > If you do that for one domain or domains where everything should be
> > treated the same, you are fine. It becomes messy the moment you need to
> > define different policies for different domains. Doable, but messy.
> > 
> Well, if I do understand you, I would say that for this case you might want
> define different polcies in an SQL server or even use LDAP.

Nope. I am the file guy. No network involved. I use cfengine to distribute.
YOU are the LDAP guy. ;)


> >> Ah, finallly forgot one thing concerning policy_banks: If it would be able
> >> to define a policy_bank that can be inherited in others that would be cool
> >> :-)
> > 
> > Are you aware amavis can stack policy banks?
> > 
> I do not know that. I wished, it could :)

Look at the example in RELEASE_NOTES. Test it and amavis will execute both
policies VIRUS and MASS_VIRUS in order specified:

    @virus_name_to_policy_bank_maps = (
      new_RE(  # a regexp lookup
        [ qr'^(W32/MyDoom|W32/Netsky|Mal/BredoZp)' => 'VIRUS,MASS_VIRUS' ],
        [ qr'\bEICAR\b'i => 'EICAR_TEST' ],
      ),
      'VIRUS',  # constant (pseudo)lookup, catchall for any other virus name
    );


> Btw: enjoy the holidays

Now that you mentioned it... :)

p...@rick

-- 
All technical questions asked privately will be automatically answered on the
list and archived for public access unless privacy is explicitely required and
justified.

saslfinger (debugging SMTP AUTH):
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot 
org

Reply via email to