Hi everyone,

I have recently upgraded to Qmail-Scanner 1.13 to take advantage of the
ability to use fast_spamassassin (i.e., spamc -c) in conjunction with
subject tagging (i.e., prepending "*****SPAM*****" to the subject of a
message).  However, when I try to use the same tag that I've been using
("*****SPAM*****", the spamassassin default), Qmail-Scanner returns an error
(shown below) and fails to scan the message.  I have tried a number of
alternate tags without the multiple asterisks, just "SPAM" for example, and
everything works like you would expect.  Any tag with two or more successive
asterisks will break things.  I already have a number of users filtering on
the previous tag (*****SPAM*****), however, so I'm reluctant to change it.
I'm just starting to learn perl, so I don't really trust my own skills to
alter the qmail-scanner script, although if no one has any ideas, I'll
certainly try :-)  The error message in qmail-queue.log is reproduced below:

----------
31/07/2002 12:13:47:28147: SA: run /usr/bin/spamc  -c -f <
/var/spool/qmailscan/working/new/blackwidow.gwe.net102813922742328147
31/07/2002 12:13:47:28147: SA: yup, this smells like SPAM
31/07/2002 12:13:47:28147: spamassassin: finished scan of dir
"/var/spool/qmailscan/blackwidow.gwe.net102813922742328147" in 0.336548 secs
31/07/2002 12:13:47:28147: scanloop: finished scan of
"/var/spool/qmailscan/blackwidow.gwe.net102813922742328147"...
31/07/2002 12:13:47:28147: ini_sc: scanning message took 0.558422 seconds
31/07/2002 12:13:47:28147: q_r: fork off child into
/var/qmail/bin/qmail-queue...
31/07/2002 18:13:48:28155: tempfail: X-Qmail-Scanner-1.13: Requeuing: /^:
**SPAM*/: nested *?+ in regexp at /var/qmail/bin/qmail-scanner-queue.pl line
837, <STDIN> line 38.

31/07/2002 12:13:47:28147: tempfail: X-Qmail-Scanner-1.13: Unable to queue
message (111). (#4.3.0) - Illegal seek
----------

Some relevant lines from the qmail-scanner script (in particular, line 837
is referenced above):
----------
line 836:     $altered_subject="$1: $spamc_subject $3";
line 837:       if ($altered_subject !~ /^: $spamc_subject/) {
line 838:         &debug("altering subject line to $altered_subject");
line 839:         print QMQ "$altered_subject\n";
line 840:         next;
----------

I'm running RedHat 7.1 with spamassassin 2.30, which is invoked as
"spamd -d -F 0 -L -x"

I hope I'm not missing something totally obvious.  Anyone have any ideas on
how to use the default spamassassin subject tag (*****SPAM*****) along with
fast_spamassassin?

Thanks for your attention,
Andy



-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to