Hello,
found solution, Eureka :D
$spam_quarantine_method = 'local:spam/%m';
$spam_quarantine_to = 'spam-quarantine';
@spam_quarantine_to_maps = (
{
'.domain1.com' => '[email protected]',
'.domain2.com' => '[email protected]',
'.domain3.com' => '[email protected]',
'.domain4.com' => '[email protected]',
},
\$spam_quarantine_to,
);
So setting above works perfectly, eg. when message is marked as spam
for domain[1-4].com is forwarded to specific user else use default
quarantine.
and one question:
@spam_quarantine_to_maps = (
{
'.domain1.com' => '[email protected]',
'.domain2.com' => '[email protected]',
'.domain3.com' => '[email protected]',
'.domain4.com' => '[email protected]',
},
\$spam_quarantine_to,
);
is same as
@spam_quarantine_to_maps = (
{
'.domain1.com' => '[email protected]',
'.domain2.com' => '[email protected]',
'.domain3.com' => '[email protected]',
'.domain4.com' => '[email protected]',
'.' => \$spam_quarantine_to,
},
);
?
Thank you.
2010/5/19 Lampa <[email protected]>:
> 2010/5/19 Mark Martinec <[email protected]>:
>
>> If I understand correctly, you'd want to whitelist senders
>> @example.com, @example2.com, @example3.com, but just for
>> a recipient [email protected]. This can be accomplished
>> with @score_sender_maps :
>>
>> @score_sender_maps = ({ # a by-recipient hash lookup table
>> '[email protected]' => [{ # a by-sender hash lookup table
>> '.example.com' => -999,
>> '.example2.com' => -999,
>> '.example3.com' => -999,
>> }],
>> });
>
>
> No. I want forward spams for domains @example.com, @example2.com,
> @example3.com to one user on one of these domains ([email protected]).
>
> Default rule is quarantine, some users have overriden quarantine using
>
> @spam_kill_level_maps = (
> {[email protected]' => 99.0},
> # '.example.net' => 8.0,
> # '.example.org' => 10.0 },
> \$sa_kill_level_deflt, # catchall default
> );
>
> Something like
>
> @virus_admin_maps = ({
> '.example.com' => '[email protected]',
> '.example.net' => '[email protected]',
> '.' => '[email protected]',
> });
>
> not send virus/banned/spam warning to listed admin for listed domains
> but forward whole virus/banned/spam message to user eg:
>
> @spam_user_maps = {
> 'example1.com' => '[email protected]',
> 'example2.com' => '[email protected]',
> 'example3.com' => '[email protected],
> });
>
> Explained clearly ?
>
>
> --
> Lampa
>
--
Lampa
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
AMaViS-user mailing list
[email protected]
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