delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/28/21:47:13

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: <jdm AT visi DOT com>
From: "Jason D. Michaelson" <jdm AT visi DOT com>
To: "Cygnus GNU-Win32" <cygwin AT cygwin DOT com>
Subject: Spamassassin + exim + cygwin
Date: Sat, 28 Sep 2002 20:46:36 -0500
Message-ID: <227AFE08AECB654DB8E2B03B541ECFD20AD52C@ZEUS.the-four-horsemen.org>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-OriginalArrivalTime: 29 Sep 2002 01:46:36.0232 (UTC) FILETIME=[0BCA4C80:01C2675A]
Note-from-DJ: This may be spam

I'm trying to get spamassassin to work with exim under cygwin. I've got
everything up and running fine, except for spamd. Its compiled, but when
I go to run it I end up with an ntvdm process running, using up all
available cpu time. This means that I end up running spamassassin for
each message that is received. When I do this, the following appears in
my exim logs:

2002-09-28 20:22:08 H36EGV-00039W-00 <= jdm AT visi DOT com
H=corb.mc.mpls.visi.com [208.42.156.1] P=esmtp S=2831
id=Pine DOT GSO DOT 4 DOT 10 DOT 10209282021580 DOT 10237-100000 AT isis DOT visi DOT com
2002-09-28 20:22:16 SMTP connection from jason lost while reading
message data (header)
2002-09-28 20:22:16 H36EGV-00039W-00 == jason AT the-four-horsemen DOT org
R=spamcheck_router T=spamcheck defer (-24): Filter process failure

In the routers section of exim.conf I have:

# Spam Assassin
spamcheck_router:
  no_verify
  check_local_user
  # When to scan a message :
  #   -   it isn't already flagged as spam
  #   -   it isn't already scanned
  condition = "${if and { {!def:h_X-Spam-Flag:} {!eq
{$received_protocol}{spam-scanned}}} {1}{0}}"
  driver = accept
  transport = spamcheck

In the transports section I have:

# Spam Assassin
spamcheck:
  driver = pipe
  command = /usr/bin/exim -oMr spam-scanned -bS
  use_bsmtp = true
  transport_filter = /usr/bin/spamassassin
  home_directory = "/tmp"
  current_directory = "/tmp"
  log_output = true
  return_fail_output = true
  return_path_add = false
  message_prefix =
  message_suffix =

Is there a command line option or something to spamassassin that I'm
missing that's causing the smtp connection back to exim to fail?

Thanks

jdm

---------
Jason D. Michaelson             | Debian GNU/  o http://www.debian.org
Jason DOT Michaelson AT veritas DOT com    |         __
VERITAS Software                |        / /    __  _  _  _  _ __  __
2815 Cleveland Ave - ROS2-4     |       / /__  / / / \// //_// \ \/ /
Roseville, MN 55113             |      /____/ /_/ /_/\/ /___/  /_/\_\
Voice: (651)746-7263            |
Cell: (612)812-2459             |   ...because lockups are for
convicts...

Getting a SCSI chain working is perfectly simple if you remember that
there must be exactly three terminations: one on one end of the cable,
one
on the other end, and the goat, terminated over the SCSI chain with
a silver-handled knife whilst burning *black* candles. --- Anthony
DeBoer
 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019