On Thu, Jan 17, 2008 at 07:01:53PM -0600, James Price wrote:
> 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]
Hopefully that isn't /actually/ what you've got now... you're missing ${
before "if".
Anyway:
> > 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 think your first answer was better (more elegant): all you got wrong
(presumably) was that "senders" needs an address list, not a domain list. Or,
if you've already defined (and used) the +block_domains domain list, and you'd
rather keep it as a domain list not an address list, just use
senders = [EMAIL PROTECTED]
instead.
--
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey
signature.asc
Description: Digital signature
-- ## 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/
