[Exim] more AMAVIS problema

Góra strony
Delete this message
Reply to this message
Autor: Ilya
Data:  
Dla: exim-users
Temat: [Exim] more AMAVIS problema
If i turn on scanning for amavis the mail which goes through it will come in
with headers in the body, ie this will be in the BODY (in addition to same
stuff in headers):
Date: Thu, 05 Jul 2001 19:54:37 -0400
From: ilya@dom1
To: ilya@dom2

MAIL FROM:<ilya@dom1
RCPT TO:ilya@dom2
DATA
Received: from [192.168.0.1] (helo=ilya)
        by dom.net with asmtp (TLSv1:RC4-MD5:128)
        (Exim 3.30 #1)
        id 15IIx9-000L12-00
        for ilya@dom2; Thu, 05 Jul 2001 19:54:35 -0400
Message-ID: <00f201c105ad$ff223ec0$0100a8c0@ilya>
From: "Ilya Krel" <ilya@dom1>
To: "Ilya" ilya@dom2
Subject:
Date: Thu, 5 Jul 2001 19:55:40 -0400
MIME-Version: 1.0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
X-Virus-Scanned: by AMaViS perl-10



here is my configure (i tried both <> and without <>):
ROUTERS Config:
scanmails_remote:
driver = pipe
bsmtp = all
batch_max = 32767
command = "/usr/local/sbin/amavis -f ${sender_address} -d
${local_part}@${domain}"
log_output = true
prefix =
return_output = true
return_path_add = false
user = amavis
group = amavis
path = "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin"
current_directory = "/var/tmp"

ROUTERS:
#vircheck:
#condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}"
#driver = domainlist
#route_list = "*"
#transport = scanmails_remote


what is the correct setup to scan both incoming and outgoing mail?

thank you