[exim] System filter

Top Pagina
Delete this message
Reply to this message
Auteur: Ken Tucker
Datum:  
Aan: exim-users
Oude Onderwerpen: Re: [exim] Exim taking up too much "private dirty" heap memory on 64bit
Onderwerp: [exim] System filter
Hi

Can anyone give me any pointers why I'm getting the following error, is
this a bug in Exim?

In my system filter I have a stanza of the form

if "${if def:header_X-Small: {there}}" is there
then
        mail to $header_to:
             from "postmaster@???"
             subject "Small attachment "
             text "A message from $sender_address with subject $h_subject: 
has a small attachment"
       seen finish
endif



This generates the following error

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  mail to Tucker@???
    generated by system-filter
    SMTP error from remote mail server after RCPT 
TO:<>Tucker@???>:
    host mdomsmp02.cf.ac.uk [10.255.228.31]: 501 Syntax error, parameters 
in command "RCPT TO:<>Tucker@???>" unrecognized or missing


which implies the SMTP dialogue is incorrect when Exim is supplying the
RCPT TO: string, there are extraneous angle brackets around the address

Ken
----------------------------------------------------------------
Ken Tucker BA MBCS CITP
Senior Engineer - Mail Team
Information Services
Cardiff University
----------------------------------------------------------------From BATV+07e945903498187f892c+2543+infradead.org+dwmw2@??? Tue Aug 10 16:27:34 2010
Envelope-to: exim-users@???
Received: from casper.infradead.org ([2001:770:15f::2]:37561)
    by tahini.csx.cam.ac.uk with esmtp (Exim 4.72) (envelope-from
    <BATV+07e945903498187f892c+2543+infradead.org+dwmw2@???>)
    id 1Oiqjl-0002It-0W
    for exim-users@???; Tue, 10 Aug 2010 16:27:34 +0100
Received: from [2001:8b0:10b:1:225:64ff:fee8:e9df]
    by casper.infradead.org with esmtpsa (Exim 4.72 #1 (Red Hat Linux))
    id 1Oiqjk-0005xV-88; Tue, 10 Aug 2010 15:27:32 +0000
From: David Woodhouse <dwmw2@???>
To: Ken Tucker <Tucker@???>
In-Reply-To: <OF9CFB34E1.D71E7F72-ON8025777B.004F1B52-8025777B.004FFABD@???>
References: <4C57D542.6000609@???>
    <20100803140740.GA78240@???>
    <OF9CFB34E1.D71E7F72-ON8025777B.004F1B52-8025777B.004FFABD@???>
Content-Type: text/plain; charset="UTF-8"
Date: Tue, 10 Aug 2010 16:27:31 +0100
Message-ID: <1281454051.5887.7.camel@localhost>
Mime-Version: 1.0
X-Mailer: Evolution 2.31.6 
Content-Transfer-Encoding: 7bit
X-SRS-Rewrite: SMTP reverse-path rewritten from <dwmw2@???> by
    casper.infradead.org See http://www.infradead.org/rpr.html
X-Spam-Score: -1.6 (-) 
X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL=-0.081, BAYES_00=-1.5,
    NO_RELAYS=-0.001 autolearn=no version=3.1.8
Cc: exim-users@???
Subject: Re: [exim] System filter
X-BeenThere: exim-users@???
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: A user list for the exim MTA <exim-users.exim.org>
List-Unsubscribe: <http://lists.exim.org/mailman/listinfo/exim-users>,
    <mailto:exim-users-request@exim.org?subject=unsubscribe>
List-Archive: <http://lists.exim.org/lurker/list/exim-users.html>
List-Post: <mailto:exim-users@exim.org>
List-Help: <mailto:exim-users-request@exim.org?subject=help>
List-Subscribe: <http://lists.exim.org/mailman/listinfo/exim-users>,
    <mailto:exim-users-request@exim.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Aug 2010 15:27:34 -0000


On Tue, 2010-08-10 at 15:33 +0100, Ken Tucker wrote:
> Can anyone give me any pointers why I'm getting the following error,
> is this a bug in Exim?


Can you explain how your problem relates to the discussion about 'Exim
taking up too much "private dirty" heap memory on 64bit', to which you
replied?

--
dwmw2