[squid-users] Re: [exim] Problems configuring Exim 4.20 with amavis-ne

From: Jens Strohschnitter <suse-linux@dont-contact.us>
Date: Fri, 28 Jan 2005 11:46:26 +0100

> > 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 ?
>
>
> 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.
>

Yep! It works fine :-) Thanxx a lot.
But another little question: Is it possible and if, how to disable spam-
assassin function in amavis-new ? But I think it is not the richt list
for this question ?!

-- 
Regards,
     Jens Strohschnitter
-------------------------------------
*!!!LINUX LINUX LINUX LINUX LINUX!!!*
 
* http://www.jens-strohschnitter.de *
-------------------------------------
Set the controls for 
		 the heart of the sun
-------------------------------------
Received on Fri Jan 28 2005 - 03:46:31 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 07 2005 - 12:59:36 MST