[Exim] amavis and exim3, exit code 13 ....FAIL

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Kapcsandi istvan
Datum:  
To: exim-users
Betreff: [Exim] amavis and exim3, exit code 13 ....FAIL
I have the same problem configuring exim (woody deb package,3.35-1) to
work with amavis-ng (downloaded from sorceforge, version 0.1.3.1, build
vith `dpkg-buildpackage -rfakeroot -uc -us`).

I tested amavis to run from commandline:
hugo:~/install# amavis root@??? test1@??? <
/tmp/testletter
6
mail|info
        Unpacking message in /tmp/amavis-unpack-3d2ad8c6-12b7
6
mail|info
        File 00000000 is type message/rfc822
6
mail|info
        File 00000001 is type text/plain
6
mail|info
        AMAVIS::MTA::Exim: Accepting message


But, when I try testing with exim the result is (only the relevant
lines):
hugo:~/install# exim -d9 -C /etc/exim/exim.conf.test -t -bm <
/var/testletter > test.log 2>&1

argv[0] = /usr/bin/amavis
argv[1] = <root@???>
argv[2] = test1@???
Writing message to pipe
writing data block fd=9 size=0 timeout=3600
writing data block fd=9 size=491 timeout=3600
writing data block fd=9 size=0 timeout=3600
set_process_info: 4842 reading output from |/usr/bin/amavis
<${sender_address}> ${pipe_addresses}
amavis transport yielded 7
search_tidyup called
amavis transport returned FAIL for test1@???
post-process test1@??? (7)
LOG: 0 MAIN
** test1@??? D=amavis_director T=amavis: Child process of
amavis transport returned 13 from command: /usr/bin/amavis
set_process_info: 4838 tidying up after delivering 17RuEw-0001G0-00
Processing retry items
Succeeded addresses:
Failed addresses:
test1@???: no retry items
Deferred addresses:
end of retry processing
sending error message to: root@???
writing data block fd=8 size=491 timeout=0

And this is exim.conf.test:
62a63,67
>
> trusted_users = mail:www-data:amavis
> deliver_load_max = 3
> deliver_queue_load_max = 5
> queue_only_load = 4
>

417,430c422,435
---
> amavis:
> driver = pipe
> command = "/usr/bin/amavis <${sender_address}> ${pipe_addresses}"
> prefix =
> suffix =
> check_string =
> escape_string =
> return_output = true
> return_path_add = true
> user = amavis
> group = amavis
> path =

"/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
> current_directory = "/var/amavis"

452,455c457,460
---
> amavis_director:
> condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}"
> driver = smartuser
> transport = amavis

603c608,610
<
---
> amavis_router:
> condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}"
> driver = domainlist
> route_list = "*"
> transport = amavis
> headers_add = "X-Virus-Scanned: by AMaViS (http://amavis.org/)"
>
>

I read all the docs i found but no success.
Can anybody help me?

thanks,
pisti