spamassassin results in mail headers

garrison ulist at gs1.ubuntuforums.org
Wed Aug 9 22:46:16 UTC 2006


Colin Bell;1360316 Wrote: 
> Is this good enough?

> 

> X-Virus-Scanned: by amavisd-new-2.3.3 (20050822) (Debian) at
> baibell.org

> X-Spam-Status: No, score=-2.573 tagged_above=-999 required=5

> tests=[AWL=0.026, BAYES_00=-2.599]

> X-Spam-Level:

> 



Absolutely!  But here's the rub, I have the following set in
/etc/amavis/conf.d/50-user




Code:
--------------------
    $QUARANTINEDIR = undef;

  $sa_spam_subject_tag = '-[SPAM]- ';

  $sa_tag_level_deflt  = -10;  # add spam info headers if at, or above that level

  $sa_tag2_level_deflt = 4.5; # add 'spam detected' headers at that level

  $sa_kill_level_deflt = 8.0; # triggers spam evasive actions

  $sa_dsn_cutoff_level = 9.0;   # spam level beyond which a DSN is not sent

  

  $final_virus_destiny      = D_DISCARD;  # (data not lost, see virus quarantine)

  $final_banned_destiny     = D_DISCARD;   # D_REJECT when front-end MTA

  $final_spam_destiny       = D_DISCARD;

  $final_bad_header_destiny = D_PASS;     # False-positive prone (for spam)

  

  # Leave empty (undef) to add no header

  $X_HEADER_TAG = 'X-Virus-Scanned';

  $X_HEADER_LINE = "Debian $myproduct_name at $mydomain";

  

  $remove_existing_x_scanned_headers = 0;

  $sa_spam_level_char = '+';

  $sa_spam_report_header = 1;
--------------------


Spamassassin generates the status headers when run separately, but
amavis gives me only -X-Virus-Scanned: Debian amavisd-new at
codefix.net-

What have you done that I haven't?  Would you be willing to post or
send me your amavis config?


-- 
garrison




More information about the ubuntu-users mailing list