Hi,

I have the following for my spamcheck director.. see the commented out line of 
'hosts'...

If I uncomment it I get the following:

2010-06-02 13:46:56 Exim configuration error in line 372 of 
/usr/local/etc/exim/configure:

hostlist   relay_from_hosts = ${lookup 
mysql{MYSQL_Q_RELAYIP}{${sg{$value}{\\n}{ : }} }}


spamcheck_director:
  driver = manualroute
  domains = ${lookup mysql {MYSQL_Q_SPAMC}{$value}}
  senders = ! ${lookup mysql {MYSQL_Q_WHITELIST}{$value}}
#  hosts         = !+relay_from_hosts
  condition = ${if and { \
#   {!eq{$authenticated_id}{}} \
    {!eq {$received_protocol}{spam-scanned}} \
    {!eq {$received_protocol}{local}} \
    } {1}{0}}
  headers_remove = X-Spam-Flag
  route_list = "* localhost byname"
  transport = spamcheck
  verify = false

Can anyone tell me the correct option?

Kind Regards,

Jonathan




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