Hi Philip,
I tried it without the colon, same procedure as every year.... ;-) *g*
Feb 4 10:27:33 mail2 exim[24587]: 2003-02-04 10:27:33 18fzMa-0006OZ-00
exiscan: malicious content found (Found: EICAR test file NOT a virus.)
Host=mjakscht.vit.de [172.16.1.73] Sender='michi@???'
Recipients[1]=[jakscht@???] Subject='test 1'
Feb 4 10:27:33 mail2 exim[24587]: 2003-02-04 10:27:33 18fzMa-0006OZ-00
exiscan: redirecting to virusalert@???.
Feb 4 10:27:33 mail2 exim[24587]: 2003-02-04 10:27:33 18fzMa-0006OZ-00 <=
michi@??? H=mjakscht.vit.de (mjakscht) [172.16.1.73] P=smtp S=1629
id=001a01c2cc2f$75b83190$490110ac@mjakscht
Feb 4 10:27:33 mail2 exim[24589]: 2003-02-04 10:27:33 18fzMa-0006OZ-00
original recipients ignored (system filter)
Feb 4 10:27:33 mail2 exim[24589]: 2003-02-04 10:27:33 18fzMa-0006OZ-00 **
>"Michi" <michi@???> <system-filter> T=transport_virenmails: SMTP error
from remote mailer after RCPT TO:<>"Michi" <michi@???>>: host
mail.vit.de [213.69.199.241]: 501 <>"Michi" <michi@???>>: missing or
malformed local part
Feb 4 10:27:33 mail2 exim[24589]: 2003-02-04 10:27:33 18fzMa-0006OZ-00 =>
/var/spool/exim/virusmails/18fzMa-0006OZ-00 <system-filter>
T=transport_save_virusmails
Feb 4 10:27:33 mail2 exim[24592]: 2003-02-04 10:27:33 18fzMb-0006Oe-00 <=
<> R=18fzMa-0006OZ-00 U=exim P=local S=2638
Feb 4 10:27:33 mail2 exim[24589]: 2003-02-04 10:27:33 18fzMa-0006OZ-00
Completed
Feb 4 10:27:33 mail2 exim[24594]: 2003-02-04 10:27:33 18fzMb-0006Oe-00 =>
jakscht@??? <michi@???> R=smtp_router_rzvmail
T=smtp_transport_von_extern_nach_rzv H=rzvmail.vit.de [213.69.199.243]
Feb 4 10:27:33 mail2 exim[24594]: 2003-02-04 10:27:33 18fzMb-0006Oe-00
Completed
|--------+----------------------->
| | Philip Hazel |
| | <ph10@???|
| | .ac.uk> |
| | |
| | 04.02.2003 |
| | 10:18 |
| | Bitte |
| | antworten an |
| | exim-users |
| | |
|--------+----------------------->
>-----------------------------------------------------------------------|
| |
| An: jakscht |
| Kopie: exim-users@??? |
| Thema: Re: [Exim] Problem with exim4.12 and mail command in |
| system-filter |
>-----------------------------------------------------------------------|
Received: from mail.vit.de ([213.69.199.241]) by rzvmail.vit.de (Lotus SMTP
MTA v4.6.1 (569.2 2-6-1998)) with SMTP id C1256CC3.00331970; Wed, 4 Feb
1970 10:17:10 +0100
Received: from exim by mail.vit.de with spam-and-virus-scanned (Exim 3.36
#2)
id 18fzDo-0000KX-00
for jakscht@???; Tue, 04 Feb 2003 10:18:28 +0100
Received: from amavis by mail.vit.de with scanned-ok (Exim 3.36 #2)
id 18fzDo-0000KT-00
for jakscht@???; Tue, 04 Feb 2003 10:18:28 +0100
Received: from draco.cus.cam.ac.uk ([131.111.8.18] ident=cusexim)
by mail.vit.de with esmtp (Exim 3.36 #2)
id 18fzDo-0000KG-00
for jakscht@???; Tue, 04 Feb 2003 10:18:28 +0100
Received: from ph10 (helo=localhost)
by draco.cus.cam.ac.uk with local-esmtp (Exim 4.12)
id 18fzDU-0002aI-00; Tue, 04 Feb 2003 09:18:08 +0000
Date: Tue, 4 Feb 2003 09:18:08 +0000 (GMT)
From: Philip Hazel <ph10@???>
Reply-To: exim-users@???
To: Michael Jakscht <jakscht@???>
cc: exim-users@???
Subject: Re: [Exim] Problem with exim4.12 and mail command in system-filter
In-Reply-To: <C1256CC3.003128ED.00@???>
Message-ID: <Pine.SOL.4.44.0302040917160.7932-100000@???>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Virus-scanned: RZV network systems, (c) 2002
X-Spam-Status: No, hits=-2.0 required=8.0
tests=EMAIL_ATTRIBUTION,FROM_ENDS_IN_NUMS,IN_REP_TO,
MAILTO_TO_SPAM_ADDR,QUOTED_EMAIL_TEXT,
SIGNATURE_SHORT_DENSE,SPAM_PHRASE_01_02,USER_AGENT_PINE
version=2.43
X-Spam-Level:
X-Filtered-by: mail.vit.de at 2003-02-04 10:18:29, passed filter: domain,
from, subject, body, receiver, sender
X-Delivered-To: jakscht@???
On Tue, 4 Feb 2003, Michael Jakscht wrote:
> --------------------
> if "${if def:h_x-infected:{1}{0}}" is "1" then
> mail to $reply_address:
> --------------------
>
> $reply_address: should be the one I need....
> But if you look at the logs you will see that this email
> will be rejected by my primary mx due to "missing or malformed mail
> addresses"...
Remove the colon that follows $reply_address.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.