On Thu, 2 Jun 2005, Dickenson, Steven wrote:
> 
> > What I did was to create a file called /etc/host_spam_noscan_to that
> > contains the domains that will not have their incoming mail checked
> > for spam. I then put a new ACL line above the entries that check for
> > spam.   
> > 
> > accept condition =
> > ${lookup{$domain}lsearch{/etc/host_spam_noscan_to}{1}{0}} 
> 
> Your problem here is that $domain is not set in the DATA phase, only in
> RCPT.  You would need to move this check the RCPT ACL and set an ACL
> variable to query in the DATA phase.  Again, the document mentioned
> above explains this.
> 


$domain can be gotten in the DATA acl using something like this:

${lc:[EMAIL PROTECTED]

(the lc may be unneeded)


-- 
--------------------------------------------------------
Dave Lugo   [EMAIL PROTECTED]    LC Unit #260   TINLC
Have you hugged your firewall today?   No spam, thanks.
--------------------------------------------------------
Are you the police?  . . . .  No ma'am, we're sysadmins.

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to