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

Top Pagina
Delete this message
Reply to this message
Auteur: Jens Strohschnitter
Datum:  
Aan: EXIM Official Maillist
Onderwerp: Re: [exim] Problems configuring Exim 4.20 with amavis-ne
On Thu, 27 Jan 2005 17:04:39 +0000
John Hall <john.d.hall@???> wrote:

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


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