Bowie, I implemented your changes and now I'm seeing BAYES scores on all messages, whether it is 00 or 99. 1) changed courierd "defaultdelivery" to be cleaner 2) added the xfilter line to the top of maildroprc above the sorting rules 3) added the exception to the bottom of maildroprc below the sorting rules (the folder sorting rules are things like: if (/^X-Spam-Flag: .*YES/) {exception {to "$HOME/Maildir/.spam/"} }
Now I have a bayes item in the header of each spam and ham message. This is great! Thank you, Brian On Tue, November 7, 2006 11:22, Bowie Bailey wrote: > Brian S. Meehan wrote: >> Spamassassin is invoked from Courier-MTA. (OS is SUSE Pro 9.3) >> The /usr/lib/courier/etc/courierd file has the following line: >> DEFAULTDELIVERY="| /usr/bin/spamassassin | >> /usr/lib/courier/bin/maildrop" > > FYI, a cleaner way to do this is: > > DEFAULTDELIVERY="| /usr/lib/courier/bin/maildrop" > > /etc/courier/maildroprc: > > xfilter "/usr/bin/spamc" > > This also gives you the ability to add some logic in the maildroprc if > there are some messages that you don't want scanned. You can also use > an exception clause if you want mail delivery to continue (unscanned) > on spamc errors. > > exception { > xfilter "/usr/bin/spamc" > } > > -- > Bowie > -- "All people who think everything is either black or white are idiots."