ODS.OdsMailSpamFilterGuide

  • Topic
  • Discussion
  • ODS.OdsMailSpamFilterGuide(Last) -- Owiki? , 2018-04-19 07:10:32 Edit owiki 2018-04-19 03:10:32

    ODS WebMail Spam Filter Guide

    What is it?

    ODS WebMail offers the feature for Spam Filtering so to control which mails you can receive in our WebMail inbox and which mails to go to your WebMail Spam folder.

    Requirements

    In order the Spam Filter option in ODS WebMail to work properly you need to:

    1. Install the ODS Framework ods_framework_dav.vad package
    2. Install the ODS AddressBook ods_addressbook_dav.vad package
    3. Install the ODS WebMail ods_webmail_dav.vad package version 1.3.93 or higher.
      1. Make sure you have executed all steps from the Mail Installation Guide in order to be configured correctly the settings for receiving mail messages in your ODS dataspace.
        • For example. let's say it is configured for domain with name "example.com".

    Properties

    The Spam properties are set in Preferences page. The properties are:

    1. General Options (What is treated for Spam)
      • Trust junk mail headers set by will automatically recognize mail that is marked by a separate junk mail filtering program. Very often ISP or mail server will install such a filtering program, which adds special headers to your email before it is retrieved by ODS WebMail?. Currently supported are: SpamAssassin? and SpamPal?.
      • Do not mark messages as junk mail if the sender is in my address book prevents messages from being automatically marked as junk mail if the sender is listed in the user's AddressBook? instances. The user can also set the scope of allowed mails to be the contacts of his contacts. This respectively goes with depth 1, 2, etc.
    2. Handling (Determines what to do with junk mail when it is received)
      • When messages are determined to be Spam
        • Move them to the Spam folder (move incoming messages determined to be junk mail to will automatically place junk mail into the specified folder upon arrival);
        • Delete them.
      • Mark messages determined to be Spam as read;
      • Automatically delete spam messages older then N days (0 - no delete);

    Simple example

    1. Go to http://[host]:[port]/ods and register an user, for ex. test1.
      1. Create a WebMail instance for user test1, so to have for example mail value: <none>.
      2. Go to the WebMail instance UI and then click the "References" link.
      3. For the drop-down list with label "Spam Filter" change the value from "Disabled" to "My contacts only".
      4. Click the button "Save".



    2. Logout as user test1 and create user test2.
      1. Create a WebMail instance for user test2, so to have for example mail value: <none>.
    3. Logout as user test2 and create user test3
      1. Create a WebMail instance for user test3, so to have for example mail value: <none>.
    4. Logout as user test3 and login as user test1.
      1. Create an AddressBook instance for user test1.
      2. From the AddressBook instance UI click the button "New Contact"
        1. Now leave the type to be with value "Person" and enter in the "Home" tab for name the value: John
        2. Go to tab "Contact" tab,
        3. Enter in the field "Mail" the value: <none>
          • Note: this is a valid e-mail address of the ODS user test2.
        4. Click "Save"
      3. From the AddressBook instance UI click the button "New Contact"
        1. Now change the type value to "Organization" and enter in the "Home" tab for name the value: Kate&Co.
        2. Go to tab "Business" tab,
        3. Enter in the field "Mail" the value: <none>
          • Note: this is a valid e-mail address of the ODS user test3.
        4. Click "Save"



    5. Now logout and login as user test2 (or user test3).
      1. Go to user test2's WebMail instance
        1. Click the button "Write message".
        2. In the shown form enter:
          1. for field "To": <none>
          2. for field "Subject": simple test
          3. for field "Comma separated tags": test
          4. for field "message": This is simple test.



        3. Click the "send message" button
        4. As result should be shown the message:

          The message has been sent successfully to: test1@example.com

    6. Now logout and login as user test1.
      1. Go to user test1 WebMail instance.
      2. As result in the Inbox there will be received one 1 mail message from <none>.



    7. Now let's see what will happen where user test1 receives mail from a sender, which is not in his contact list. Logout as test1 and register in ODS user test4.
      1. Create a WebMail instance for user test4, so to have for example mail value: <none>.
      2. Go to user test4's WebMail instance.
        1. Click the button "Write message".
        2. In the shown form enter:
          1. for field "To": <none>
          2. for field "Subject": new test
          3. for field "Comma separated tags": test
          4. for field "message": This is new test.



        3. Click the "send message" button
      3. As result should be shown the message:

        The message has been sent successfully to: test1@example.com

    8. Now logout and login as user test1.
      1. Go to user test1 WebMail instance.
      2. As result in the Spam folder there will be one message received from sender with mail <none>:



    CategoryMail CategoryODS CategoryOpenSource CategoryHowTo CategoryOdsMail CategoryWebSite


    Copyright (C) OpenLink Software 2006