Re: [exim] Rewrite FROM address

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Luke Sheldrick
Dátum:  
Címzett: exim-users@spodhuis.org
CC: exim-users@exim.org
Tárgy: Re: [exim] Rewrite FROM address
Hi again Phil,

I get the below error when trying to start exim with your excert:

Starting exim: 2008-03-02 23:14:14 Exim configuration error in line 656 of /etc/exim/exim.conf:
missing rewrite replacement string

using the following syntax under the transporters section

remote_smtp:
driver = smtp
headers_rewrite = *@an0key.co.uk${lookup{$local_part@$domain}lsearch{/etc/exim/redir/$1}{$value}fail}@???
return_path = ${lookup{$local_part@$domain}lsearch{/etc/exim/redir/$1}{$value}fail}



>-----Original Message-----
>From: exim-users-bounces@??? [mailto:exim-users-bounces@exim.org] On
>Behalf Of Phil Pennock
>Sent: 26 February 2008 10:34
>To: Luke Sheldrick
>Cc: exim-users@???
>Subject: Re: [exim] Rewrite FROM address
>
>On 2008-02-25 at 14:02 -0000, Luke Sheldrick wrote:
>> My config for my transporters looks like:
>
>> redirect:
>> internal:
>> external:
>
>> how would I phrase you extra config to allow the rewrites?
>
>You listed your Routers; these are the list of options to decide how to
>deal with an address, with each Router tried in turn.
>
>Notice that both the "internal" and "external" Routers contain:
> "transport = remote_smtp"
>which sets the transport to use for delivery of the copy of the email
>destined for that address. The Transports are a collection of
>techniques to use, as an unordered set; they're only used when
>referenced by a Router.
>
>The settings I described are transport settings and belong on
>"remote_smtp" in its definition somewhere after "begin transports".
>
>Regards,
>-Phil
>
>--
>## List details at http://lists.exim.org/mailman/listinfo/exim-users
>## Exim details at http://www.exim.org/
>## Please use the Wiki with this list - http://wiki.exim.org/