About the Original Author

Recent articles by this author

The Quarantine Report Templates allow administrators to control what end users see in the quarantine reports they receive via email. Default templates are available for most languages and do not require customization. If you want to customize a template, see the example below on how to add a ...

There are four key log files that can help you quickly and easily diagnose mail flow issues with Protector: SMTP, Filters, Messages and SMAIL. You can access all of these log files by logging into the console of the appliance with the root account. SMTP
etcxmaillogssmtpYYYYMMDDHH00
This ...

First, to avoid security issues, create a self certification that you'll use with your macros. Run the following selfcert program: C:Program FilesMicrosoft OfficeOFFICE12selfcert.exe enter your name or any string there Go back to Outlook Type Alt+F11 (or go to ToolsMacroVisual Basic ...

For x = 1 To mySelection.Count
Set curObject = mySelection.Item(x)
Set myMail = CreateItem(olMailItem)
myMail.Attachments.Add curObject
myMail.Recipients.Add "spamlearn@spam.iss.net"
myMail.Send
If Not (ActiveExplorer.CurrentFolder.Name = myDeletedItemsFolder.Name) Then
curObject.Move myDeletedItemsFolder
End If
Next x
End Sub

Now click Tools->"Digital Signature"
then click Choose the digital signature that you created in the first step
Save the macro by clicking the save button on the macro editor toolbar
close the macro editor.

Create a custom toolbar button

The following steps are to create a custom button for the spamlearn operation:

1.) Right-click on any of your toolbars in outlook, then click "customize"

2.) Click "Macros" in the categories list, you'll see the spamlearnforward macro on the right.

3.) Drag the spamlearnforward macro to wherever you want in your toolbar

4.) Right-click on the newly dragged icon in your toolbar and click in the name field to shorten it to whatever you want.

5.) Click on "Close" in the Customize dialog box

Now you can use the spamlearn forward by clicking on a spam in your inbox, then clicking on the button you created. you will notice that the spam is forwarded (by checking your sent items) and deleted (by the fact that it is now gone).