<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://commons.oreilly.com/wiki/skins/common/feed.css?97"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://commons.oreilly.com/wiki/index.php?title=SpamAssassin/Using_SpamAssassin_as_a_Proxy&amp;action=history&amp;feed=atom</id>
		<title>SpamAssassin/Using SpamAssassin as a Proxy - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://commons.oreilly.com/wiki/index.php?title=SpamAssassin/Using_SpamAssassin_as_a_Proxy&amp;action=history&amp;feed=atom"/>
		<link rel="alternate" type="text/html" href="http://commons.oreilly.com/wiki/index.php?title=SpamAssassin/Using_SpamAssassin_as_a_Proxy&amp;action=history"/>
		<updated>2013-05-24T15:00:34Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.11.0</generator>

	<entry>
		<id>http://commons.oreilly.com/wiki/index.php?title=SpamAssassin/Using_SpamAssassin_as_a_Proxy&amp;diff=5288&amp;oldid=prev</id>
		<title>Docbook2Wiki: Initial conversion from Docbook</title>
		<link rel="alternate" type="text/html" href="http://commons.oreilly.com/wiki/index.php?title=SpamAssassin/Using_SpamAssassin_as_a_Proxy&amp;diff=5288&amp;oldid=prev"/>
				<updated>2008-03-07T10:56:42Z</updated>
		
		<summary type="html">&lt;p&gt;Initial conversion from Docbook&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 10:56, 7 March 2008&lt;/td&gt;
			&lt;/tr&gt;
		&lt;/table&gt;</summary>
		<author><name>Docbook2Wiki</name></author>	</entry>

	<entry>
		<id>http://commons.oreilly.com/wiki/index.php?title=SpamAssassin/Using_SpamAssassin_as_a_Proxy&amp;diff=5234&amp;oldid=prev</id>
		<title>Docbook2Wiki: Initial conversion from Docbook</title>
		<link rel="alternate" type="text/html" href="http://commons.oreilly.com/wiki/index.php?title=SpamAssassin/Using_SpamAssassin_as_a_Proxy&amp;diff=5234&amp;oldid=prev"/>
				<updated>2008-03-07T10:53:32Z</updated>
		
		<summary type="html">&lt;p&gt;Initial conversion from Docbook&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{SpamAssassin/TOC}}&lt;br /&gt;
In some environments, it makes no sense to install SpamAssassin on the mail server. For example, the mail server may be underpowered to perform content-checking. Or perhaps users have widely ranging preferences for how much (or indeed whether) spam-checking should be performed, and they may not have accounts on the mail server or any convenient way of configuring their preferences. In these environments, one way to provide those users who want the power of SpamAssassin with spam-checking is to help them install a SpamAssassin POP proxy.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;tip&amp;quot;&amp;gt;&lt;br /&gt;
'''Tip'''&lt;br /&gt;
&lt;br /&gt;
Many more POP proxies are available than IMAP proxies, primarily because IMAP is a much more complex protocol and doesn't require that messages be downloaded to the client. At the time of writing, no freely distributed SpamAssassin IMAP proxies for Windows clients were available.&lt;br /&gt;
&lt;br /&gt;
In addition, most extant proxies call SpamAssassin through the Perl API to avoid having to run the &amp;lt;tt&amp;gt;spamassassin&amp;lt;/tt&amp;gt; shell script or a persistent &amp;lt;tt&amp;gt;spamd&amp;lt;/tt&amp;gt; daemon. Because the Perl API will change in SpamAssassin 3.0, proxies written for SpamAssassin 2.63 are unlikely to continue to work until they are upgraded.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Proxy software is middleware. A proxy receives connections from a client and relays them to a server, intercepting all communication in each direction. Application proxies have been used to pierce smart holes in strong firewalls, to cache frequently accessed data, and to perform a variety of other functions.&lt;br /&gt;
&lt;br /&gt;
Logically, POP proxies sit between a mail client and a POP server. Actually, these proxies typically run on the same computer as the mail client. The proxies discussed in this chapter not only relay data (email messages) between the client and server, but also invoke SpamAssassin to perform spam-checking on the email after it has been received from the server but before it is relayed to the client. Users continue to use their favorite POP client; no changes need be made at the POP server.&lt;br /&gt;
&lt;br /&gt;
In this chapter, I review two SpamAssassin proxies. The first is the venerable Pop3proxy, a freely distributed command-line proxy script written in Perl and suitable for use on several operating systems. The second is the commercial proxy SAproxy Pro from Stata Labs.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;warning&amp;quot;&amp;gt;&lt;br /&gt;
'''Warning'''&lt;br /&gt;
&lt;br /&gt;
POP proxies do not offer the complete functionality of POP servers; in particular, they may be limited in how they can perform authentication and secure the transaction. Using a POP proxy may result in sending your email password across the Internet in the clear.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[SpamAssassin/Using SpamAssassin as a Proxy#spamassassin-CHP-9-FIG-1|Figure 9-1]] illustrates the example topology for this chapter. ''pop.example.com'' is a POP mail server. ''win.example.com'' is a Windows-based user workstation that runs a POP mail client (e.g., Outlook Express, Eudora, Netscape Messenger). The SpamAssassin POP proxy will be installed on ''win.example.com'', and the mail client will be configured to connect to the proxy rather than to the POP server. The proxy will be configured to connect to the POP server and to run SpamAssassin on messages as they are downloaded.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;spamassassin-CHP-9-FIG-1&amp;quot;&amp;gt;&lt;br /&gt;
'''Figure 9-1. An example POP mail topology with a client-side proxy'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SpamAssassin_I_9_tt161.png|An example POP mail topology with a client-side proxy]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using Pop3proxy ==&lt;br /&gt;
&lt;br /&gt;
Pop3proxy, by Dan McDonald, is one of the oldest SpamAssassin POP proxies and, to its credit, still functions well with SpamAssassin 2.63. It's a no-fills proxy written in Perl and requires manual installation and configuration. It does not perform network-based SpamAssassin tests. Download Pop3proxy (and read the manual) at ''http://mcd.perlmonk.org''.&lt;br /&gt;
&lt;br /&gt;
=== Installing Pop3proxy ===&lt;br /&gt;
&lt;br /&gt;
Follow these steps to install Pop3proxy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;div&amp;gt;Download ''pop3proxy.zip'' and unpack it into a directory of your choice. For this example, I assume you've unpacked it in ''C:\pop3proxy'' so a directory listing of that directory would look like this:&lt;br /&gt;
&lt;br /&gt;
 C:\pop3proxy&amp;gt;'''dir /s'''&lt;br /&gt;
 &lt;br /&gt;
  Directory of C:\pop3proxy&lt;br /&gt;
 &lt;br /&gt;
 03/26/2004  09:56p      &amp;lt;DIR&amp;gt;          .&lt;br /&gt;
 03/26/2004  09:56p      &amp;lt;DIR&amp;gt;          ..&lt;br /&gt;
 03/26/2004  09:56p      &amp;lt;DIR&amp;gt;          pop3proxy&lt;br /&gt;
 08/18/2002  05:40p              60,781 pop3proxy.pl&lt;br /&gt;
 08/18/2002  05:40p              28,798 pop3proxy.html&lt;br /&gt;
                2 File(s)         89,579 bytes&lt;br /&gt;
 &lt;br /&gt;
  Directory of C:\pop3proxy\pop3proxy&lt;br /&gt;
 &lt;br /&gt;
 03/26/2004  09:56p      &amp;lt;DIR&amp;gt;          .&lt;br /&gt;
 03/26/2004  09:56p      &amp;lt;DIR&amp;gt;          ..&lt;br /&gt;
 08/12/2002  08:19a               6,240 Artistic&lt;br /&gt;
 08/11/2002  08:45p                 567 kill_proxy.pl&lt;br /&gt;
 08/12/2002  08:30a                 536 hostmap.sam&lt;br /&gt;
                3 File(s)          7,343 bytes&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;div&amp;gt;Install a version of Perl for Windows that includes the ''Time::HiRes'' module. Several Perl distributions for Windows are available, but one that is known to work (and provides a precompiled version of the module) is ActivePerl, available at ''http://www.activestate.com/Products/ActivePerl''. Either ActivePerl 5.6.1 or 5.8.3 works well with Pop3proxy. ActivePerl 5.8.3 supports Unicode. ActivePerl 5.6.1 does not support Unicode but has been extensively tested with SpamAssassin. In this example, I assume you've installed ActivePerl in ''C:\perl''.&lt;br /&gt;
&lt;br /&gt;
''Time::Hires'' can be installed through ActivePerl's Perl Package Manager. After installing ActivePerl, run the Perl Package Manager, and type &amp;lt;tt&amp;gt;'''install Time::HiRes'''&amp;lt;/tt&amp;gt; at the &amp;lt;tt&amp;gt;ppm&amp;gt;&amp;lt;/tt&amp;gt; prompt. Type &amp;lt;tt&amp;gt;'''quit'''&amp;lt;/tt&amp;gt; to exit the Package Manager.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;div&amp;gt;Download and unpack SpamAssassin. Copy all of the files and directories in SpamAssassin's ''lib'' directory to ActivePerl's ''C:\perl\site\lib'' directory. Copy SpamAssassin's ''rules'' directory and all its contents to ''C:\pop3proxy\rules''. Copy the ''user_prefs.template'' file from the ''rules'' directory to ''C:\pop3proxy'' and rename it ''user_prefs.'' The ''C:\pop3proxy'' directory should now look like this:&lt;br /&gt;
&lt;br /&gt;
 C:\pop3proxy&amp;gt;'''dir /w /s'''&lt;br /&gt;
 &lt;br /&gt;
  Directory of C:\pop3proxy&lt;br /&gt;
 &lt;br /&gt;
 [.]              [..]             [pop3proxy]      pop3proxy.html&lt;br /&gt;
 pop3proxy.log    pop3proxy.pl     [rules]          user_prefs&lt;br /&gt;
                4 File(s)        110,825 bytes&lt;br /&gt;
 &lt;br /&gt;
  Directory of c:\pop3proxy\pop3proxy&lt;br /&gt;
 &lt;br /&gt;
 [.]             [..]            Artistic        hostmap.sam     kill_proxy.pl&lt;br /&gt;
                3 File(s)          7,343 bytes&lt;br /&gt;
 &lt;br /&gt;
  Directory of C:\pop3proxy\rules&lt;br /&gt;
 &lt;br /&gt;
 [.]                     [..]                    10_misc.cf&lt;br /&gt;
 20_anti_ratware.cf      20_body_tests.cf        20_compensate.cf&lt;br /&gt;
 20_dnsbl_tests.cf       20_fake_helo_tests.cf   20_head_tests.cf&lt;br /&gt;
 20_html_tests.cf        20_meta_tests.cf        20_phrases.cf&lt;br /&gt;
 20_porn.cf              20_ratware.cf           20_uri_tests.cf&lt;br /&gt;
 23_bayes.cf             25_body_tests_es.cf     25_body_tests_pl.cf&lt;br /&gt;
 25_head_tests_es.cf     25_head_tests_pl.cf     30_text_de.cf&lt;br /&gt;
 30_text_es.cf           30_text_fr.cf           30_text_it.cf&lt;br /&gt;
 30_text_pl.cf           30_text_sk.cf           50_scores.cf&lt;br /&gt;
 60_whitelist.cf         languages               local.cf&lt;br /&gt;
 regression_tests.cf     STATISTICS-set1.txt     STATISTICS-set2.txt&lt;br /&gt;
 STATISTICS-set3.txt     STATISTICS.txt          triplets.txt&lt;br /&gt;
 user_prefs.template&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;div&amp;gt;Edit ''C:\pop3proxy\user_prefs'' and set up SpamAssassin preferences. See [[SpamAssassin/SpamAssassin Basics|Chapter 2]] and [[SpamAssassin/SpamAssassin Rules|Chapter 3]] for configuration details.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Starting Pop3proxy ===&lt;br /&gt;
&lt;br /&gt;
To start Pop3proxy, you must invoke Perl on the &amp;lt;tt&amp;gt;pop3proxy.pl&amp;lt;/tt&amp;gt; script and provide command-line arguments to identify the POP server. If you allowed ActivePerl to associate its &amp;lt;tt&amp;gt;perl.exe&amp;lt;/tt&amp;gt; program with ''.pl'' file extensions, you should be able to execute &amp;lt;tt&amp;gt;pop3proxy.pl&amp;lt;/tt&amp;gt; directly. Otherwise, set up a shortcut or batch file containing:&lt;br /&gt;
&lt;br /&gt;
 c:\perl\bin\perl c:\pop3proxy\pop3proxy.pl --host ''pop.example.com''&lt;br /&gt;
             &lt;br /&gt;
&lt;br /&gt;
When invoked, the shortcut will open a DOS window and execute the proxy script. You can stop the proxy by typing CTRL-C in the DOS window. When you've confirmed that it's working as you like, you can replace ''\perl\bin\perl'' with ''\perl\bin\wperl'' in the shortcut. &amp;lt;tt&amp;gt;wperl&amp;lt;/tt&amp;gt; runs the script in the background (without opening a DOS window); use it when you plan to keep Pop3proxy running all the time. You can stop the proxy by invoking the &amp;lt;tt&amp;gt;kill_proxy.pl&amp;lt;/tt&amp;gt; script included with Pop3proxy, or by using the Windows Task Manager to kill the &amp;lt;tt&amp;gt;wperl&amp;lt;/tt&amp;gt; process.&lt;br /&gt;
&lt;br /&gt;
Here is a complete list of Pop3proxy's command-line arguments:&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;--host&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;''hostname[:port]''&amp;lt;/tt&amp;gt;&lt;br /&gt;
: Provide the hostname (and optionally, the port number) of the remote POP server to proxy.&lt;br /&gt;
;&amp;lt;tt&amp;gt;--logfile&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;''filename''&amp;lt;/tt&amp;gt;&lt;br /&gt;
: Provide the name of a file to log connection and status information to. This defaults to ''pop3proxy.log''. The log file can be useful in debugging problems with Pop3proxy. [[SpamAssassin/Using SpamAssassin as a Proxy#spamassassin-CHP-9-EX-1|Example 9-1]] shows a Pop3proxy log of a successful connection in which Pop3proxy downloaded two messages and classified one as spam.&lt;br /&gt;
;&amp;lt;tt&amp;gt;--maxscan&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;''bytes''&amp;lt;/tt&amp;gt;&lt;br /&gt;
: Specify the largest message, in bytes, that Pop3proxy will invoke SpamAssassin on. The default is 250,000, which is reasonable. Larger sizes cause more messages to be scanned, but larger messages scan more slowly.&lt;br /&gt;
;&amp;lt;tt&amp;gt;--nopad&amp;lt;/tt&amp;gt;&lt;br /&gt;
: POP servers sometimes provide POP clients with message- and mailbox-size information. Running SpamAssassin on a message when it's between server and client can change (typically, enlarge) the message size. Most modern clients handle this situation with no problems, but if yours does not, the &amp;lt;tt&amp;gt;--nopad&amp;lt;/tt&amp;gt; option causes Pop3proxy to overwrite text in existing headers rather than adding new ones, maintaining a constant size at the cost of obfuscating the message headers to a small degree.&lt;br /&gt;
;&amp;lt;tt&amp;gt;--allowtop&amp;lt;/tt&amp;gt;&lt;br /&gt;
: The POP protocol provides a &amp;lt;tt&amp;gt;TOP&amp;lt;/tt&amp;gt; command that the client uses to request only a limited amount of a message from the server (deferring the retrieval of the rest of the message until it's explicitly asked for). &amp;lt;tt&amp;gt;TOP&amp;lt;/tt&amp;gt; doesn't interact well with spam-checking proxies, and Pop3proxy normally prevents the client from using it. If you want to try it out anyway, use the &amp;lt;tt&amp;gt;--allowtop&amp;lt;/tt&amp;gt; argument.&lt;br /&gt;
;&amp;lt;tt&amp;gt;--exitport&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;''portnumber''&amp;lt;/tt&amp;gt;&lt;br /&gt;
: The &amp;lt;tt&amp;gt;kill_proxy.pl&amp;lt;/tt&amp;gt; script works by connecting to a second port that &amp;lt;tt&amp;gt;pop3proxy.pl&amp;lt;/tt&amp;gt; listens on. Any connections on this port cause &amp;lt;tt&amp;gt;pop3proxy.pl&amp;lt;/tt&amp;gt; to exit. By default, the port number is 9625, but you can use the &amp;lt;tt&amp;gt;--exitport&amp;lt;/tt&amp;gt; option to change it if you use that port number for something else. If you change the port number, you must edit the &amp;lt;tt&amp;gt;kill_proxy.pl&amp;lt;/tt&amp;gt; script and change the value of &amp;lt;tt&amp;gt;$exitport&amp;lt;/tt&amp;gt; near the beginning of the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;spamassassin-CHP-9-EX-1&amp;quot;&amp;gt;&lt;br /&gt;
'''Example 9-1. A log from Pop3proxy'''&lt;br /&gt;
&lt;br /&gt;
 New connection:&lt;br /&gt;
 From: 127.0.0.1:2094&lt;br /&gt;
 To:   192.168.0.4:110&lt;br /&gt;
 192.168.0.4:110 (Server) said +OK to none&lt;br /&gt;
 +OK POP3 Ready pop.example.com&lt;br /&gt;
 127.0.0.1:2094 (Client) said CAPA&lt;br /&gt;
 192.168.0.4:110 (Server) said -ERR to CAPA&lt;br /&gt;
 127.0.0.1:2094 (Client) said USER&lt;br /&gt;
 192.168.0.4:110 (Server) said +OK to USER&lt;br /&gt;
 127.0.0.1:2094 (Client) said PASS&lt;br /&gt;
 192.168.0.4:110 (Server) said +OK to PASS&lt;br /&gt;
 127.0.0.1:2094 (Client) said STAT&lt;br /&gt;
 192.168.0.4:110 (Server) said +OK to STAT&lt;br /&gt;
 127.0.0.1:2094 (Client) said UIDL&lt;br /&gt;
 192.168.0.4:110 (Server) said +OK to UIDL&lt;br /&gt;
 127.0.0.1:2094 (Client) said LIST&lt;br /&gt;
 192.168.0.4:110 (Server) said +OK to LIST&lt;br /&gt;
 127.0.0.1:2094 (Client) said RETR&lt;br /&gt;
 192.168.0.4:110 (Server) said +OK to RETR&lt;br /&gt;
 Snarfing RETR response&lt;br /&gt;
 Detected end of snarfed multiline&lt;br /&gt;
 35510 bytes, SPAM, Message-id: &amp;lt;200402062012.i16KCGBb015885@example.com&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 127.0.0.1:2094 (Client) said LIST&lt;br /&gt;
 192.168.0.4:110 (Server) said +OK to LIST&lt;br /&gt;
 127.0.0.1:2094 (Client) said RETR&lt;br /&gt;
 192.168.0.4:110 (Server) said +OK to RETR&lt;br /&gt;
 Snarfing RETR response&lt;br /&gt;
 Detected end of snarfed multiline&lt;br /&gt;
 2096 bytes, NOT spam, Message-id: &amp;lt;1063926361.20040206152006@oreilly.com&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 127.0.0.1:2094 (Client) said QUIT&lt;br /&gt;
 192.168.0.4:110 (Server) said +OK to QUIT&lt;br /&gt;
 &lt;br /&gt;
 192.168.0.4:110 - socket close on read&lt;br /&gt;
 Flushing peer on close&lt;br /&gt;
 127.0.0.1:2094 - peer gone after write, closing&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Pop3proxy can proxy multiple POP servers through the use of a ''hostmap'' file. See the Pop3proxy manual for more information about setting up such a file.&lt;br /&gt;
&lt;br /&gt;
=== Configuring the POP Client ===&lt;br /&gt;
&lt;br /&gt;
Finally, you must reconfigure a mail client to connect to ''localhost'' (or 127.0.0.1) instead of the usual POP server. Connections to ''localhost'' will be received by Pop3proxy and proxied to the POP server. [[SpamAssassin/Using SpamAssassin as a Proxy#spamassassin-CHP-9-FIG-2|Figure 9-2]] shows the Eudora 5.1 dialog box for configuring the incoming POP server for an account.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;spamassassin-CHP-9-FIG-2&amp;quot;&amp;gt;&lt;br /&gt;
'''Figure 9-2. Configuring Eudora to use Pop3proxy'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SpamAssassin_I_9_tt165.png|Configuring Eudora to use Pop3proxy]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using SAproxy Pro ==&lt;br /&gt;
&lt;br /&gt;
SAproxy Pro, by Stata Labs, began as a commercialized version of Pop3proxy, but it has been extensively developed with a focus on ease-of-use and access to both SpamAssassin and POP client features. It's available for Windows operating systems. At the time of this writing, the latest version is 2.5 and is selling for $29.95, which includes a year of free upgrades. A free 15-day trial is available. You can download the trial version or purchase the product at ''http://www.statalabs.com/products/saproxy/''.&lt;br /&gt;
&lt;br /&gt;
SAproxy Pro 2.5 includes its own Perl library and SpamAssassin 2.63, so you don't have to install either of those products separately. When SpamAssassin 3.0 is released, a future version of SAproxy Pro is likely to distribute SpamAssassin 3.0 instead, and upgrading should be relatively simple.&lt;br /&gt;
&lt;br /&gt;
=== Installing SAproxy Pro ===&lt;br /&gt;
&lt;br /&gt;
SAproxy Pro uses a downloadable InstallShield installer. Once you've downloaded the installer, run it. You'll be prompted to select your mail client; for several of the most widely used mail clients, the installer includes a training video that demonstrates how to configure mail accounts to use the proxy. You may be required to reboot your computer to finish the installation.&lt;br /&gt;
&lt;br /&gt;
=== Starting SAproxy Pro ===&lt;br /&gt;
&lt;br /&gt;
After SAproxy Pro is installed, you can start it manually from the Windows Start menu. The installer also offers to configure SAproxy Pro to start automatically on system startup. When SAproxy Pro is running, a system tray icon will appear; right-clicking this icon brings up a menu for configuring or shutting down SAproxy Pro.&lt;br /&gt;
&lt;br /&gt;
=== Configuring the POP Client ===&lt;br /&gt;
&lt;br /&gt;
Configuring a POP client to use SAproxy Pro is straightforward. Set the incoming POP server to ''localhost'' or 127.0.0.1. Set the POP login name to your usual POP account name, followed by a colon and the hostname of the remote POP server. [[SpamAssassin/Using SpamAssassin as a Proxy#spamassassin-CHP-9-FIG-3|Figure 9-3]] shows an example of this configuration in Microsoft Outlook Express 6. In the example, Outlook Express will connect to 127.0.0.1 and log in as ''alansz:pop.example.com''. SAproxy Pro will accept the connection and will proxy for the POP server ''pop.example.com'', using ''alansz'' as the login name.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;spamassassin-CHP-9-FIG-3&amp;quot;&amp;gt;&lt;br /&gt;
'''Figure 9-3. Configuring Outlook Express 6 to use SAproxy Pro'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SpamAssassin_I_9_tt166.png|Configuring Outlook Express 6 to use SAproxy Pro]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Stata Labs also distributes an SSL plug-in module for SAproxy Pro at ''http://www.statalabs.com/products/saproxy/ssl/''. If your POP server supports SSL connections, install the plug-in and add &amp;lt;tt&amp;gt;:ssl&amp;lt;/tt&amp;gt; to the end of the POP login name (e.g., ''alansz:pop.example.com:ssl'' ) to direct SAproxy Pro to make an SSL connection to the POP server.&lt;br /&gt;
&lt;br /&gt;
=== Configuring SAproxy Pro ===&lt;br /&gt;
&lt;br /&gt;
SAproxy Pro really shines in its configuration interface, which is available by double-clicking the SAproxy Pro system tray icon, or by right-clicking the icon and selecting Configure SAproxy Pro. Most of the configuration options are the same as those available in Pop3proxy, and through SpamAssassin's preference files. The graphical interface makes them much easier for inexperienced users to select. The Configuration dialog box is divided into nine tabs:&lt;br /&gt;
&lt;br /&gt;
;Always Spam&lt;br /&gt;
: Use this section to add blacklist entries. You can blacklist messages by sender email address, sender domain, or keyword.&lt;br /&gt;
;Never Spam&lt;br /&gt;
: Use this section to add whitelist entries. You can whitelist messages by sender email address or sender domain.&lt;br /&gt;
;Spam Training&lt;br /&gt;
: Use this section to enable use of SpamAssassin's Bayesian classifier (including auto-learning). SAproxy Pro can also manually scan email folders that you specify as containing spam or non-spam messages in order to train the classifier.&lt;br /&gt;
;Language Settings&lt;br /&gt;
: Use this section to limit the set of languages that you expect to receive email in; email in other languages will be treated as spam.&lt;br /&gt;
;Safety Settings&lt;br /&gt;
: Use this section to configure the &amp;lt;tt&amp;gt;report_safe&amp;lt;/tt&amp;gt; SpamAssassin directive.&lt;br /&gt;
;Tagging Options&lt;br /&gt;
: Use this section to turn on subject-tagging for spam messages and to set the SpamAssassin threshold score for spam. SAproxy Pro allows thresholds between 3.5 and 6.5.&lt;br /&gt;
;Advanced Settings&lt;br /&gt;
: Use this section to turn on such options as logging, proxying of the TOP and &amp;lt;tt&amp;gt;AUTH&amp;lt;/tt&amp;gt; commands, and the use of SpamAssassin's network tests. DCC, Pyzor, Vipul's Razor, and DNSBL tests are available, and you can turn each on or off independently. You can use the Host Map part of this section to configure SAproxy Pro to listen on different local ports to proxy connections to different remote POP servers.&lt;br /&gt;
;Statistics&lt;br /&gt;
: This section displays a line graph comparing the number of spam and non-spam messages received each day of the last month.&lt;br /&gt;
;Help&lt;br /&gt;
: This section provides links to SAproxy Pro help.&lt;/div&gt;</summary>
		<author><name>Docbook2Wiki</name></author>	</entry>

	</feed>