Re: [Exim] smartuser problem

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Matt Bernstein
CC: exim-users
Tárgy: Re: [Exim] smartuser problem
On Fri, 4 May 2001, Matt Bernstein wrote:

> I have a director like this:
>
> redirect_aliases:
> driver = smartuser
> domains = DCS_DOMAINS
> local_parts = lsearch;/etc/mail/redirect_aliases
> new_address = :fail: user has moved; please try <${lookup{$local_part}lsearch{/etc/mail/redirect_aliases}{$value}}>
> suffix = /*
> suffix_optional
> verify_only
>
> ..but it looks like (with exim -d11 -bv) Exim fails to strip a suffix (if
> supplied), and unfortunately the message is picked up by a subsequent
> director.


This is documented as a warning somewhere in the manual: do a grep for
suffix on spec.txt. The suffix is not stripped until after the
"local_parts" setting has been done.

This is a gotcha that will be changed in Exim 4.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.