I ran
/usr/bin/perl -T -w /usr/bin/sa-learn --sync

but I got the following message:

/usr/bin/perl -T -w /usr/bin/sa-learn --sync
plugin: failed to parse plugin (from @INC): Can't locate Mail/DomainKeys/Message.pm in @INC (@INC contains: /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/Plugin/DomainKeys.pm line 64. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/Plugin/DomainKeys.pm line 64.
Compilation failed in require at (eval 22) line 1.

plugin: failed to create instance of plugin Mail::SpamAssassin::Plugin::DomainKeys: Can't locate object method "new" via package "Mail::SpamAssassin::Plugin::DomainKeys" at (eval 23) line 1.

bayes: synced databases from journal in 1 seconds: 454 unique entries (454 total entries)

expired old bayes database entries in 66 seconds
248489 entries kept, 1123 deleted
token frequency: 1-occurrence tokens: 76.36%
token frequency: less than 8 occurrences: 17.16%


Did it really compiled, or something else happended?

Guillermo Villasana wrote:
I added --no-sync to the script and still they were not finishing. It seems that there were just too many files to process, at the moment I changed that it would process the files that were 156 days old, and I am running it manually at the moment, (and is still running) so I am assuming that is because of the huge number of files to process (again I hadn't run something like that before in that server) when it finishes I will run manually sa-learn with --sync. Just to be on the safe side the command should be like this for running sa-learn with --sync:

/usr/bin/perl -T -w /usr/bin/sa-learn --sync
?
Or it has to be called in a different way.
I will keep you posted.

Jake Vickers wrote:
Guillermo Villasana wrote:
Hi guys, well, I had to remove the qtp-clean-spam script forn the cron because it was consuming all my cpu... I saw around 117 instances of the qtp-clean-script running after 2 days. I asume they were not finishing and that is why they are blocking the system... could it also be that some users have a lot of old spam? as I had never run sa-learn before in that server? Oh I had added the --no-sync to sa-learn and addend a --sync script for every day

also when I used the ps xa I saw that qtp-clean-script had a lot of ????, I forgot to copy a line... sorry just seemd to me odd that the command line had so many ????
Thanks again

Sounds like they were not finishing. Try modifying the script (it was located in /etc/cron.hourly) and changing the sa-learn line to include the --no-sync option (it uses the default, which is to sync).
I'
I'll change the next release to wait until everything has been learned to sync.



---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to