D
Deltafox
Guest
The new feature in plesk to train spamassassin worked a while for me, trained a lot of messages but now i comes with an error when i want to train.
So i decided to train spamassassin server-wide with ham and spam myself at the commandline.
1) Saved some ham and spam from my outlook at my hdd
2) Upload it to the server
3) Then train like this
It says:
Learned tokens from 100 message(s) (100 message(s) examined)
Looks good!
But now i wonder if i'm training spamassassin server-wide with this method?
Does this really work?
Anybody have some experience with this?
Error: Cannot exec 'spammng --train-spam --filename=C:/Program Files/SWsoft/Plesk//tmp/spm93F3.tmp --password=*** --mailname=***':
Invalid field name 'Processing your mail message caused the following errors:'. A field name MUST be composed of printable US-ASCII characters (i.e.,characters that have values between 33 and 126, inclusive),except colon.
So i decided to train spamassassin server-wide with ham and spam myself at the commandline.
1) Saved some ham and spam from my outlook at my hdd
2) Upload it to the server
3) Then train like this
cd\
cd program files\swsoft\plesk\additional\spamassassin\blib\script
sa-learn --ham --showdots C:\inetpub\vhosts\***\private\spamassassin\ham\
cd\
cd program files\swsoft\plesk\additional\spamassassin\blib\script
sa-learn --spam --showdots C:\inetpub\vhosts\***\private\spamassassin\spam\
It says:
Learned tokens from 100 message(s) (100 message(s) examined)
Looks good!
But now i wonder if i'm training spamassassin server-wide with this method?
Does this really work?
Anybody have some experience with this?