Target Skills:

Ability to set up UBE filters.

 
 
 
 
 
 

More info:

UBE Filter Actions (Admin Guide)

 
     

Set Up a UBE Filter

Let's set up a UBE filter to filter out annoying unsolicited "free offer messages", by filtering and rejecting all messages containing the word "free" in the subject line.

Set Up UBE filtering using the Console

Bring up the Messaging Server Console

1. Start Netscape Console, and open up the Messaging Server Console.

a. From a Unix shell with root privileges, 
# <server-root>startconsole
example: # /usr/netscape/server4/startconsole
b. When the console appears, enter your User ID and Password, and click OK. (see it)
example: admin, admin
c. Click on the + box next to your machine name. (see it)
d. Click on the + box next to Server Group. (see it)
e. Double click on the Messaging Server. (see it)


Go to Configuration Tab/Services/SMTP/Plug-Ins/UBE

2. Open up Configuration, Services.

a. Click on the "Configuration" tab. (see it)
b. Click on the + box next to "Services" in the left pane (if not open already). (see it)
3. Open up UBE Filter Configuration.
a. Click on the +box next to "SMTP" in the left pane (if not open already). (see it)
b. Click on the +box next to "Plug-ins" in the left pane. (see it)
c. Click on "UBE" in the left pane. (see it)


Add and Activate a UBE Filter

4. Make a UBE filter to filter out all messages with subject line "free", sending a rejection message to the sender
    saying "Don't spam me!"

a. Click on "Add" on the UBE Filter Configuration form. (see it)
b. In the "Add a UBE Filter" dialog box, enter the following:
  • If "Subject" = Value "free"
  • then "REJECT" Argument "Don't spam me!"(see it)
c. Click OK to save the filter.
5. Activate the filter to check message headers.
a. Check the "Active" box next to the filter you just created. (see it)
b. Check the "Parse message header" box. (see it)
c. Click "Save" to save your changes.
6. Turn on UBE filtering on the Messaging Server.
a. Click "Plug-ins" in the left pane. (see it)
b. Check the "Status" box next to the UBE plugin ("...libUBEfilter.so") in the right pane.  (see it)
c. Click "Save" to save your changes.
7. Stop and restart SMTP services to make the changes take effect.
a. Click on "Services" in the left pane. (see it)
b. Click to highlight SMTP in the right pane. (see it)
c. Click on "Stop". (see it)
d. Wait for the "Service stopped successfully" message, and click OK. (see it)
e. Click on "Start". (see it)
f. Wait for the "Service started successfully" message, and click OK. (see it)

Verify the Filter Works

NOTE: If you haven't yet set up test messaging accounts and Communicator for messaging, please complete  Adding User Accounts/Create and Test Messaging Accounts , then come back here.

1. Using Communicator, send a message with a subject containing the word "free".

Example: Subject "Get free airline tickets fast with this incredible offer!"
2. Get new messages.

3. The message should bounce back rejected, with a message similar to the following:

The following destination addresses were unknown (please check the addresses and re-mail the message):

Don't spam me!

Please reply to Postmaster@humpback.mcom.com if you feel this message to be in error.


You're done with this exercise.  Click the arrow key at the top to move on.....

 


Produced By Netscape Learning.  Copyright ©1999 Netscape Communications Corporation