commit de3fbb565f711bc27e7bfa061e83c3020710dc16 Author: Robert Date: Wed Nov 4 21:43:38 2009 -0800 Rename spamsubjectprefix to subject_prefix. Add docs. diff --git a/plugins/spamassassin b/plugins/spamassassin index be3a67b..816da4d 100644 --- a/plugins/spamassassin +++ b/plugins/spamassassin @@ -40,14 +40,20 @@ The default is to never reject mail based on the SpamAssassin score. =item munge_subject_threshold [threshold] -Set the threshold where the plugin will prefix the subject with -'***SPAM***' or the value defined in the spamsubjectprefix -configuration file. A modified subject is easier to filter on than the -other headers for many people with not so clever mail clients. You -might want to make another plugin that does this on a per user basis. +Set the threshold where the plugin will prefix the subject with the +value of C. A modified subject is easier to filter on +than the other headers for many people with not so clever mail +clients. You might want to make another plugin that does this on a +per user basis. The default is to never munge the subject based on the SpamAssassin score. +=item subject_prefix [prefix] + +What to prefix the subject with if the message is detected as spam +(i.e. if score is greater than C. Defaults to +C<*** SPAM ***> + =item spamd_socket [/path/to/socket|spamd.host:port] Beginning with Mail::SpamAssassin 2.60, it is possible to use Unix @@ -237,7 +243,7 @@ sub check_spam_munge_subject { return DECLINED unless $score >= $self->{_args}->{munge_subject_threshold}; - my $subject_prefix = $self->qp->config('spamsubjectprefix') || '*** SPAM ***'; + my $subject_prefix = $self->qp->config('subject_prefix') || '*** SPAM ***'; my $subject = $transaction->header->get('Subject') || ''; $transaction->header->replace('Subject', "$subject_prefix $subject");