Re: [exim] Problems with rewriting a domain

2022-08-10 Thread Olaf Hopp (SCC) via Exim-users
On 8/10/22 09:51, Andrew C Aitchison wrote: the command, including any surrounding angle brackets. Argh, RTFM :( So $1 *does* include the opening "<" which is why you had to add the ">" The rule ^([^<]*)@(.*)\\.olddomain\\.org $1@$2.newdomain.org TS seems to work for me. I still had

Re: [exim] Problems with rewriting a domain

2022-08-10 Thread Andrew C Aitchison via Exim-users
On Wed, 10 Aug 2022, Olaf Hopp (SCC) via Exim-users wrote: On 8/9/22 17:54, Andrew C Aitchison wrote: On Tue, 9 Aug 2022, Olaf Hopp (SCC) via Exim-users wrote: [...] You have: ^(.*)@(.*)\.olddomain\.org $1@$2.newdomain.org TS The examples suggest that: *@*olddomain.org $1@$2.newdo

Re: [exim] Problems with rewriting a domain

2022-08-09 Thread Olaf Hopp (SCC) via Exim-users
On 8/9/22 17:54, Andrew C Aitchison wrote: On Tue, 9 Aug 2022, Olaf Hopp (SCC) via Exim-users wrote: [...] You have:    ^(.*)@(.*)\.olddomain\.org $1@$2.newdomain.org TS The examples suggest that: *@*olddomain.org $1@$2.newdomain.org TS would be sufficient. When using 'S' as re

Re: [exim] Problems with rewriting a domain

2022-08-09 Thread Andrew C Aitchison via Exim-users
On Tue, 9 Aug 2022, Olaf Hopp (SCC) via Exim-users wrote: Dear collegues, we moved some internal domains from "olddomain.org" to "newdomain.org" we have internal routing for the new and old domain Now we want to get rid of the routing for "olddomain.org" and I want to rewrite "olddomain.org" to