The key with ACL's is to remember that consecutive lines form a single ACL and spaces between lines delineate them. So:
1. This:
Code:
accept domains = +local_domains
local_parts = postmaster:abuse
Is a single ACL that says to accept email for domains in local_domains that are addressed to postmaster@ or abuse@
It has no bearing on the later use of accept domains wihich is a separate ACL.
2. The ACL you quoted appears to have a blank line where there shouldn't be one, i.e. to me it looks like it should be:
Code:
drop dnslists = relays.ordb.org :\
sbl.spamhaus.org :\
!hosts = +relay_hosts
!authenticated = *
message = your mail server $sender_host_address is in a black list \
at $dnslist_domain ($dnslist_text)
it then makes sense.
3. Again, each reference of that line is relevant only to the ACL within which it is being used.
A good set of inline RBL ACL's can be had from:
http://www.rvskin.com/index.php?page=public/antispam