* Andrej T. <[EMAIL PROTECTED]> [2004-02-23 19:14]:
> Alex Pleiner wrote:

> >Read the FAQ at http://qmail-scanner.sourceforge.net/FAQ.php
> >(Section: Content-Scanner Issues, Items 14 and 15). 

> >If you want your SA headers, you will need to configure Q-S to use
> >verbose_spamassassin.

> Hello Alex,

> First of all thanks for your help.

> I have read the FAQ and have removed the "-c" flag in "my 
> $spamc_options" in qmail-scanner-queue.pl, but I still don't get the 
> headers. What else can I try?

> P.S.: If I run "spamc -f < spam_massage" from the command prompt I can 
> see all the headers.

All the magic is in the sub spamassassin. If you omit the -c flag Q-S
uses the tagged message returned by spamd as the new message. The
relevant piece of code is:

  if ($spamc_options !~ /\-c/ && -s "$scandir/$wmaildir/new/$file_id.spamc" && 
$spamassassin_status == 0) {
    &debug("SA: overwriting $scandir/$wmaildir/new/$file_id with 
$scandir/$wmaildir/new/$file_id.spamc");
    rename ("$scandir/$wmaildir/new/$file_id.spamc","$scandir/$wmaildir/new/$file_id");
  } else {
    unlink("$scandir/$wmaildir/new/$file_id.spamc");
  }

So please have a look into your debug log and search for the line
telling you about the "SA: overwriting ...". 

And please show us your debug log and configure options if possible.

Alex


-- 
Alex Pleiner
zeitform Internet Dienste         Fraunhoferstrasse 5
                                  64283 Darmstadt, Germany
http://www.zeitform.de            Tel.: +49 (0)6151 155-635
mailto:[EMAIL PROTECTED]        Fax:  +49 (0)6151 155-634
GnuPG/PGP Key-ID: 0x613C21EA


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to