[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fqdnaliases



mea@nic.funet.fi wrote:
> 
> >       What about entries like
> >
> > @domain               @real.domain
> >
> >       in fqdnaliases?  So, we will map user@domain to user@real.domain,
> > user1@domain to user1@real.domain, etc
> 
> Currently
>         @domain
> maps to any ALIAS, not to 'mystic' pattern.
> 
> in the  fqdnaliases.cf  file there is a comment:
> 
> # TODO: *@any.domain  which maps  somebody@any.domain via
> #       replacement pattern(s): %s@other.domain or other.uucp!%s, or ..
> #       to:  somebody@other.domain, or other.uucp!somebody
> # Problem: Supporting ONE target replacement is easy, supporting more
> #          will need major coding work at ``listexpand'' [mea]
> 
> Yeah, maybe...   A new call option for  listexpand, on which we give the
> "$user", and then the router/functions.c: run_listexpand() will do
> substitutions into '%s' for that ?
> 
> Hmm...  '%s' can be troublesome magic form, though...
>                 elves%santa@north.pole
> 
> Any suggestions ?

	Hmm.  Another way.  May be we can add new file, for example, galiases
and remap this addresses in crossbar.cf in intercept() function?

--
	CU, Victor Gamov