[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] viewing all aliases
- Subject: Re: [cobalt-users] viewing all aliases
- From: baltimoremd@xxxxxxxxxxxxxxx
- Date: Fri Sep 7 09:47:22 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Fri, 7 Sep 2001, Richard Kurth wrote:
> Is there a telnet command line command to see all of the aliases are
> for each domain.
You can use
ls -al /home/spool/mail/* | awk {'print $4" "$3'} | sort
call it allusers.sh
chmod a+x
if you want to create a txt file
./allusers.sh > allusers.txt
You can mail it to yourself by
mail -s "All Users" your_email_address < /root/allusers.txt
You could also do a multi-line deal to create the list and mail it
yourself
Thom
baltimoremd@xxxxxxxxxxxxxxx Thom LaCosta K3HRN Webmaster
http://www.baltimoremd.com/cobaltfacts/
Home of the CobaltFacts Web Ring - cobalt-ot and hosting-biz mailing lists