On Mar 20, 2006, at 4:27 PM, Benjamin Owens wrote:
I'm trying to find a way to list all the aliases that a domain has..
example, I have both oldeportfish.com and oldportfish.com, with the
being an alias of oldeportfish.com.
If I run vdominfo on oldportfish.com it shows that it is an alias of
oldeportfish.com, but how do I find all the aliases of
there are possibly more that I don't know about.)
I don't think there's a simple way to do it. Here are two ways that
will work, but aren't pretty.
~vpopmail/bin/vdominfo | grep "alias of oldeportfish.com"
grep ":oldeportfish.com:" /var/qmail/users/assign | cut -d: -f1
(and then strip/ignore the leading "+" and trailing "-")
Tom Collins - [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/