I agree it doesn't sound like a SA problem. I can't help either, as I use Postfix. Surely the Exim-SA people will be getting up soon...

----- Original Message ----- From: "Richard Hobbs" <[EMAIL PROTECTED]>
To: "Adam Wilbraham" <[EMAIL PROTECTED]>
Cc: <users@spamassassin.apache.org>
Sent: Wednesday, February 28, 2007 4:59 AM
Subject: Re: sa-update doesn't exist on my system


Hello,

Thank you for the link, but it's not for spamassassin... it does look
very similar to the config i have in exim for spamassassin though.

Does anyone know if i do need to adjust the config in exim when
upgrading spamassassin from "3.0.3-2sarge1" to "3.1.7-1~bpo.1" as per
the backports repository?

My current exim config is as follows:

Router:
============================================================
sa_router:
  no_verify
  check_local_user
  # When to scan a message :
  # - it isn't already flagged as spam from Spamassassin
  # - it isn't already scanned
  # - it isn't local
  # - it isn't from one internal domain user to another
  condition = "${if and { \
                        {!eq {$received_protocol}{spam-scanned}} \
                        {!eq {$received_protocol}{local}} \
                        {!eq {$sender_address_domain}{$domain}} \
                        } \
                        {1}{0}}"
  driver    = accept
  transport = sa_spamcheck
  local_parts = /etc/spamassassinUsers
============================================================

Transport:
============================================================
sa_spamcheck:
  driver = pipe
  command = /usr/sbin/exim4 -oMr spam-scanned -bS
  use_bsmtp = true
  transport_filter = /usr/bin/spamc
  home_directory = "/tmp"
  current_directory = "/tmp"
  user = spamcheck
  group = spamcheck
  log_output = true
  return_fail_output = true
  return_path_add = false
  message_prefix =
  message_suffix =
============================================================

As mentioned before, only *some* of the emails are failing. around 50%
were getting through fine.

Thanks again,
Richard.


Adam Wilbraham wrote:
Looks like an exim problem to me, how is exim calling spamc?
Unfortunately I have no exim experience whatsoever (I use qmail /
qmailscanner) but maybe you need to revisit your exim config after the
upgrade... This link may be of use but I'm not sure...

http://sys-admin.org/en/node/21

On Wed, 28 Feb 2007 09:30:19 +0000
Richard Hobbs <[EMAIL PROTECTED]> wrote:

Hello,

OK, since sending my last email (after upgrading to , but before
running "sa-update") we have been having problems:

============================================================
mail:/var/log/exim4# grep BSMTP /var/log/exim4/mainlog.1
2007-02-27 17:10:34 1HM5le-0008Sj-5j <[EMAIL PROTECTED]>:
sa_spamcheck transport output: An error was detected while processing
a file of BSMTP input.
2007-02-27 17:23:09 1HM5xn-00009Z-Cn <[EMAIL PROTECTED]>:
sa_spamcheck transport output: An error was detected while processing
a file of BSMTP input.
2007-02-27 17:33:14 1HM67a-0000GO-BB <[EMAIL PROTECTED]>:
sa_spamcheck transport output: An error was detected while processing
a file of BSMTP input.
2007-02-27 17:51:29 1HM6PC-0000UI-Kl <[EMAIL PROTECTED]>:
sa_spamcheck transport output: An error was detected while processing
a file of BSMTP input.
2007-02-27 18:02:01 1HM6ZN-0000aK-JK <[EMAIL PROTECTED]>:
sa_spamcheck transport output: An error was detected while processing
a file of BSMTP input.
2007-02-27 18:14:39 1HM6lf-0000hq-4x <[EMAIL PROTECTED]>:
sa_spamcheck transport output: An error was detected while processing
a file of BSMTP input.
2007-02-27 18:31:31 1HM71z-0000rC-Qm <[EMAIL PROTECTED]>:
sa_spamcheck transport output: An error was detected while processing
a file of BSMTP input.
2007-02-27 18:42:12 1HM7CJ-0000xC-Ss <[EMAIL PROTECTED]>:
sa_spamcheck transport output: An error was detected while processing
a file of BSMTP input.
2007-02-27 18:42:14 1HM7CM-0000xN-HD <[EMAIL PROTECTED]>:
sa_spamcheck transport output: An error was detected while processing
a file of BSMTP input.
2007-02-27 18:42:19 1HM7CR-0000xX-4h <[EMAIL PROTECTED]>:
sa_spamcheck transport output: An error was detected while processing
a file of BSMTP input.
============================================================

It looks like 1 in 2 messages, at least to myself, was failing to get
through, and we have had to completely disable spamassassin
unfortunately :-(

According to our other IT guy who did the troubleshooting last night
after i had gone home, this is what happened...

He tried to email several of us, but for those of us who are
"subscribed" to spamassassin the message failed to get through,
stating:

============================================================
421 SMTP incoming data timeout - message abandoned
============================================================

"tail -100 /var/log/exim4/mainlog | grep user1" then gave:

============================================================
2007-02-28 01:34:27 1HMDi7-0004Gt-Qt <= [EMAIL PROTECTED]
H=mail19.messagelabs.com [193.109.254.3] P=smtp S=2421
[EMAIL PROTECTED] T="RE: Firewall" from
<[EMAIL PROTECTED]> for [EMAIL PROTECTED] [EMAIL PROTECTED]
2007-02-28 01:44:27 1HMDi7-0004Gt-Qt <[EMAIL PROTECTED]>: sa_spamcheck
transport output: An error was detected while processing a file of
BSMTP input.
2007-02-28 01:44:28 1HMDi7-0004Gt-Qt ** [EMAIL PROTECTED]
<[EMAIL PROTECTED]> F=<[EMAIL PROTECTED]> P=<[EMAIL PROTECTED]>
R=sa_router T=sa_spamcheck: Child process of sa_spamcheck transport
returned 2 from command: /usr/sbin/exim4
============================================================

Does anyone know what's going on here?

Thanks again,
Richard.


John Fleming wrote:
----- Original Message -----
There shouldn't be, from what I recall its as simple as that. The
only other thing you'll want to do is run sa-update and then
restart spamd!
Consider:

1)  Run sa-update -D so you can see what it does or tries to do and
what modules you might be missing and want.  I had some missing
modules that I installed from the regular sarge distro that I
assume helped my functionality.

2)  Add a channel for the SARE rulesets you want.  This has been
discussed a lot the last couple of days.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business
Internet Managed Scanning Services - powered by MessageLabs. For
further information visit http://www.mci.com





--
Richard Hobbs (Systems Administrator)
Toshiba Research Europe Ltd. - Speech Technology Group
Email: [EMAIL PROTECTED]
Web: http://www.toshiba-europe.com/research/
Tel: +44 1223 376964 Mobile: +44 7811 803377

Reply via email to