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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: John Hall
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Problems configuring Exim 4.20 with amavis-ne
On Thu, 27 Jan 2005 16:46:54 +0100, Jens Strohschnitter <exim-ml@???> wrote:

> I have added the following lines:
>
> exim.conf -> local_interfaces = 0.0.0.0.25 : 127.0.0.1.10025
> amavid.conf -> $forward_method = 'smtp:127.0.0.1:10025';  # where to forward checked mail
>                $notify_method = $forward_method;          # where to submit notifications

>
> The trusted user entry was already added.
>
> But now my system seems to be running wild. The testmail will be
> scanned about 10 times and after this, the log showes: "too many
> recieved headers" suspect mail loop and the message is frozen in
> mailqueue.
>
> What could be wrong ?
>
> Here my global lines of exim.conf:
>
> domainlist local_domains = @ : MyDom.xxx.yy : servername.xxx.yy : xxx.yy
> domainlist relay_to_domains = *.xxx.yy
> hostlist relay_from_hosts = 127.0.0.1 : 172.0.0.0/8 : 192.168.0.0/16
> local_interfaces = 0.0.0.0.25 : 127.0.0.1.10025


It sounds like you're managing to redirect scanned e-mails back into
amavis and you've got a mail-loop.

The condition in your amavis router needs to be
"eq {$interface_port}{10025}" rather than the
"eq {$received_protocol}{scanned-ok}" that you have in your
configuration.

I am a little confused by what your configuration is trying to do,
however, especially the "amavis_director" bit - sounds suspiciously like
some Exim 3.x configuration...

John