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

Pàgina inicial
Delete this message
Reply to this message
Autor: Jens Strohschnitter
Data:  
A: EXIM Official Maillist
Assumpte: Re: [exim] Problems configuring Exim 4.20 with amavis-ne
Hi,

thanxx, now the mail will be sent to the amavisd! But amavis logs the following errors:

Jan 27 15:35:01 smb-sles amavisd[20210]: (20210-01) FWD via SMTP: [127.0.0.1]:10025 <FROM@???> -> <TO@???>
Jan 27 15:35:01 smb-sles amavisd[20210]: (20210-01) prolong_timer after fwd-connect: remaining time = 300 s
Jan 27 15:35:01 smb-sles amavisd[20210]: (20210-01) mail_via_smtp: session failed: Can't connect to 127.0.0.1 port 10025, Connection refused at /usr/sbin/amavisd line 2872, <GEN5> line 41.
Jan 27 15:35:01 smb-sles amavisd[20210]: (20210-01) mail_via_smtp: 450 4.4.1 Can't connect to 127.0.0.1 port 10025, Connection refused at /usr/sbin/amavisd line 2872, <GEN5> line 41., id=20210-01
Jan 27 15:35:01 smb-sles amavisd[20210]: (20210-01) mail_via_smtp: DATA skipped, 0, 0, 0
Jan 27 15:35:01 smb-sles amavisd[20210]: (20210-01) prolong_timer after forwarding: remaining time = 300 s
Jan 27 15:35:01 smb-sles amavisd[20210]: (20210-01) one_response_for_all <FROM@???>: 4xx found, '450 4.4.1 Can't connect to 127.0.0.1 port 10025, Connection refused at /usr/sbin/amavisd line 2872, <GEN5> line 41., id=20210-01'
Jan 27 15:35:01 smb-sles amavisd[20210]: (20210-01) warnsender_with_pass=(,,,), dsn_needed=, exit=75, 450 4.4.1 Can't connect to 127.0.0.1 port 10025, Connection refused at /usr/sbin/amavisd line 2872, <GEN5> line 41., id=20210-01
Jan 27 15:35:01 smb-sles amavisd[20210]: (20210-01) Not-Delivered, <FROM@???> -> <TO@???>, Message-ID: <41F7B8AD.mailDIS1IBHAB@XXXXXXXXXXXXXXXXXXXXXXXX>, Hits: 0.339
Jan 27 15:35:01 smb-sles amavisd[20210]: (20210-01) sending SMTP response: "450 4.4.1 Can't connect to 127.0.0.1 port 10025, Connection refused at /usr/sbin/amavisd line 2872, <GEN5> line 41., id=20210-01"
Jan 27 15:35:01 smb-sles amavisd[20210]: (20210-01) timer stopped after DATA end
Jan 27 15:35:01 smb-sles amavisd[20210]: (20210-01) rmdir_recursively: /var/spool/amavis/amavis-20050127T153459-20210/parts, excl=1
Jan 27 15:35:01 smb-sles amavisd[20210]: (20210-01) TIMING [total 2797 ms] - SMTP EHLO: 5 (0%), SMTP pre-MAIL: 1 (0%), mkdir tempdir: 0 (0%), create email.txt: 1 (0%), SMTP pre-DATA-flush: 5 (0%), SMTP DATA: 38 (1%), body hash: 1 (0%), mkdir parts: 1 (0%), mime_decode: 16 (1%), get-file-type: 12 (0%), decompose_part: 3 (0%), parts: 0 (0%), AV-scan-1: 2651 (95%), SA msg read: 2 (0%), SA parse: 1 (0%), SA check: 47 (2%), fwd-rundown: 8 (0%), unlink-1-files: 4 (0%), rundown: 0 (0%)
Jan 27 15:35:01 smb-sles amavisd[20210]: (20210-01) ESMTP> 450 4.4.1 Can't connect to 127.0.0.1 port 10025, Connection refused at /usr/sbin/amavisd line 2872, <GEN5> line 41., id=20210-01
Jan 27 15:35:01 smb-sles amavisd[20210]: (20210-01) prolong_timer after reading SMTP command: remaining time = 0 s
Jan 27 15:35:01 smb-sles amavisd[20210]: (20210-01) ESMTP< QUIT\r\n
Jan 27 15:35:01 smb-sles amavisd[20210]: (20210-01) ESMTP> 221 2.0.0 [127.0.0.1] (amavisd) closing transmission channel

The mail won't be delivered :-(

> try this:
> condition = "${if or {{eq {$interface_port}{10025}} \
>         {eq {$received_protocol}{spam-scanned}} \
>         {eq {$sender_address}{}} \
>         }{0}{1}}"


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