[exim] local_part in transport_filter

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Testol
Dátum:  
Címzett: exim-users
Tárgy: [exim] local_part in transport_filter


Hi,

I want to configure autoresponder with added signature via
transport_filter.

I set:

autorespond:
driver = autoreply
from =
$local_part@$domain
transport_filter = sign.sh $local_part@$domain

but
$local_part@$domain in sign.sh contains empty string - why?

Best regards.
????e
jjhkh
['oliu uy879**(:"'From Lena@??? Thu Dec 31 12:10:18 2009
Envelope-to: exim-users@???
Received: from lena.kiev.ua ([82.146.52.81]:53115)
    by tahini.csx.cam.ac.uk with esmtp (Exim 4.71)
    (envelope-from <Lena@???>) id 1NQJr3-0002hF-Ue
    for exim-users@???; Thu, 31 Dec 2009 12:10:18 +0000
Received: from c.201.174.a516.dyn.adsl.cyfra.net ([62.80.174.201]
    helo=bedside.lena.kiev.ua)
    by lena.kiev.ua with esmtpsa (TLSv1:AES256-SHA:256)
    (Exim 4.71 (FreeBSD)) (envelope-from <Lena@???>)
    id 1NQJr3-000Izm-1u
    for exim-users@???; Thu, 31 Dec 2009 14:10:13 +0200
Received: from bedside.lena.kiev.ua (localhost.lena.kiev.ua [127.0.0.1])
    by bedside.lena.kiev.ua (8.14.4/8.14.4) with ESMTP id nBVCA9O0046997
    for <exim-users@???>; Thu, 31 Dec 2009 14:10:09 +0200 (EET)
    (envelope-from Lena@???)
Received: (from lena@localhost)
    by bedside.lena.kiev.ua (8.14.4/8.14.4/Submit) id nBVCA8e7046996
    for exim-users@???; Thu, 31 Dec 2009 14:10:08 +0200 (EET)
    (envelope-from Lena@???)
Date: Thu, 31 Dec 2009 14:10:08 +0200
From: Lena@???
To: exim-users@???
Message-ID: <20091231121008.GF804@???>
References: <mailman.1.1262260802.7581.exim-users@???>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <14ff0868a9d6a31d4ffe25631f76be3a@???>
User-Agent: Mutt/1.4.2.3i
X-Spam-Score: -1.5 (-) 
X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL=0.903, BAYES_00=-1.5,
    EXIM_DRIVER=-1, EXIM_EXP_VAR=-1, FORGED_RCVD_HELO=0.135,
    NO_REAL_NAME=0.961 autolearn=ham version=3.1.8
Subject: Re: [exim] local_part in transport_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: Thu, 31 Dec 2009 12:10:18 -0000


> From: Testol


> I want to configure autoresponder with added signature via
> transport_filter.
>
> I set:
>
> autorespond:
> driver = autoreply
> from =
> $local_part@$domain


Are these two lines or one?
Does this "from" work?

> transport_filter = sign.sh $local_part@$domain


Documentation says "The command must be specified as an absolute path."

> but
> $local_part@$domain in sign.sh contains empty string - why?


Try $pipe_addresses instead of $local_part@$domain in the
transport_filter line.