[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT:spam mail with To:-feld without my address



On Tue, Jun 04, 2002 at 12:57:50AM -0700, AE Roy wrote:
> I know that this is kind of off-topic, but I'm asking you folks anyway
> because I'm sure you've experienced the same as me.
> 
> I keep getting mail, spam-mail about 40 each day, and I don't know how to
> get procmail to handle them. They all have a To:-filed containing some
> other address than mine, e.g
> To: "`" <2062@sprint.com>
> To: Amundsen@jasmine.pcpros.net
> To: <karl@sprin.com>
> 
> Especially I get alot of those with a mail address inside <>, how do I get
> procmail to handle this.

My solution:

1)

    # apt-get install spamassassin

2)
    $ cat >> ~/.procmailrc <<EOF
    :0fw
    | spamassassin -P

    :0 H
    * X-Spam-Status: Yes*
    Mail/spam
    EOF

3) 
    Once a week, go through Mail/spam and search for false positives.

HTH
-- 
Karl E. Jørgensen
karl@jorgensen.com
www.karl.jorgensen.com
... An rfc2324 advocate
http://www.rfc.net/rfc2324.html

Attachment: pgpYjNeypirbS.pgp
Description: PGP signature


Reply to: