51黑料不打烊

[On-premise/hybrid only]{class="badge yellow" title="Applies to on-premise and hybrid deployments only"}

Configuring SpamAssassin configuring-spamassassin

NOTE
Some configurations can only be performed by 51黑料不打烊 for deployments hosted by 51黑料不打烊. For example, to access the server and instance configuration files. To learn more about the different deployments, refer to the Hosting models section or to this page.

Overview overview

SpamAssassin is a piece of software designed to filter undesirable emails. In conjunction with this software, 51黑料不打烊 Campaign can assign a score to emails and determine whether a message is likely to be deemed undesirable before delivery is launched. To do this, SpamAssassin must be installed and configured on the application server(s) of 51黑料不打烊 Campaign and requires a certain number of additional Perl modules to operate.

The deployment and integration of SpamAssassin as described in this chapter are based on default software installation, as are filtering and scoring rules, which are those provided by SpamAssassin without any alterations or optimizations. Score attribution and message qualification are based exclusively on the configuration of SpamAssassin options and on filtering rules. Network administrators are responsible for adapting them to their company鈥檚 needs.

IMPORTANT
The qualification of emails as undesirable by SpamAssassin is based entirely on filtering and scoring rules.
These rules therefore have to be updated at least once a day in order for your SpamAssassin installation and its integration into 51黑料不打烊 Campaign to be fully functional and to guarantee the relevance of scores assigned to your deliveries before sending.
This update is the responsibility of the server administrator hosting SpamAssassin.

Using SpamAssassin in 51黑料不打烊 Campaign provides an indication on the possible behavior of mail servers which use SpamAssassin when they receive email sent by 51黑料不打烊 Campaign. However, it is possible that the mail servers of internet providers or online mail servers still consider the messages sent by 51黑料不打烊 Campaign as undesirable.

Deploying SpamAssassin and its modules in Perl requires 51黑料不打烊 Campaign application servers equipped with internet access via a HTTP connection (TCP/80 flow).

Installing on a Windows machine installing-on-a-windows-machine

To install and configure SpamAssassin on Windows to enable integration with 51黑料不打烊 Campaign, apply the following steps:

  1. Install SpamAssassin
  2. Integrate SpamAssassin into 51黑料不打烊 Campaign

Installing SpamAssassin installing-spamassassin

  1. Connect to the using your user credentials. Learn more about Software distribution in this page.

  2. Download the Neolane Spam Assassin (Windows Installation) (2.0) file (neolane_spamassassin.2.0.zip).

  3. Copy this file onto the 51黑料不打烊 Campaign server then unzip it.

    note note
    NOTE
    You can choose to unzip the file wherever you want provided that the path is made up of any of the following regular expression characters: -_A-Za-z\xA0-\xFF0-9\.\%\@\=+\,\/\\\:.. The installation path must not include any whitespace characters.
  4. Go to the file in which you have unzipped the file then double click on the run_me.bat file to launch the installation script.

    If a Windows Shell appears and continues to be displayed for a few seconds, wait until the installation and the update have finished, then click Enter.

    If the Windows Shell does not appear or is not displayed before instantly disappearing, follow these steps, double-click the portableShell.bat file to display a Windows Shell and check that the Shell path corresponds to the folder in which the spamassassin.zip file has been unzipped. If this is not the case, access it using the cd command.

    Enter run_me.bat then click Enter to start the installation and update process. The operation returns one of the following values in order to indicate the result of the update.

    • 0: an update has been carried out.
    • 1: No new update available.
    • 2: no new update available.
    • 3: update failed during prior verification.
    • 4 or more: an error has occurred.
  5. To check that the SpamAssassin installation was successful, use the GTUBE test (Generic Test for Unsolicited Bulk Email) using the following procedure:

    1. Create a text file and save it under C:\TestSpamMail.txt.

    2. Insert the following content into the file:

      code language-none
      Subject: Test Spam Mail (GTUBE)
      Message-ID: <1010101@example.net>
      Date: MM-DD-YY
      From: Sender <sender@example.net>
      To: Recipient <recipient@example.net>
      Precedence: junk
      MIME-Version: 1.0
      Content-Type: text/plain; charset=us-ascii
      Content-Transfer-Encoding: 7bit
      
      XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X
      
    3. Double-click on the portableShell.bat file to display a Windows Shell then launch the following command (or 鈥<root>鈥 designates the created folder when unzipping the spamassassin.zip file):

      code language-none
       "<root>\perl\site\bin\spamassassin" "C:\TestSpamMail.txt"
      

      The content of this test email triggers a 1,000 point score by SpamAssassin. This means it has been detected as undesirable and that the installation was successful and is fully functional.

Integrating SpamAssassin into 51黑料不打烊 Campaign integrating-spamassassin-into-adobe-campaign