Re: [Exim] Regexp Maps?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jerry A!
Date:  
À: Philip Hazel
CC: exim-users
Sujet: Re: [Exim] Regexp Maps?
On Fri, Jan 12, 2001 at 09:21:49AM +0000, Philip Hazel wrote:
: On Fri, 12 Jan 2001, Jerry A! wrote:
:
: > Okay, I have to admit that one of the features I like about Postfix is
: > the ability to use regexps for maps. Has anyone found a way to
: > implement something similar? And no, I'm not looking for a filter.
:
: "Map" is presumably Postfix jargon. I'm afraid I don't know anything
: about Postfix. If you can explain what a "map" does, I might have some
: ideas.

Sorry, my bad. It's just key:value. I think the "map" term is just a
holdover from old-skool db jargon.

Mostly I'm curious if I can put regexps in a file. For example, is it
possible to do something like the following:

host_reject = lsearch;/etc/exim/reject_hosts

reject_hosts:
    ^(a|b)\.some\.domain
    etc...


I apologize for not being clearer in my previous post. I've looked at
the documentation and can't discern if what I want to do is possible.

Thanks in advance...

        --Jerry


name:  Jerry Alexandratos         ||  Open-Source software isn't a
phone: 703.599.6023               ||  matter of life or death...
email: jerry@???           ||  ...It's much more important
                                  ||  than that!