Staff email group

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

sgreen
Posts: 211
Joined: Tue Mar 03, 2009 1:23 pm
Location: Installs.com

Re: Staff email group

Postby sgreen » Tue Apr 07, 2009 11:25 am

The DN is blank?
I will try this later today when I can restart the service without too many folks being around.

jangi
Posts: 193
Joined: Fri May 16, 2008 2:12 am

Re: Staff email group

Postby jangi » Tue Apr 07, 2009 11:40 am

No, that is one line

Code: Select all

DN=CN=sxadmin

ie, the DN is CN=sxadmin.

Restarting ldapmapper shouldn't cause anything bad to happen. If it doesn't work with the config file you create just rename the file and restart again.

camerond01
Posts: 15
Joined: Thu May 29, 2008 12:02 am
Location: Perth, Western Australia

Re: Staff email group

Postby camerond01 » Mon Aug 02, 2010 4:50 am

In case anyone else wanted to do something similar, here's what I wanted to do and how I got it working.

We extensively use groups internally but I didn't want them to receive mail from external sources. The spam filter in front of Scalix was doing a valiant job filtering the rubbish out but occassionally it would let one slip through to a group email address. Long story short, I couldn't block email to specific recipients at the spam filter. Thanks to previous posts I worked out how to do this in Scalix. To apply this to all public distribution groups I run this script:

Code: Select all

omshowpdl -l all | while read line; do
        echo Removing default ACI for "$line"...
        omdelaci -l "$line" -g default

        echo Adding local ACI read for "$line"...
        omaddaci -l "$line" -g local -c read

        echo Showing ACI capabilities "$line"...
        omshowaci -l "$line"
        echo
done

Seems to work nicely. Would there be any unexpected side effects caused by this? Is there a better way to do this? Are there default ACIs that can be applied when new PDLs are created? That would obviate the need to run this script. I could schedule it to run regularly but I prefer things to be executed as required.

Cheers,
Cameron
Cameron


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 17 guests