Index: [Article Count Order] [Thread]

Date:  Wed, 9 Aug 2006 16:39:58 +0200
From:  Michael Stauber <bq (at mark) solarspeed.net>
Subject:  [coba-e:06274] Re: SPAM Assassin before Forwarding
To:  coba-e (at mark) bluequartz.org
Message-Id:  <200608091639.58410.bq (at mark) solarspeed.net>
In-Reply-To:  <20060809121742.M40249 (at mark) raqtweak.com>
References:  <20060809121742.M40249 (at mark) raqtweak.com>
X-Mail-Count: 06274

Hi Leslie,

> was just wondering if someone knew a quick fix for the following:
> SpamAssassin scans E-Mails, but... if the user has a forwarder, it will
> forward BEFORE it even reaches SpamAssassin.
>
> Is there a way to do the forwarding AFTER SpamAssassin has scanned it? Been
> staring at my screen for a while now and getting crosseyed ;)

Depends on how you call SpamAssassin. If you call it from Procmail then you 
need to keep in mind that ~/.forward files get processed before ~/.procmailrc 
(or /etc/procmairc).

So if you want to scan emails for SPAM even for people who forward the mails 
to other (off-server) accounts, you need to perform the SPAM-check earlier: 
at the MTA level.

This can be done with MailScanner, or with a Sendmail-Milter.

-- 

With best regards,

Michael Stauber