On Tue, Nov 27, 2001 at 03:42:12PM +0100, Tamas TEVESZ wrote: > On Tue, 27 Nov 2001, Sven Goldt wrote:
>
> > so there is a file called e.g. virtual.dom, but if somebody
> > sends mail to friend@??? the file host.virtual.dom
> > is obviously not found.
> > How can i get the domain without the subdomain ?
>
> for example,
>
> driver = smartuser
> domains = *.domain.tld
> new_address = ${local_part}@???
>
Thanks for the hint, but this only works for one domain.
How do i rewrite p3.p2.p1 to p2.p1 where the adress is variable ?