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

Re: dspam et procmail



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le Thu, 29 Jan 2009 16:19:35 +0100,
Jacques L'helgoualc'h <lhh+no_spam@free.fr> a écrit :

> 
> mahashakti a écrit, jeudi 29 janvier 2009, à 14:05 :
> > Bonjour,
> 
> bonjour,
> 
> > J'ai installé  le trio postfix  + dspam + libdspam7-drv-mysql  ,
> > mysql démarre sans  problèmes, je  reçois bien les  mails avec
> > postfix  , le daemon dspam  est bien  lançé mais  les mails ne
> > sont pas  taggés par dspam et je trouve ça dans les logs de
> > procmail :
> > 
> > procmail: Executing "/usr/bin/dspam,--stdout,--deliver-spam"
> > procmail: Executing "/usr/bin/dspam,--stdout,--deliver-spam"
> > procmail: Program failure (1) of "/usr/bin/dspam"
> > procmail: Rescue of unfiltered data succeeded
> > procmail: No match on "^X-DSPAM-Result: spam"
> > procmail: Error while writing to "/usr/bin/dspam"
> 
> Cette dernière ligne de log est bizarre ?
> 
> > je ne trouve pas la solution , la bonne recette pour procmail ....
> > 
> > Merci de vos lumières.
> 
> Pour nous éclairer, la section correspondante du procmailrc pourrait
> être utile...

Certes ..... donc voila la chose :
:0fw
|dspam --user $LOGNAME --stdout --mode=teft --deliver=innocent,spam 
:0:
* ^X-DSPAM-Result: spam
spam/

après le post de Julien Valroff j'ai utilisé le lien indiqué
et changé pour ça :

:0fw
| /usr/bin/dspam --stdout --deliver-spam

:0: 
* ^X-DSPAM-Result: spam
$Maildir/spam/

et là j'ai ça comme erreur :

- From bounce-debian-user-french=mahashakti89=orange.fr@lists.debian.org  Thu Jan 29 18:46:20 2009
 Subject: Re: dspam et procmail
  Folder: debian-user-french/new/1233251180.24948_0.ishwara		   7300
procmail: Missing action
  Folder: inbox/new/1233252167.26667_0.ishwara				      0
- From bounce-debian-user-french=mahashakti89=orange.fr@lists.debian.org  Thu Jan 29 19:26:50 2009
 Subject: Re: dspam et procmail
  Folder:
debian-user-french/new/1233253610.27603_0.ishwara		   6269


Merci 

mahashakti89
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkmB+AwACgkQS8dD2kMGDc39SwCZAXcLQLa6yvYTVCwlKnYGBcsm
4XwAn015tao6+mW2QdQedF+FTeS2imtQ
=Dr+a
-----END PGP SIGNATURE-----

Reply to: