Am 2015-10-12 16:23, schrieb Alan DeKok:
On Oct 12, 2015, at 10:08 AM, Bernd <bernd@kroenchenstadt.de> wrote:
Thanks a lot for your reply, Alan. I deleted it from hints and put your snippet into the config, however I still get that error:
Escape the % with a backslash.
Escaped all %'s with a backslash, same problem. if (User-Name =~ /bla\-bla\/([^\%]+)\%kroenchenstadt.de/) { update control { User-Name := "\%{1}@kroenchenstadt.de" } } (1) if (&User-Name =~ /@\\./) (1) if (&User-Name =~ /@\\./) -> FALSE (1) if (User-Name =~ /bla\-bla\/([^%]+)\%kroenchenstadt.de/) (1) ERROR: bla-bla/([^%]+)%kroenchenstadt.de (1) ERROR: ^ Invalid variable expansion (1) ERROR: Failed retrieving values required to evaluate condition (1) } # filter_username filter_username = notfound (1) [preprocess] = ok
And upgrade to 3.0.10. It makes a big difference.
Thanks, I'll check that. However, the repos just list 3.0.4, so I'd have to create an RPM myself (do it quite often, so no show stopper).
Alan DeKok.
Bernd