syntax read_hash

Martin Johannes Dauser mdauser at cs.sbg.ac.at
Mon Aug 12 18:09:42 CEST 2019


On Mon, 2019-08-12 at 16:59 +0200, Ralph Seichter wrote:
> Besides, that's not the correct syntax for Amavis::Util::read_hash.
> You can find proper examples in amavisd.
> 
> -Ralph

Hi Ralph!

like 
read_hash(\%whitelist_sender, '/etc/amavis/whitelist');
?!

or  

$per_recip_whitelist_sender_lookup_tables = {
  '.my1.example.com' => read_hash({},'/var/amavis/my1-example-com.wl'),
  '.my2.example.com' => read_hash({},'/var/amavis/my2-example-com.wl') }

Sorry, I don't get it.
Martin






More information about the amavis-users mailing list