Specify an administrator email address for Blogs notifications 

Edit configuration property settings to change the administrator email address for notifications. This is the address used to send system notifications, such as notifications sent to users who have posted inappropriate content.


Before starting

To edit configuration files, use the wsadmin client. See Starting the wsadmin client for details.


About this task

By default, automatic notifications are sent from a generic email address, such as blogs-admin@example.com. If Connections is configured so that email addresses are not displayed, you can set a global sender email address for all notification templates, as described in the topic Define a valid global sender email address. If email addresses are displayed, the global sender is ignored. In either case, you should add a specific administrator email address that has access rights to send mail for several notification templates that are used in the workflows for managing content that is flagged as inappropriate. Some of the messages sent automatically instruct the recipient that they can respond to the administrative user email address from which the notification was sent. If you do not edit the default email address, the recipient gets a delivery failure notification when they try to respond to the automatic email.

To specify an administrator email address for managing flagged content...


Procedure

  1. Use the wsadmin client to access and check out the IBM Connections configuration files.

    1. Enter the following command to access the IBM Connections configuration file: execfile("connectionsConfig.py")

        If prompted to specify a service to connect to, type 1 to pick the first node in the list. Most commands can run on any node. If the command writes or reads information to or from a file using a local file path, pick the node where the file is stored. This information is not used by the wsadmin client when you are making configuration changes.

    2. Check out the IBM Connections configuration files:

        LCConfigService.checkOutConfig("<working_directory>","<cell_name>")

        where:

        • <working_directory> is the temporary working directory to which the configuration XML and XSD files are copied and are stored while you make changes to them. Use forward slashes to separate directories in the file path, even if you are using the Microsoft™ Windows™ operating system.

            AIX and Linux™ only: The directory must grant write permissions or the command does not run successfully.

        • <cell_name> is the name of the WAS cell hosting the IBM Connections application. This argument is case-sensitive, so type it with care. To obtain the cell name:print AdminControl.getCell()

        For example:

        • AIX or Linux:LCConfigService.checkOutConfig("/opt/temp","foo01Cell01")

        • Microsoft Windows:LCConfigService.checkOutConfig("c:/temp","foo01Cell01")

  2. Check out the notification-config.xml file using the following command:

      LCConfigService.checkOutNotificationConfig("<temp_dir>","<cell_name>")

      where <temp_dir> is a temporary directory and <cell_name> is the WAS cell where you installed Blogs.

  3. From the temporary directory to which you checked out the notification-config.xml file, open it in a text editor.

  4. Search for the <source name="Blogs" string to find the section that defines the notification settings for the Blogs application.

  5. To configure an administrative email address for handling flagged content in a blog, add or change the value of the sender attribute to a legitimate email address in the <type> elements that have the following name attribute values:

    • confirmflagged

    • notifyflagged

    • notifyquarantined

    • notifyedit

      For example:

      <type name="notifyflagged"> 
      <channel enabled="true" name="email"> 
      <property name="sender">blogs-admin@example.com</property> 
      <property name="url">{notification.source.url}/notifyflagged.jsp</property> 
      </channel> 
      </type>

  6. Save and close the notification-config.xml file.

  7. Check in the configuration files using the following command:

      LCConfigService.checkInNotificationConfig("<temp_dir>", "<cell-name>")

  8. Restart the Blogs server for the changes to take effect.


Parent topic

Administer Blogs using the wsadmin Client


Related tasks


Manage content moderation and flagged content
Define valid administrator email addresses
Moderating Blog comments


   

 

});

+

Search Tips   |   Advanced Search