[exim-dev] [Bug 596] rewrite rules are evaluated case-sensit…

Top Pagina
Delete this message
Reply to this message
Auteur: Nigel Metheringham
Datum:  
Aan: exim-dev
Onderwerp: [exim-dev] [Bug 596] rewrite rules are evaluated case-sensitive
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=596

Nigel Metheringham <nigel@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nigel@???
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID





--- Comment #1 from Nigel Metheringham <nigel@???> 2007-09-09 12:54:14 ---
Documentation section 31.5 Rewriting patterns

Domains in patterns should be given in lower case. Local parts
in patterns are case-sensitive. If you want to do case-insensitive
matching of local parts, you can use a regular expression that
starts with ^(?i).

The other thing is that rewriting should not be used for routing -
that way lies madness (or a reimplementation of sendmail).

Use an alias type router - as shown in
http://www.exim.org/exim-html-current/doc/html/spec_html/ch22.html

If you really want to embed the local_parts involved in the main
config file then do something like:-

  special_alias:
    driver = redirect
    domains = digadd.de
    local_parts = schmidt
    data = charlie@???


(untested)


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email