Thomas,

> > $final_spam_destiny = D_DISCARD;  # (or D_BOUNCE)
> >> but send through all spam to mydomain1.com (D_PASS).
> > @spam_lovers_maps temporarily overrides the default
> > $final_spam_destiny with a D_PASS for matching recipients.
>
> Ok. Does it work the other way arround? I have a few hundert domains
> and most user can set there spam level rejection and other options via
> cyrus sieve. I do not want to set every Domain for D_PASS since this
> should be the default rule for me. I just want to set one special
> domain (mydomain2.com) with D_DISCARD for Spam mails.
>
> Maybe like this?
>
> $final_spam_destiny = D_DISCARD
> @spam_lovers_maps = ([' !.mydomain2.com']);

Yes, sure, you can use negation. See README.lookups.
Either use a list lookup, or a hash lookup.
Supply a catchall true at the end:

@spam_lovers_maps = ([ '!.mydomain2.com', '.' ]);

  Mark

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
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