Opt Some In With AD/LDAP

From Roaring Penguin
Jump to: navigation, search

In a situation where you have a small number of addresses you wish to opt-in for email filtering use the process below.

  1. Create an OptOut stream and opt it out:
    1. In the webui go to Administration->Opt Others In/Out.
    2. Enter the name OptOut in the Stream box.
    3. Clearing the Opted-In? checkmark.
    4. Click Submit Changes.
  2. To set the default for streams to opt-out:
    1. In the webui go to Setup->Address-to-Stream Mappings:
    2. Enter * (the asterisk character) for the Address and OptOut for Mapping.
    3. Click Submit Changes.
  3. For people you want opted-in for filtering:
    1. In the webui go to Setup->Address-to-Stream Mappings.
    2. For the opt-in email enter its address in the Address box and set the Mapping to the stream value that AD/LDAP resolves to. (This last step is required so that when the user logs in they are put into the appropriate stream/quarantine.) The stream that AD/LDAP resolves to can be found by going to Setup->User Lookups and selecting Test on right for the lookup being used. Then enter the email address in the streaming box and click Run the test.
    3. Click Submit Changes.
    4. Repeat above for each email address to be opted-in for filtering.
  4. In the webui go to Setup->Domain Mappings and set the mapping for the domain to "Database".

Now, only the filtered addresses get their own streams. Everyone not explicitly listed under Address-to-Stream Mappings goes into the unfiltered OptOut stream.