[exim] whitelist hosts on spamcheck

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jonathan Gilpin
Data:  
Para: exim users
Asunto: [exim] whitelist hosts on spamcheck
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