Re: [Exim] exim4 systemfilter

Top Page
Delete this message
Reply to this message
Author: Tor Slettnes
Date:  
To: Jan H. van Gils
CC: exim-users
Subject: Re: [Exim] exim4 systemfilter
--

On Mar 9, 2004, at 06:56, Jan H. van Gils wrote:

> Can somebody tell me are I can find a good example of the use of a
> exim4 systemfilter. I would like to copy all spam that is marked by
> spamassassin to /var/junk/spam.


How do you run SpamAssassin?
- Via Exiscan-ACL?
- Via SA-Exim?
- Via a ${run ...} expansion? (This is hard to do right)
- At delivery time, via e.g. a '.procmailrc'?

This has a bearing on the type of markup you will see in the message
headers, or more generally, the criteria for filtering the mail.

> Further I am NOT using Maildir format.


What _are_ you using? (Or more accurately, what do you want to use?)

What are your reasons for ruling out Maildir? (Keep in mind that
'mutt' and some other command-line readers understand Maildir spools
just as easily as BSD mailboxes..)


> I am using exim3 now with a systemfilter and I would like to do this
> also
> with exim4.
>
> But I unable to find a good example.


Actually, SA-Exim does pretty much what you want, except that if you
keep a copy of rejected mails, it _will_ be stored in a Maildir spool
(/var/spool/sa-exim/SApermreject/...).

-tor
--
[ smime.p7s of type application/pkcs7-signature deleted ]
--