[exim] conditional whitelisting

Góra strony
Delete this message
Reply to this message
Autor: Jeff Lasman
Data:  
Dla: exim-users
Temat: [exim] conditional whitelisting
I'm going nuts trying to figure this out; I just can't get my head
around it tonight <frown>

Here's an acl entry that doesn't do what I want:

<snip>
# sender domains whitelist
# accept if sender domain is in whitelist
accept sender_domains = +whitelist_domains
</snip>

What my clients want to do is always accept email from domains hosted on
this server, even if the mail is coming from outside. They want the
whitelist to include the domains hosted on the server.

Which of course I can't give them because a spammer can use a from
address in a domain hosted on the server and send spam to anyone.

What I want is an entry that will only work if the the rcpt domain is
also on the server. While not perfect (the spammer can still spam all
the addresses on the server) this will serve the purpose for the
clients in question.

whitelist_domains is defined thusly:

domainlist whitelist_domains = lsearch;/etc/virtual/whitelist_domains

and domains on the server are defined thusly:

domainlist local_domains = lsearch;/etc/virtual/domains

I've got the UIT Cambridge Exim book in front of me but I still can't
figure it out <frown>.

Help please.

Thanks.

Jeff
--
Jeff Lasman, Nobaloney Internet Services
1254 So Waterman Ave., Suite 50, San Bernardino, CA 92408
Our blists address used on lists is for list email only
Phone +1 909 266-9209, or see: "http://www.nobaloney.net/contactus.html"