Bluehost.com Web Hosting $6.95

Re: [AMaViS-user] per_recip_blacklist_sender_lookup_tables and read_hash?

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 >&...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-19-2005
Gary V
 
Posts: n/a
Default Re: [AMaViS-user] per_recip_blacklist_sender_lookup_tables and read_hash?

>> 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


Nicklas wrote:

> Thanks.


> Is it possible to have everything in the blacklist file? I'd like to add
> more entries to the blacklist without touching the amavis config file.


> Nicklas B


Sorry, I am not certain. I can tell you I was not successful in doing so.
If your domains are fairly static, you only have to set them up once in
amavisd.conf, them add or remove entries in the blacklist files as needed.

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/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:46 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0