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

exim+spamassassin: spamcheck transport output



Bonjour à tous, 

un problème un peu compliqué que je n'arrive pas à résoudre.

Sur une debian sarge avec un Spamassassin de volatil puis un backport
de spamassassin de Etch:

J'ai des mails qui se perdent avec des erreurs notées:

2007-03-10 06:47:34 unexpected EOF while reading SMTP data (header)
from mail 
2007-03-10 06:47:34 1HPuLd-0003hL-00 <user.anti-spam@m...et>:
spamcheck transport output: An error was detected while processing a
file of BSMTP input.
2007-03-10 06:47:34 1HPuLd-0003hL-00 <user.anti-spam@m...et>:
D=spamcheck_director T=spamcheck: Child process of spamcheck transport
returned 2 from command: /usr/sbin/exim

Les messages d'erreurs renvoyés à l'expediteur par exim sont comme suit:
********
 Child process of spamcheck transport returned 2 from command:
/usr/sbin/exim
An error was detected while processing a file of BSMTP input.
The error message was:

554 Unexpected end of file

The SMTP transaction started in line 0.
The error was detected in line 3.
0 previous messages were successfully processed.
The rest of the batch was abandoned.
554 Unexpected end of file
Transaction started in line 0
Error detected in line 3

------ This is a copy of the message, including all the headers. ------

Return-path: <root@mon.domaine>
Received: from expourri.rebelles ([192.168.1.247]
helo=localhost.localdomain) by alf94-3-82-66-248-156.fbx.proxad.net
with esmtp (Exim 3.35 #1 (Debian)) id 1HPx8M-0004Rb-00
for <francois@mon.domaine>; Sat, 10 Mar 2007 09:40:58 +0100
Received: from root by localhost.localdomain with local (Exim 4.50)
id 1HPx8S-00017N-HT
for root@localhost.localdomain; Sat, 10 Mar 2007 09:41:04 +0100
From: Anacron <root@mon.domaine>
To: root@localhost.localdomain
Subject: Anacron job 'cron.daily' on expourri
Message-Id: <E1HPx8S-00017N-HT@localhost.localdomain>
Date: Sat, 10 Mar 2007 09:41:04 +0100
X-Scanner: exiscan *1HPx8M-0004Rb-00*.xZ5GWDNhaM*

/etc/cron.daily/lprng: 
*****************

J'ai mis le message complet car je ne comprends pas ce qu'est cette
fameuse ligne 3.

La directive exim (exim 3 de sarge) est la suivante:

spamcheck:
    driver = pipe
    command = /usr/sbin/exim -oMr spam-scanned -bS
    transport_filter = /usr/bin/spamc -p 780
    bsmtp = all 

J'ai essayé de remplacer cela par 

spamcheck:
    driver = pipe
    command = /usr/bin/spamc -p 780 -e /usr/sbin/exim -oMr \
                     spam-scanned -bS
(une seule ligne) suivant les idées du seul message un peu précis
trouvé sur Google à ce sujet (à savoir
http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20060206/msg00196.html
)

mais cela m'a donné une erreur du même type disant

********
[..]
an error was detected while processing a file of BSMTP input.
The error message was:

500 Command unrecognized

The SMTP transaction started in line 0.
The error was detected in line 1.
The SMTP command at fault was:

X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on 

0 previous messages were successfully processed.
The rest of the batch was abandoned.
500 Command unrecognized
Transaction started in line 0
Error detected in line 1
[..]
***************

erreur que je ne comprends pas, exim devrait prendre la sortie directe
et la traiter. Or il semble prendre l'entrée comme un fichier de
commandes.

Bref, je patauges un peu. Si les courageux (que je remercie) qui ont lu
ce message jusque là (et qui vont le terminer, le plus dur est fait!)
ont une idée, je suis preneur. En attendant, comme il semble que ça
*serait* un problème de timeout, j'ai rajouté une option -t 300 à
l'appel de spamc.

Le pbm est que je n'ai pas une idée clair de ces directives (entre
autres bsmtp=all fait quoi?)

Merci de toutes réponses

François Boisson



Reply to: