Page 1 of 2

How does the average user know who is in a group

Posted: Fri Apr 28, 2006 1:16 pm
by colint
Hi,

This may be a stupid question but can the normal user list somehow the members of a group? You can add the group as a participant to a meeting but there does not appear to be any way to list and know who the users are.

Posted: Fri Apr 28, 2006 2:27 pm
by florian
What client are you using?

In outlook, you can simply right-click on a group and see it's members through the properties page on the group object.

In SWA, this is currently not available.

Cheers,
Florian.

Posted: Fri Apr 28, 2006 2:33 pm
by colint
swa. Thank you.

Posted: Mon May 08, 2006 2:04 pm
by RickC
Is there a way to output the group members via command line? To get a full membership of the group without checking SAC?

Thanks.

Posted: Mon May 08, 2006 5:28 pm
by pete
omshowpdln -l <group name>
should do it

Posted: Wed Feb 28, 2007 3:28 pm
by thatitguy
Just a bump to make this command a little easier to find :)
To list the members of a group from the command line, use the command:
pete wrote:omshowpdln -l <group name>


To make it even more clear, to get the group name, run:

Code: Select all

omshowpdl -l all -I

Then you run the above command with the Internet address of hte group you want to list the members of.

Hope that helps someone find this command a little faster than I did... and thanks to pete for the listing :)

Posted: Wed Feb 28, 2007 6:11 pm
by pete
Actually, I wrote a PHP script to display all PDLs on a web page on our intranet
(actually, it's a SUID program and a script). If anyone is interested I can post it to the WIKI...

Posted: Wed Feb 28, 2007 10:31 pm
by thatitguy
I'll see your php script with one of my own :)

I wrote a script that runs omshowu, and creates a sendmail formatted virtusertable file, then scp's it to the target server and runs make on it.

I wrote it for use on a Spamdigester server (the Spamdigester http://spamdigester.org is a system a friend and I wrote to be used as a perimeter Junk email filtering/ quarantining system based on SpamAssassin). I got tired of having to keep up 2 sets of valid email addresses on the servers, so I whipped up the script to take the load off me (laziness is the mother of invention) ;)

If anyone is interested in it, feel free to email me at rbennett_at_thatitguy_dot_com. It's FOSS but I haven't posted it anywhere yet (one of these days I'll srite up a quick page and post it on my website).
Rubin

Posted: Thu Mar 01, 2007 4:16 pm
by pete
Nice!!

mkVirtUsertable PHP script

Posted: Wed Jul 25, 2007 2:11 pm
by thatitguy
Hello... this is a follow up to my last post where I promised to post a URL for the script that runs the various omshowpdl commands and whips up a virtusertable for Sendmail.

It's intended use is with the Spamdigester (http://spamdigester.org), a set of PHP scripts and wrappers around Sendmail, SpamAssassin, Spamass-milter, and ClamAV that acts as a FOSS perimeter email 'firewall'. It takes every email coming into an organization, and runs it through SpamAssassin. If the message is tagged as spam, then the email is sent to a quarantine area (a MySQL database).
Periodically, a query is run that generates a digest email in HTML format that has radio buttons for each message: Reject, Accept, and Accept and Whitelist. The user submits the form with either the button at the bottom of the email (if their email client allows such foolishness), or by opening the Digest up in a webpage hosted on the Spamdigester system. The SpamDigester is entirely made up of Free and Open Source Software, and utilizes spamAssasin's MySQL userprefs and whitelist functionality. It is currently not trivial to set up, although we're working on that. Feel free to contact me with any questions you may have in setting it up!

The SpamDigester is a Client/ Server application, using XMLRPC in the background, and includes nifty features like database pruning etc..

On to the Scalix integration script... I've added to it the ability to have locally delivered addresses on the Digester server, plus addresses that are ignored on the Digester (i.e. addresses that are only allowed to be used locally on the Scalix server, either via Outlook or SWA, but are not available for public (spam) consumption). An example would be an address like staff@domain.com. It also loops through public distribution groups in addition to individual users.

The script can be found here:http://thatitguy.com/downloads/mkVirtUsertable.php.txt

I would appreciate any thoughts or input you may have! Happy Spam killing!

Posted: Thu Jul 26, 2007 11:01 am
by mikethebike
or use the request server? Does not require command line access, or any usnix knowledge for the user.
Use the subject line as the argument, and return the results to the sender.

Mick

Posted: Thu Jul 26, 2007 11:04 am
by thatitguy
Yup... unfortunately the request server didn't exist (to my knowledge) when I started writing the script. I will likely rewrite to use that functionality instead though now that Scalix 11 is out.

Posted: Thu Jul 26, 2007 11:12 am
by mikethebike
I think you missed a trick :-)
request server has been on there as long as I remember....even with HP Openmail code.

Still...adding it to request server should keep you gainfiully employed :-)

Mick

Posted: Thu Jul 26, 2007 11:39 am
by thatitguy
mikethebike wrote:I think you missed a trick :-)


It's certainly not the first time; nor, sadly, will it be the last... :-)

Is there a chance that you have some code that you'd be willing to share? As detailed above, this is a separate system running Sendmail. If I could 'splain to Sendmail how to look up who's a valid Scalix user and who's not directly and in real time, that would be brilliant!

I'll tinker with it when I have some free time (hah). Thanks for the pointer!

Posted: Thu Jul 26, 2007 11:51 am
by mikethebike
I sent you a PM

Mick