[sclug] Exim .forward & spamassassin

David Given dg at cowlark.com
Wed Mar 3 13:01:39 UTC 2004


On Tuesday 02 March 2004 5:28 pm, Patrick Kirk wrote:
> Hi all,
>
> I'd like to know how to get mail piped to Spamassassin from the user's
> .forward file.  Does anyone have experience of doing this?

I do it via procmail:

-----------------------------
LOGFILE=$HOME/.maillog
VERBOSE=no
MAILDIR=$HOME/Maildir

# Spamassassin
:0 fw : spamassassin.lock
|spamc -f

:0
* ^X-Spam-Status: yes
.Spam/
-----------------------------

Exim is set up to call procmail directly if a .procmail file exists.

-- 
+- David Given --McQ-+ "SCSI is *not* magic. There are *fundamental
|  dg at cowlark.com    | technical reasons* why it is necessary to sacriface
| (dg at tao-group.com) | a young goat to your SCSI chain now and then." ---
+- www.cowlark.com --+ John woods



More information about the Sclug mailing list