[Exim] How to use domain lists in regular expressions in dom…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Marc Haber
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [Exim] How to use domain lists in regular expressions in domain lists
Hi,

I would like to have a rewriting rule like

^foo\+([^-]+)@+local_domains foo+$primary_hostname-$1@$domain Tt

To say it in prose, I would like the following rewrites to happen

foo+bar@??? => foo+host.example-bar@???
foo+bar-baz@??? => foo+bar-baz@??? (untouched)

But I don't seem to be able to get the syntax right. exim complains
"nothing to repeat at offset x", while the offset number points to the
+ of the domain list. Writing \+ does not help.

Can anybody help me out?

Greetings
Marc

--
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29