Nicklas wrote: > Hello,
> Is it possible to use a negative read_hash? > $final_spam_destiny = D_DISCARD; > Something like the following: > @spam_lovers_maps = ( !read_hash("/spam_haters"), read_hash("/spam_lovers") > ); > Thanks, > Nicklas You would have to use a little different syntax, and depending on how you set it up you may get unintended results. In this example, the '.example.com' will match, and the search for [EMAIL PROTECTED] will not continue. @spam_lovers_maps = ( read_hash("/spam_haters"), read_hash("/spam_lovers") ); /spam_haters # 0 means false = we are not a spam lover .example.com 0 /spam_lovers # 1 (true) is assumed if it is missing [EMAIL PROTECTED] .example2.com Best to put them in a single file: @spam_lovers_maps = ( read_hash("/spam_lovers") ); /spam_lovers # 0 means false = we are not a spam lover # 1 (true) is assumed if it is missing .example.com 0 [EMAIL PROTECTED] .example2.com Gary V ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ 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/