Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001008 [ClarkConnect] Antispam feature always 2009-12-20 19:17 2009-12-22 09:26
Reporter galets View Status public  
Assigned To peter
Priority normal Resolution fixed  
Status resolved   Product Version 5.0
Summary 0001008: /usr/sbin/filtertraining has obvious bug
Description Following code block trains ham messages to be treated as spam:

if [ -e "$NOTSPAM_WEBCLIENT" ]; then
        chmod 440 $NOTSPAM_WEBCLIENT*
        chown root.amavis $NOTSPAM_WEBCLIENT*
        echo "SpamAssassin - training notspam from $NOTSPAM_WEBCLIENT*"
        su -l amavis -s /bin/sh -c "/usr/bin/sa-learn --progress --spam $NOTSPAM_WEBCLIENT* --dbpath $SPAMDBDIR"
fi


line should have a --ham switch, not --spam
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000938)
peter (administrator)
2009-12-22 09:26

Well that's embarrassing. All fixed in ClearOS 5.1.

- Issue History
Date Modified Username Field Change
2009-12-20 19:17 galets New Issue
2009-12-22 09:26 peter Note Added: 0000938
2009-12-22 09:26 peter Status new => resolved
2009-12-22 09:26 peter Fixed in Version => 5.1
2009-12-22 09:26 peter Resolution open => fixed
2009-12-22 09:26 peter Assigned To => peter

Mantis Bug Tracker