Hello

I have a exim 4.63 with SA Exim and Clamav up and running and forward all
spamemails to a spezial "spambox". therefore i have i use this

accept
        condition = ${if <{$message_size}{100k}{1}{0}}
        spam = nobody
        set acl_m1 = [EMAIL PROTECTED]
        delay = 15s

and i added tthe router

/etc/exim4/conf.d/router/050_exim4-config_spam_redirect
spam_redirect:
  debug_print = "R: scan_redirect for $domain"
  driver = redirect
  condition = ${if def:acl_m1 {1}{0}}
  headers_add = X-Original-Recipient: [EMAIL PROTECTED]
  data = $acl_m1
  redirect_router = hubbed_hosts


I want to have this "redirect" working if i have the domain the email was
sent to is listed in a file called

in CONFDIR/domain_not_to_spambox

i trieded around with this

domain = "${if exists{CONFDIR/domain_not_to_spambox}\
                       {partial-lsearch;CONFDIR/domain_not_to_spambox}\
                        fail}"

it is from the hubbedhosts but it is not working.

Thanks for helping

Marco




-- 
## 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