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

From: Adam Aube <[email protected]>
Date: Fri, 28 Jan 2005 11:03:30 -0500

Jens Strohschnitter 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 ?
>>
>>
>> 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 ?!

No, this isn't the right list - you sent this reply to the Squid Users list
and not the Exim mailing list the rest of the thread is on.

Adam
Received on Fri Jan 28 2005 - 09:10:17 MST

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