Hello, found solution, Eureka :D
$spam_quarantine_method = 'local:spam/%m'; $spam_quarantine_to = 'spam-quarantine'; @spam_quarantine_to_maps = ( { '.domain1.com' => 'i...@domain1.com', '.domain2.com' => 'i...@domain1.com', '.domain3.com' => 'i...@domain1.com', '.domain4.com' => 'i...@domain1.com', }, \$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' => 'i...@domain1.com', '.domain2.com' => 'i...@domain1.com', '.domain3.com' => 'i...@domain1.com', '.domain4.com' => 'i...@domain1.com', }, \$spam_quarantine_to, ); is same as @spam_quarantine_to_maps = ( { '.domain1.com' => 'i...@domain1.com', '.domain2.com' => 'i...@domain1.com', '.domain3.com' => 'i...@domain1.com', '.domain4.com' => 'i...@domain1.com', '.' => \$spam_quarantine_to, }, ); ? Thank you. 2010/5/19 Lampa <lamp...@gmail.com>: > 2010/5/19 Mark Martinec <mark.martinec+ama...@ijs.si>: > >> If I understand correctly, you'd want to whitelist senders >> @example.com, @example2.com, @example3.com, but just for >> a recipient s...@example.com. This can be accomplished >> with @score_sender_maps : >> >> @score_sender_maps = ({ # a by-recipient hash lookup table >> 's...@example.com' => [{ # 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 (s...@example.com). > > Default rule is quarantine, some users have overriden quarantine using > > @spam_kill_level_maps = ( > {u...@somedomain.com' => 99.0}, > # '.example.net' => 8.0, > # '.example.org' => 10.0 }, > \$sa_kill_level_deflt, # catchall default > ); > > Something like > > @virus_admin_maps = ({ > '.example.com' => 'postmas...@example.com', > '.example.net' => 'postmas...@example.net', > '.' => 'postmas...@example.com', > }); > > 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' => 's...@example1.com', > 'example2.com' => 's...@example1.com', > 'example3.com' => 's...@example1.com, > }); > > 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 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