bug in 'vdominfo -n'?

Lars Uhlmann <[email protected]>
Newsgroups gmane.mail.vpopmail
Organization private
Message-ID <[email protected]>
I'm not sure that the following behavior is by purpose, but it makes
'vdominfo' confusing:

$ vdominfo |egrep -A 4 '^domain:\ mydomain'
,-----
| domain: mydomain.com
| uid:    12345
| gid:    12345
| dir:    /srv/vpopmail/domains/mydomain.com
| users:  1
| --
| domain: mydomain.de (alias of mydomain.com)
| uid:    12345
| gid:    12345
| dir:    /srv/vpopmail/domains/mydomain.com
| users:  1
`-----

But if I use the '-n' option to get only domain names the result is
unexpected:

$ vdominfo -n |egrep '^mydomain'
,-----
| mydomain.com
| mydomain.com
`-----

Ok, I'm using an old version of vpopmail (5.4.10) and this issue has
probably been gone. But if not, can somebody explain the different
output?

Regards,
Lars Uhlmann

!DSPAM:4c3338f532711001834612!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.