Of the system where spamd is running and the port on which spamd listens for incoming requests. This is described in Step 3 in To File Spam to a Separate FolderĪnd location of this file is specified with spamfilter_config X _file (see next step). The list of SpamAssassin tests that matched along with the verdict string. In addition, setting USE_CHECK to 0 returns Setting up a Sieve filter that can file or discard mail above or between a True means that it is spam ( false would be not spam). Where Spam-test: is a literal and everything after String to messages determined to be spam by SpamAssassin. This example adds the header Spam-test: result To Add a Header Containing SpamAssassin Score to Spam Having to change command scripts when changing a system’s IP address. On all addresses is preferable because it s pamfilter X _verdict_ n avoids Which to listen and allowed_hosts is a list ofĪuthorized hosts or networks (using IP addresses) which can connect to this spamd instance.Ġ.0.0.0 can be used with -i listen_ip_address to have spamd listen on all addresses. Where listen_ip_address is the address on Spamd -d -i listen_ip_address -A allowed_hosts If SpamAssassin and Messaging Server are running on different systems, this Spamd defaults to only accepting connections from the local system. Recompile the configuration and restart the server. "pt30m" "pt1h" "pt2h" "pt4h" maxjobs 4 pool IMS_POOL destinationspamfilter1optin spam Ims-ms defragment subdirs 20 notices 1 7 14 21 28 backoff "pt5m" "pt10m" (See Step 1.) In this case, the folder name is spam.įilter all messages coming into the local message store, change the imta.cnf file by adding the destinationspamfilter X optin spam keywords on the ims-ms channel: The value returned by SpamAssassin is specified by the verdict option in spamassassin.opt. The name of the folder is the spam verdict value returnedīy SpamAssassin. This line specifies that spam messagesĪre sent to a folder. Not necessary because the default value already is data:,require In this example, spamfilter1_string_action is Spamfilter1_string_action specifies the Sieve action to take for That the MTA continue operation if there is a failure by spamd. Spamfilter1_config_file specifies the SpamAssassin Spamfilter1_string_action=data:,require "fileinto" fileinto "$U" Spamfilter1_library=/opt/SUNWmsgsr/lib/libspamass.so Spamfilter1_config_file=/opt/SUNWmsgsr/config/spamassassin.opt See Table 14–3Īdd the following lines to the option.dat file: That a string, specified by verdict, is returned if the Name and location of this file is specified in Step 2. The first three stepsĬreate the SpamAssassin configuration file. This example tests messages arriving at the local message store andįiles spam into a folder called spam. Refer to 12.12.5 Spam Filter Keywords and Table 14–1. These examples use a number of options and keywords. To Add the SpamAssassin Result String to the Subject Line To Add a Header Containing SpamAssassin Score to Spam Messages This section describes some common SpamAssassin configuration examples: 14.4.5 SpamAssassin Configuration Examples
0 Comments
Leave a Reply. |