This is a discussion on Re: [AMaViS-user] per_recip_blacklist_sender_lookup_tables and read_hash? within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Nicklas wrote: > I would like to match my per_recip_blacklist_sender_lookup_tables from a > read_hash table. > Is it possible to ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Nicklas wrote:
> I would like to match my per_recip_blacklist_sender_lookup_tables from a > read_hash table. > Is it possible to do something like the following; > $per_recip_blacklist_sender_lookup_tables = { > read_hash("/blacklist"), > }; > Content of the blacklist file (all mails sent to domain example.com from > domain abc.com should be blocked: > @example.com @abc.com > Thanks, > Nicklas B One of the examples provided is in this form: $per_recip_blacklist_sender_lookup_tables = { '.example.com' => read_hash("$MYHOME/example_blacklist"), '.example2.com' => read_hash("$MYHOME/example2_blacklist"), }; with the contents of example_blacklist: badsender@somedomain.com baddomain.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/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |