Page 1 of 1

How to list all redirects?

Posted: Mon Nov 20, 2006 2:08 pm
by sansancasd
I configured many redirects, but i don't remember them all. The problem is that sxaa only show something when you provide the username and i obviously don't know it...

I'm trying to get a list of mailboxes and redirects. Mailboxes and alias are easy, the redirects aren't. sxaa is kind of a incomplete tool.

Posted: Mon Nov 20, 2006 3:14 pm
by sansancasd
Dumb me...

This script will do:


omshowu -m mailnode-here -i > /tmp/list

for i in `cat /tmp/list` ; do sxaa --user $i --info 500 ; done


Scalix people Please update omshowu's man page, you don't have the -i parameter there.

Posted: Fri Jan 12, 2007 11:21 am
by RickC
Is this still the only way to obtain a list of system installed rules with sxaa?

Posted: Mon Jan 15, 2007 7:33 am
by Valerion
You can probably convert it to a single line

for i in `omshowu -m all -i` ; do sxaa --user $i --info 500 ; done

Because the rules are part of the mailboxes, you need to do it this way.