[Vmail-discuss] vmail and amavis

Simone simone at agiesse.net
Fri, 8 Oct 2004 18:54:44 +0200


Hi all!! i'm a vmail users since more than a year.. and now i want to add a 
virus scanner engine to my server using Amavisd-new and clamav.

the diagram is simple:
exim receive a mail from outside and pass it to amavis.
amavis launch clam on the message received then re-route back to exim.

Here is my problem:

no mail is delivered.
I'm using this mini-howto on my existing vmail configuration:
http://iclame.scuole.bo.it/debian-scuolan/cap11_2.htm

Ok.. i know.. is in italian.. but the only real important things is the 
directors, transport and routers configuration for exim.
in this page there is the line i add to my exim.conf

Anyone use some similar configuration?

This is some line from the various error log:

-----------------------clamav log-----------------------
Oct  8 18:44:06 mail amavisd-new[23610]: (23610-01) Checking: 
<admin@localhost> -> <simo@anydomain.com>
Oct  8 18:44:06 mail amavisd-new[23610]: (23610-01) FWD via PIPE: 
<admin@localhost> -> <simo@anydomain.net>
Oct  8 18:44:06 mail amavisd-new[23610]: (23610-01) Not-Delivered, 
<admin@localhost> -> <simo@anydomain.net>, Message-ID: 
<E1CFxqb-0006E7-00@mail.anydomain.net>, Hits: -
Oct  8 18:44:06 mail amavisd-new[23610]: (23610-01) TIMING [total 134 ms] - 
SMTP EHLO: 6 (5%), SMTP pre-MAIL: 1 (1%), mkdir tempdir: 1 (0%), create 
email.txt: 1 (1%), SMTP pre-DATA-flush: 7 (5%), SMTP DATA: 5 (4%), body hash: 
1 (1%), mkdir parts: 2 (1%), mime_decode: 26 (19%), get-file-type: 14 (10%), 
decompose_part: 4 (3%), parts: 0 (0%), AV-scan-1: 4 (3%), write-header: 14 
(10%), fwd-pipe: 37 (28%), unlink-1-files: 11 (8%), rundown: 1 (1%)
--------------------------------------------------------------

--------------exim3 mainlog:---------------------------
004-10-08 18:44:06 1CFxqb-0006E7-00 <= admin@localhost H=[192.168.0.4] P=smtp 
S=293
2004-10-08 18:44:06 1CFxqb-0006E7-00 == simo@mydomain.net T=amavis defer (0): 
SMTP error from remote mailer after end of data: host 127.0.0.1 [127.0.0.1]: 
451 4.5.0 Unknown failure submitting message, status=1 (256 ), id=23610-01
--------------------------------------------------------------