spamassassin results in mail headers

Colin Bell col at baibell.org
Wed Aug 9 08:30:08 UTC 2006


On Wed, Aug 09, 2006 at 10:10:41AM +0200, Olivier Picquenot wrote:
> 
> If someone on this list has a working setup of 
> postfix/amavisd-new/clamav/spamassassin, I'd be curious to see some 
> config files to know what I missed.

I have the following in /etc/amavis/conf.d/50-user

You'll need to uncomment

$sa_spam_subject_tag = '***SPAM*** ';

if you want ***SPAM*** in the subject.

==================================

# Add X-Virus-Scanned header field to mail?
$X_HEADER_TAG = 'X-Virus-Scanned';      # (default: undef)
# Leave empty to add no header          # (default: undef)
$X_HEADER_LINE = "by $myversion (Debian) at $mydomain";

#$sa_spam_subject_tag = '***SPAM*** ';
$sa_spam_subject_tag = '';


# default values, can be overridden by more specific lookups, e.g. SQL
$sa_tag_level_deflt  = -999; # add spam info headers if at, or above that level
$sa_tag2_level_deflt = 5.0; # add 'spam detected' headers at that level





More information about the ubuntu-users mailing list