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

Re: exim + spamprobe/bogofilter



On Wed, Mar 12, 2003 at 09:40:50PM +1100, Rob Weir wrote:

| Is this meant to be a followup to the 'enterance exam' thread?  If not,
| repost your message to the list as a NEW message, instead of a followup,
| and you're fare more likely to get an answer.

Definitely follow Rob's advice.  If he hadn't changed the subject I
would never have seen your question.

| On Tue, Mar 11, 2003 at 01:42:49PM -0800, Stephen A. Witt wrote:
| > On a woody system, using exim 3.35, I'm trying to install either spamprobe
| > or bogofilter from source (as the packages don't exist in woody yet). The
| > issue I have is that I can't seem to figure out how to correctly modify
| > the exim configuration to have the spam program operate correctly. All of
| > the examples I've found on the Web seem to revolve around using procmail
| > as the filter control mechanism instead of exim filtering. I'm using the
| > exim filtering capability to filter my mail by subject already, so I
| > really don't want to convert back to procmail, which I used years ago back
| > in the smail days. Anyway, if anyone has any tips, leads, or anything else
| > on this, I'd sure appreciate it.

Read http://dman.ddts.net/~dman/config_docs/exim3_spamassassin.html
and modify accordingly.  exim's filter language is used merely for
scheduling a delivery.  It does not allow you to run a command, while
the filter is being processed, and decide how to deliver based on the
result of the command.  procmail and maildrop will allow you to do
that.  The config described above causes exim to deliver the message
to the external program, which tags the message with a new header, and
then reinjects it (as a new message) so that exim will deliver it as
usual.  The second time exim processes the message your filter has
access to the tag(s).

-D

-- 
Folly delights a man who lacks judgement,
but a man of understanding keeps a straight course.
        Proverbs 15:21
 
http://dman.ddts.net/~dman/

Attachment: pgpSLqsMdot60.pgp
Description: PGP signature


Reply to: