Well they aren't, that's the catch. Any other ideas except using sql
lookups?

Nicklas B

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Gary V
> Sent: den 19 oktober 2005 06:43
> To: amavis-user@lists.sourceforge.net
> Subject: 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:
> >> [EMAIL PROTECTED]
> >> 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/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
> 




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

Reply via email to