Re: Spam Killer Suggestion

read-the-signature_at_send-spam-to-dev-null.com
Date: 09/20/03


Date: Sat, 20 Sep 2003 04:39:14 GMT

Seb <castongs@videotron.ca> wrote:
> Hi,
>
> I'm really tired of spam, have you any good suggestion to delete
> directly on a pop3 server ?
>
> Since, yesterday i received an incredible quantity of spam, so i want to
> delete it.
>
> Current Machine :
>
> FreeBSD 5.1
> Kde 3.1
>
> thx for your suggestion.
>
> Seb
>

I have a FreeBSD 4.8 mailserver and I use Mac OS X with Microsoft Entourage
on my client workstation. On the FreeBSD mailserver I've installed
procmail and spamassasin which work quite well,

        /usr/ports/mail/procmail and /usr/ports/mail/p5-Mail-SpamAssassin

After installing these, for each user on the mailserver that wishes to use
it you creat a .procmailrc and a .forward in that users HOME directory.
Here are mine:

        $HOME/.procmailrc:

                :0fw: spamassassin.lock
                | /usr/local/bin/spamassassin

        $HOME/.forward:

                "|IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #jjr"

Thats it on the FreeBSD side, NOTE my userid is 'jjr'. Now all my incoming mail
is automatically fed to SpamAssassin and it injects special email headers
when its algorithm has detected Spam. The header I key on is:

        X-Spam-Flag: YES

Now, I've built a rule into my email client Entourage. If it sees the
mail header "X-Spam-Flag:" and it contains the value "YES", then the
email is automatically dumped into the Deleted Items folder. I do
a quick check of the Deleted items before closing Entourage as I've
configured it to empty out the Deleted items folder when I exit.

regards

-- 
John J. Rushford
j j r { a t } a l i s a { d o t } o r g 
http://www.cs.du.edu/~jjr


Relevant Pages

  • Re: Spam Killer Suggestion
    ... Seb wrote: ... S> I'm really tired of spam, have you any good suggestion to delete ... S> directly on a pop3 server? ...
    (comp.unix.bsd.freebsd.misc)
  • RE: Bystander shot by a spam filter.
    ... Bystander shot by a spam filter. ... bad advice is being mass marketed through the good offices of FreeBSD, ... Spambouncer doesn't like Inflow. ...
    (FreeBSD-Security)
  • Re: Bystander shot by a spam filter.
    ... Brett Glass wrote: ... > upon FreeBSD itself. ... It shouldn't be hard to change the recipes, ... out -- my mail may be pidgeon holed in her spam basket. ...
    (FreeBSD-Security)
  • Re: FreeBSD or DEBIAN for remotely administered internet server
    ... > DEBIAN evangelists. ... I have used Linux very very rarely. ... I'm biased toward FreeBSD. ... Remove all numbers, then remove invalid, email, no, and spam to reply. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: ISPs blocking SMTP connections from dynamic IP address space
    ... spam - and we are all losing hair over the war on spam. ... > This isn't so much a FreeBSD topic but a comment and a request for resources. ... The server backbone ... > against this trend and attempting to make their voice heard. ...
    (freebsd-questions)