Michael Holzt wrote:
I would add a line to queue/maildir to check if a third plugin
had set a note for queue/maildir to spool a spam message
for spamassassin -r.
You should _never_ use -r to report spam which was automatically
detected (e.g. by a plugin). Read the manpage:
-r, --report
Report this message as manually-verified spam. This will
submit the mail message read from STDIN to various
spam-blocker databases.
Automatic reporting of potential false positives will do harm to the spam
blocking databases. Please don't do that.
Regards
Michael
I will have the spam identifying plugin set a note,
then add a line to queue/maildir to look for that note
and if it is set, queue the message to the spam maildir,
returning "OK", otherwise it returns "DECLINE"
and queue/qmail-queue takes the message.
My question is, if both queue/qmail-queue and
queue/maildir are hooking, and the first returns
"OK", does that prevent the second from running,
or does it run and have to be modified to make it
check if the other queue hook has returned "OK"?
I'm going to find out by trial and error in a few
minutes.
-Bob Dodds