> > Must be this screwing things up, making everyone a spam-lover by
> > default;
>
> > @spam_lovers_maps = ( read_hash("/spam-haters"), 1 );
>
> > Any way to get around it?
>
> > Nicklas B
>
> Here is the example from the "negative read_hash" post:
>
> @spam_lovers_maps = ( read_hash("$MYHOME/spam_haters"), 1 );
>
> If all domains will be spam_lovers by default, then there is
> no need to look them up, simply make everyone a lover, and
> list only the exceptions.
>
> Contents of the spam_haters file:
>
> # we have set @spam_lovers_maps = (
> read_hash("$MYHOME/spam_haters"), 1 ); # which means everyone
> is a spam lover by default.
> # If you would like to exclude a
> # particular user from being a spam lover, include them in #
> this associative array using a 0 for the value. For example:
> # [EMAIL PROTECTED] 0
> #
> [EMAIL PROTECTED] 0 this would mean 'spam_lover' false
> .example2.com 0 'spam_lover' false
> [EMAIL PROTECTED] 'spam_lover' true
>
> (the .example2.com users are not spam_lovers, but
> [EMAIL PROTECTED] wants to be a spam_lover)
>
> So, everyone is a spam_lover by default. If you want to
> exclude a single user, or entire domain from being a spam
> lover, they must be in the spam_haters file with a "0" after them.
>
> Try it. Place the user (or domain) you are trying to send the
> particular message to in this file, with a zero after them.
> amavisd reload
>
> Gary V
Thanks again. I will try this.
Nicklas B
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/