[wplug] Spamassassin on different machine

Gentgeen gentgeen at linuxmail.org
Sun Dec 31 19:52:36 EST 2006


On Sun, 31 Dec 2006 14:54:25 -0500
Eric Cooper <ecc at cmu.edu> wrote:

> On Thu, Dec 28, 2006 at 05:06:32PM -0500, Gentgeen wrote:
> > What I do want to do is to start passing my work email through
> > spamassassin also.  What I am wondering is do I have to set-up
> > spamassassin on the external machine as well, or can I pass it
> > though the internal machines spamassassin while still keeping all
> > the mail on the IMAP server.
> 
> I do something similar to this.  My incoming email goes to an IMAP
> server at CMU, which has limited, non-spamassasin based, spam
> filtering.
> 
> So I have a cron job on my workstation that periodically pulls all the
> incoming messages from IMAP (without deleting them), uses spamassassin
> locally to classify them, and then contacts the IMAP server again to
> move them into the appropriate folder.
> 
> It's 116 lines of Perl, using the Mail::IMAPClient and
> Mail::SpamAssassin libraries, which I'd be happy to share.
> 

Thank you very much, but I think (ie have not heavily tested it yet, but
some peliminaries look good) I found want I needed. And to be honest, I
feel pretty stupid.

On the external box, I just added :

   | /usr/bin/spamc -d 192.168.74.3 -p 783

to my procmail file.  (and of course, I did need to install spamc, just
not the full spam assassin packages)




-- 
http://gentgeen.homelinux.org

#############################################################
 Associate yourself with men of good quality if you esteem    
 your own reputation; for 'tis better to be alone then in bad 
 company.        - George Washington, Rules of Civility


More information about the wplug mailing list