[Exim] File lookups in rewrite rules?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Michael Renzmann
Ημερομηνία:  
Προς: exim-users
Παλιά Θέματα: [Exim] rewriting from: depending on to: or cc:, file lookup in rewrite rules?
Αντικείμενο: [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