Xavier,
> I've some problem with soft whielisting :
> Latest version installed: 2.6.1-r1
> A piece of my /etc/amavisd.conf:
>
> @score_sender_maps = ({
> '.' => [
> 'myaddr...@mydomain' => -15.0,
> ],
> });
>
> in the log i get:
>
> lookup (score_sender), 1 matches for "myaddr...@mydomain'", results:
> "."=>["myaddr...@mydomain'","-15"]
> AMaViS-HowTos:http://www.amavis.org/howto/
Wrong syntax. The rhs of a '.' key/value pair must be a ref ro a list
of lookup tables. In your case there are just two constants.
What you need is either a hash or a regexp -type lookup table.
Only these can provide non-boolean results.
@score_sender_maps = ({
'.' => [ # a list of lookup tables
{ # a hash-type lookup table (associative array)
'myaddr...@mydomain' => -15.0,
}
]
});
Mark
------------------------------------------------------------------------------
_______________________________________________
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/