Richard,

> If I wanted to only perform spam-handling for specific user email
> addresses and allow all other email to the domain to avoid
> spam-handling, would the following work:
>
> @spam_lovers_maps = ( read_hash("$MYHOME/spam_lovers") );
> @local_domains_maps = ( [".xyz.com"] );
>
> where $MYHOME_/spam_lovers contains:
>
> # Perform spam-handling for these users
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> # All other users opt out of spam-handling
> .xyz.com

Almost, but you got the syntax wrong.
You are using a syntax for ACL but using a hash lookup.

You can either do:

@spam_lovers_maps = ( read_hash("$MYHOME/spam_lovers") );

[EMAIL PROTECTED] 0
[EMAIL PROTECTED] 0
[EMAIL PROTECTED] 0
# All other users opt out of spam-handling
# (no right-hand side implies true)
.xyz.com


Or use a lookup list instead of a hash:

spam_lovers_maps = ( read_array("$MYHOME/spam_lovers") );

[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
# All other users opt out of spam-handling
.xyz.com


  Mark


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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/

Reply via email to