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 Search this Thread Display Modes
  #1 (permalink)  
Old 07-25-2007, 08:30 AM
Intermediate Member
 
Posts: 18
Default zmtrainsa ham learning error

# zmtrainsa <user@domain> ham Inbox
mktemp: cannot make temp dir spam.XXXXX: Invalid argument

To fix this, change line 65 in zmtrainsa
From:
tempdir=`mktemp -d -t ham.XXXXX` || exit 1
To:
tempdir=`mktemp -d -t ham.XXXXXX` || exit 1

PS. Spam training works fine, mktemp seems to require a 6-char tmp extension (at least on my Ububtu)
# uname -a
Linux mail 2.6.15-28-server #1 SMP Thu May 10 10:40:27 UTC 2007 i686 GNU/Linux
Reply With Quote
  #2 (permalink)  
Old 07-26-2007, 11:45 AM
Advanced Member
 
Posts: 193
Default

could it be a permissions problem?
Reply With Quote
  #3 (permalink)  
Old 07-26-2007, 12:13 PM
Intermediate Member
 
Posts: 18
Default

Quote:
Originally Posted by reza225 View Post
could it be a permissions problem?
Why would that be? Spam training works fine, and adding the additional "X" in the mktemp template argument made ham training work. The spam line had 6 "X" characters and the ham line only had 5. I just `apt-get upgrade` the day I noticed, but don't think the updrade affected the mktemp operation.
Reply With Quote
  #4 (permalink)  
Old 10-10-2007, 12:41 PM
Moderator
 
Posts: 1,027
Default

Bug 20673 addresses this issue, but does not seem to have gotten much attention yet. Go to bugzilla and vote for it and maybe it'll get fixed.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.