Andrea,

> I install postfix and amavisd-new-2.4.1-2
> I would like to put in amavisd.conf this policy_bank
> $policy_bank{'FET'} = {
>   warnvirusrecip => 1,
>    final_virus_destiny => D_BOUNCE,
> };
> but in my log I receive this message:
> amavis[4224]: (!) loading policy bank "FET": unknown field
> "warnvirusrecip".

> OK, it can be, but what can I put in policy bank?

$policy_bank{'FET'} = {
  warnvirusrecip_maps => [1],
  final_virus_destiny => D_BOUNCE,
}

> Is it possible to have a list?

A list of recipient which want recipient notifications?
Yes, the warnvirusrecip_maps is a list of lookup tables,
each may be hash lookups or regexp lookups or list (ACL) lookup
tables, see README.lookups. For example:

$policy_bank{'FET'} = {
  warnvirusrecip_maps => [
    read_hash("/etc/amavisd/wants-notifications.txt"),
  ],
  final_virus_destiny => D_BOUNCE,
}


See also amavisd.conf-sample for similar examples of
assignments to *_maps variables.

  Mark

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to