There's a feature in vget_alias...() that the domain parameter is a char *, not a const char * so the domain is overwritten to the "master" domain when you call it.
The correct behaviour would probably be to return all the domains and specify whether they're master or an alias. Brian > Hi, > > when I vaddaliasdomain a domain to another (e.g. the-domain.com > as an alias to (main) the-domain.de domain), vdominfo shows two domains > with the-domain.de name. > > Yet, the aliasing works (mail sent to the-domain.com end > up in the user's the-domain.de inbox. > > Is this normal ? How would I make vdominfo return only those domains > that are not aliases and whose directories actually exist ? > Or would I need to pipe the results through something like uniq(1) ? > > > > cheers, > Rainer > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Rainer Duffner Munich > [EMAIL PROTECTED] Germany > http://www.i-duffner.de Freising > ======================================== > When shall we three meet again > In thunder, lightning, or in rain? > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Brian Galaxy Networks, Inc.