How to list all redirects?

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

sansancasd

How to list all redirects?

Postby sansancasd » Mon Nov 20, 2006 2:08 pm

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.

sansancasd

Postby sansancasd » Mon Nov 20, 2006 3:14 pm

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.

RickC
Posts: 194
Joined: Tue Nov 16, 2004 12:55 pm
Location: Massachusetts USA
Contact:

Postby RickC » Fri Jan 12, 2007 11:21 am

Is this still the only way to obtain a list of system installed rules with sxaa?

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Mon Jan 15, 2007 7:33 am

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.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 4 guests

cron