[exim] Problems configuring Exim 4.20 with amavis-new

Top Page
Delete this message
Reply to this message
Author: Jens Strohschnitter
Date:  
To: EXIM Official Maillist
Subject: [exim] Problems configuring Exim 4.20 with amavis-new
Hi list,

I want to use Exim 4.20 on a new Linux-Installation (SuSE Enterprise-Server 9) with amavis-new. So I have configured Exim like showen in the README.exim_v4 of amavis-new, but on sending a mail, the following error appears in the mainlog:

1CtpCH-0004Yf-Dj == XXX@??? R=amavis_director T=amavis defer (0): SMTP error from remote mailer after end of data: host 127.0.0.1 [127.0.0.1]: 450 4.4.1 Can't connect to 127.0.0.1 port 10025, Connection refused at /usr/sbin/amavisd line 2872, <GEN4> line 205., id=17460-05

My exim.conf looks like:

amavis_router:
  driver = manualroute
  condition = "${if or{ {eq {$received_protocol}{scanned-ok}} \
              {eq {$received_protocol}{spam-scanned}} } {0}{1}}"
  domains = ! +local_domains
  route_list = *
  transport = amavis


amavis_director:
  driver = accept
  condition = "${if or{ {eq {$received_protocol}{scanned-ok}} \
              {eq {$received_protocol}{spam-scanned}} } {0}{1}}"
  retry_use_local_part
  transport = amavis
amavis:
   driver = smtp
   port = 10024
   hosts = 127.0.0.1
   allow_localhost


What can be wrong ? A test with telnet 127.0.0.1 10024 works:
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 [127.0.0.1] ESMTP amavisd-new service ready

Hope someone can help me to fix this "little" prob :-)

--
regards,
Jens Strohschnitter

-------------------------------------
- http://www.jens-strohschnitter.de -
-------------------------------------