[Exim] Exim + amavisd problems

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Flemming Christensen
Date:  
À: Exim-Users (E-mail)
Sujet: [Exim] Exim + amavisd problems
I have tried to use the readme.exim at the amavis website to setup amavisd (spamasassin/razor) with exim 4.10

But whenever I try to send a mail I get this error in the main_log file:

2002-08-26 13:07:02 17jHi2-0000cs-00 <= someone@??? H=mail.mydomain.com [10.0.0.100] U=[1C5cSGcLvuLG/U/IY
q5UmpwmxdMJluw0] P=esmtp S=725 id=20020826110052.5C4017D94@???
2002-08-26 13:07:02 17jHi2-0000cs-00 == someother@??? R=amavis T=amavis defer (0): SMTP error from remote mailer
after end of data: host localhost.localdomain [127.0.0.1]: 450 Temporary failure, retry, id=00531-04, forwarding FAILED


This is the relevant parts of configure (exim)
-------------------------------------------------------------------
local_interfaces = 0.0.0.0.25 : 127.0.0.1.10028

begin routers

amavis:
        driver = manualroute
        condition = "${if eq {$interface_port}{10028} {0}{1}}"
        # if scanning incoming mails, uncomment the following line and
        # change local_domains accordingly
        # domains = +hosted_domains
        transport = amavis
        route_list = "* localhost byname localhost.localdomain"
        self = send


begin transports

amavis:
driver = smtp
port = 10027
allow_localhost

-----------------------------------------------------------------------

This is the relevant parts of amavisd.conf

$relayhost = "127.0.0.1";     # delivery to this IP unless $relayhost_is_client
$relayhost_port = "10028";    # TCP port for SMTP (same port for all MTAs)


$inet_socket_port = "10027";      # accept SMTP on this local TCP port


$inet_socket_bind = "127.0.0.1";  # limit socket bind to loopback interface
@inet_acl = qw( 127.0.0.1 );      # allow SMTP access only from localhost


-----------------------------------------------------------------------

I hope some of you can pinpoint my mistakes or kick me in the right direction ;)

Cheers,

Flemming