I have solved my silly question...

Solution:
router_blocked_domains:
        driver = redirect
        condition = if eq ${lookup {$sender_address_domain} lsearch 
{/usr/exim/etc/blockeddomains}}
        data = [EMAIL PROTECTED]

James Price wrote:
> I know this is probably a simple answer but I find myself lost and not 
> having a good solution...
>
> What I have is an exim server strictly acting as an outbound relay.  
> What we're trying to do is if the sender's domain matches a particular 
> domain list, forward the email off to a catchall and not the destination.
>
> I have a domain list that matches against domains in a file, thats 
> working fine.
>
> The router I have set up is the following:
> router_blocked_domains:
>         driver = redirect
>         senders = +block_domains
>         data = [EMAIL PROTECTED]
>
> I know teh senders option is not correct because that is trying to refer 
> to an address list.  I want to match the senders domain such as the ACL 
> parameter senders_domain = +domainlist.
>
> I'm not sure where to go from here.  Ultimately if senders email address 
> matches the domain list, the email needs to be forwarded to this 
> catchall and not the intended recipient.
>
> Thanks,
> James
>
>   

-- 
James Price
T/c/F: 800.603.0769
Email: [EMAIL PROTECTED]
WWW: http://www.digitalciti.com/
3636 S. Iron St.
Chicago, IL 60609


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

Reply via email to