Hi, list, I've detected this issue in the past days.
I have a server built upon Debian Sarge, with Amavisd-new 2.5.2,
Postfix 2.1.5-9, and SA 3.2.3. Postfix has been patched so it can
serve multiple virtual domains.
Amavis is called every time a new mail arrives, and it performs AV
scanning correctly. However, if a mail arrives for a domain other than
the one defined as $mydomain in amavisd.conf, it get Spam tested, but
the corresponding headers aren't added.

Here's a sample:

Return-Path: <[EMAIL PROTECTED]>
X-Original-To: [EMAIL PROTECTED]
Delivered-To:  [EMAIL PROTECTED]
Received: from localhost (localhost [127.0.0.1])
        by dalton.quimica.unlp.edu.ar (Postfix) with ESMTP id DE4D4F3E50
        for <[EMAIL PROTECTED]>; Fri, 28 Sep 2007 11:24:44 -0300 (ART)
X-Virus-Scanned: amavisd-new at quimica.unlp.edu.ar
Received: from dalton.quimica.unlp.edu.ar ([127.0.0.1])
        by localhost (dalton.quimica.unlp.edu.ar [127.0.0.1]) (amavisd-new, 
port 10024)
        with ESMTP id frexvI7FUNtQ for <[EMAIL PROTECTED]>;
        Fri, 28 Sep 2007 11:24:31 -0300 (ART)
Received: from bay0-omc2-s18.bay0.hotmail.com
(bay0-omc2-s18.bay0.hotmail.com [65.54.246.154])
        by dalton.quimica.unlp.edu.ar (Postfix) with ESMTP id 5452F9C709
        for <[EMAIL PROTECTED]>; Fri, 28 Sep 2007 11:24:30 -0300 (ART)
Received: from BAY116-W39 ([64.4.38.139]) by
bay0-omc2-s18.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959);
         Fri, 28 Sep 2007 07:24:29 -0700
Message-ID: <[EMAIL PROTECTED]>
Content-Type: multipart/alternative;
        boundary="_a5a00aa5-2010-42ff-8991-b3c4aeb1b0fe_"
X-Originating-IP: [163.10.7.253]
From: Pain Maker <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Test
Date: Fri, 28 Sep 2007 11:24:28 -0300
Importance: Normal
MIME-Version: 1.0
X-OriginalArrivalTime: 28 Sep 2007 14:24:29.0245 (UTC)
FILETIME=[47B32ED0:01C801DB]

--_a5a00aa5-2010-42ff-8991-b3c4aeb1b0fe_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

A ver si llega bien...

_________________________________________________________________
Expr=E9sate - dise=F1a tu p=E1gina de inicio de Live.com como m=E1s te gust=
e.
http://www.live.com/getstarted=

--_a5a00aa5-2010-42ff-8991-b3c4aeb1b0fe_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class=3D'hmmessage'><div style=3D"text-align: left;">A ver si llega b=
ien...<br></div><br /><hr />Descubre Live.com - tu propia p=E1gina de inici=
o, personalizada para ver r=E1pidamente todo lo que te interesa en un mismo=
 sitio. <a href=3D'http://www.live.com/getstarted' target=3D'_new'>todo en =
el mismo sitio.</a></body>
</html>=

--_a5a00aa5-2010-42ff-8991-b3c4aeb1b0fe_--

Mail.log shows the mail got Av scanned and Spam tested:

Sep 28 11:24:44 dalton postfix/qmgr[28884]: DE4D4F3E50:
from=<[EMAIL PROTECTED]>, size=2320, nrcpt=1 (queue active)
Sep 28 11:24:44 dalton amavis[3421]: (03421-17) FWD via SMTP:
<[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>,BODY=7BIT 250 2.6.0 Ok,
id=03421-17, from MTA([127.0.0.1]:10025): 250 Ok: queued as DE4D4F3E50
Sep 28 11:24:44 dalton amavis[3421]: (03421-17) Passed CLEAN,
[65.54.246.154] [64.4.38.139] <[EMAIL PROTECTED]> ->
<[EMAIL PROTECTED]>, Message-ID:
<[EMAIL PROTECTED]>, mail_id: frexvI7FUNtQ,
Hits: 1.299, size: 1846, queued_as: DE4D4F3E50, 13025 ms
Sep 28 11:24:44 dalton postfix/smtp[6615]: 5452F9C709:
to=<[EMAIL PROTECTED]>, relay=127.0.0.1[127.0.0.1], delay=14, status=sent
(250 Ok: queued as DE4D4F3E50)
Sep 28 11:24:44 dalton postfix/qmgr[28884]: 5452F9C709: removed
Sep 28 11:24:44 dalton amavis[3421]: (03421-17) TIMING [total 13030
ms] - SMTP greeting: 2 (0%)0, SMTP EHLO: 0 (0%)0, SMTP pre-MAIL: 1
(0%)0, SMTP pre-DATA-flush: 2 (0%)0, SMTP DATA: 39 (0%)0, check_init:
1 (0%)0, digest_hdr: 0 (0%)0, digest_body: 0 (0%)0, gen_mail_id: 1
(0%)0, mime_decode: 13 (0%)0, get-file-type2: 20 (0%)1, parts_decode:
0 (0%)1, check_header: 1 (0%)1, AV-scan-1: 8 (0%)1, spam-wb-list: 2
(0%)1, SA parse: 3 (0%)1, SA check: 12901 (99%)100, update_cache: 8
(0%)100, decide_mail_destiny: 1 (0%)100, fwd-connect: 5 (0%)100,
fwd-mail-pip: 2 (0%)100, fwd-rcpt-pip: 0 (0%)100, fwd-data-chkpnt: 0
(0%)100, write-header: 1 (0%)100, fwd-data-contents: 0 (0%)100,
fwd-end-chkpnt: 6 (0%)100, prepare-dsn: 1 (0%)100, main_log_entry: 9
(0%)100, update_snmp: 2 (0%)100, SMTP pre-response: 1 (0%)100, SMTP
response: 0 (0%)100, unlink-2-files: 1 (0%)100, rundown: 1 (0%)100
Sep 28 11:24:44 dalton postfix/virtual[3877]: DE4D4F3E50:
to=<[EMAIL PROTECTED]>, relay=virtual, delay=0, status=sent (delivered to
maildir)

Any clues on this?


Thanks in advance,


Luis
-- 
-------------------------------------------------
GNU-GPL: "May The Source Be With You...
Linux Registered User #448382.
When I grow up, I wanna be like Theo...
-------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to