Hi, On Sun, 8 Aug 2004 11:59:14 +0200 Daniel Olmedilla <[EMAIL PROTECTED]> wrote:
> I have been installing spamassassin on windows. As I used it already in linux > I decided to install it with cygwin. Now it is working and I didn't have any > problem. > > My problem comes because I don't know how to call spamassassin everytime a > new > e-mail is download from the mail server. I haven't found anything about it. > Tutorials finish when spamassassin is already working and others talk about > how to filter spam mails (once they were processed by spamassassin) but I > don't know how to invoke spamassassin when incoming mail arrives. > > I am using windows XP and outlook express. Any idea about how to do it? See http://mcd.perlmonk.org/pop3proxy/ Short answer: retrieve your mail via a SpamAssassin-enabled POP3 proxy 1. Set up SpamAssassin on your local machine, test it and verify it works 2. Write down the hostname you retrieve mail from (assumed to be using POP3 on port 110. For example, say your ISP's POP3 server is 'popserver.example.net' on port 110.) 3. Find out if anything on your local host is listening on port 110 (POP3): netstat -na | grep LISTEN | grep '11' Under the Windows command prompt you can use: netstat -na | find "LISTEN" | find "11" Find an unused local port number to use as your local POP3 proxy port (in this case, say port 110 was taken and you'd rather use port 8110 instead because it's memorable and unoccupied.) 4. Download pop3proxy and read the docs. Install and test it. 5. Around line 60 or so there's section like: my %hostmap = ( 110 => 'pophost.isp.com:110' ); Change that to my %hostmap = ( 8110 => 'popserver.example.net:110' ); based on what you found in steps 2) and 3) above. 6. Start pop3proxy.pl 7. Start your mail client (OE) and configure it to retrieve mail from localhost:8110 instead of from popserver.example.net:110. Troubleshooting: Make sure pop3proxy.pl is running. Verify you can reach your ISP's server by telneting to the proxy (it helps if you understand a little of the POP3 protocol, but it's not required - just verify you can make a connection and get prompted for a username and password.) Verify your mail client settings are correct. If you're using IMAP instead of POP3, none of this will help you; you may need a tool like IMAPAssassin instead (http://sourceforge.net/projects/imapassassin) hth, -- Bob
