Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-13-2006, 11:03 AM
Active Member
 
Posts: 28
Default Spam training has no cron job

Hi,

I have problem with the spam/ham training and I am not exactly sure what to do.

I see in the list of accounts that there are two Spam Training Accounts but I don't know which one is for training spam and which one is for training ham.

After doing some searching on these forums, I saw that people talked about a cron job that runs to actually do the training and so I thought the cron script my give me a clue as to which account does what. Unfortunately I don't see any cron jobs relating to Zimbra in crontab, cron.d, cron.daily, cron.hourly or cron.monthly. Is the zmtrainsa script run in a different process?

In the forums there was also mention of a trainspam.log but I cannot find that file anywhere on the server.

Is my spam training broken? If so, what can I do to correct it? Thank you.

Richard Morris
richard@hddbroker.com
Reply With Quote
  #2 (permalink)  
Old 09-13-2006, 12:21 PM
Senior Member
 
Posts: 72
Default

are you looking in the zimbra user's crontab?
su - zimbra
crontab -l shows
#
# Spam training
#
0 23 * * * /opt/zimbra/bin/zmtrainsa >> /opt/zimbra/log/spamtrain.log 2>&1

for me.
Reply With Quote
  #3 (permalink)  
Old 09-13-2006, 12:42 PM
Active Member
 
Posts: 28
Default

Thank you for your help. My install was the same as yours and the log file does show activity so it looks like it is working fine.

I did manage to find out which account does the spam training and which does the ham training. You can use the following commands to look up the e-mail address used for each training account:

zmprov gcf zimbraSpamIsNotSpamAccount
zmprov gcf zimbraSpamIsSpamAccount

Thanks for the help.

Richard Morris
richard@hddbroker.com
Reply With Quote
  #4 (permalink)  
Old 09-13-2006, 12:50 PM
Senior Member
 
Posts: 72
Default

No problem, glad it helped.

Kyle
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0