Re: [Exim] Wildcard matching in lookups

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Kirill Miazine
Fecha:  
A: exim-users
Asunto: Re: [Exim] Wildcard matching in lookups
* Paul Makepeace [2002-10-02 14:58]:
> I'm hoping to be able to allow email addresses of the form *localpart
> and localpart* to enable people to give out tagged addresses without too
> much (any) interaction with their mail account, e.g. like
> ebay.johndoe@..
>
> It doesn't seem lsearch can do this - but possibly rewriting could. Has
> anyone done this, or have any suggestions/recipes? It seems like it
> might be a FAQ but I didn't see anything obvious. What I'd also like to
> retain is the actual address used ($received_for) so in the case of
> misuse it's easily traceable.


Search the docs for:

local_part_prefix
local_part_suffix

Here's my forwardfile router which allows me to use km-whatever
addresses:

forwardfile:
    driver = redirect
    domains = +local_domains
    check_local_user
    local_part_suffix = -*
    local_part_suffix_optional
    file = $home/.forward
    no_verify
    check_ancestor
    hide_child_in_errmsg
    directory_transport = address_dir
    pipe_transport = address_pipe


--
Kirill