[Exim] File lookups in rewrite rules?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Michael Renzmann
Date:  
À: exim-users
Anciens-sujets: [Exim] rewriting from: depending on to: or cc:, file lookup in rewrite rules?
Sujet: [Exim] File lookups in rewrite rules?
Hi all.

As it seems that my first mail doesn't receive an answer, I'll try it
another time.

I'd like to do the following, using Exim 4.20:

Look up if any part of $header_to or $header_cc can be found in the
first part of the list. If successful, the rewrite rule will be applied
with the second part of the matching line.


For example, the lookup-file contains this line:

exim-users@???: exim-users@???

The wanted result: if the mail has exim-users@??? either in
$header_to or $header_cc, the rewrite-rule should be applied with
exim-users@??? for from/sender/from-envelope (for example).


Can this be done?

Bye, Mike