On Thu, 27 Jan 2005 17:24:32 +0100, Jens Strohschnitter <exim-ml@???> wrote:
> yes - years ago we had a running exim 3.13. With the old amavis (0.3.x) the
> director workes :-)
> So now I have removed the director and corrected the condition to:
>
> amavis_router:
> driver = manualroute
> condition = "${if or {{eq {$interface_port}{10025}} \
> {eq {$received_protocol}{spam-scanned}} \
> {eq {$sender_address}{}} \
> }{0}{1}}"
> domains = ! +local_domains
> route_list = "*"
> transport = amavis
>
> But now I got the following error - and yes I'm not an exim-admin, so I don't
> know about some parameters in the config so here is the error:
>
> R=amavis_router defer (-1): error in amavis_router router: no host(s)
> specified for domain *
>
> Where do I have to add the "host" that is not specified ?
Jens,
This is my router:
amavis_router:
verify = false
condition = "${if or { \
{eq {$interface_port}{10025}} \
{eq {$received_protocol}{spam-scanned}} \
} \
{0}{1}}"
driver = manualroute
transport = amavis
route_list = * localhost byname
self = send
This scans all e-mail, apart from that which has just arrived from
amavis or has just been scanned by SpamAssassin (spam scanning occurs
after virus scanning).
I'm not sure exactly what e-mails you want to scan for viruses - you've
got "domains = ! +local_domains" in your router configuration, so you
may need to adapt it. It's probably the "route_list" and "self = send"
bits that you need.
Regards,
John