Results 1 to 4 of 4

Thread: zmtrainsa ham learning error

  1. #1
    lzmarine is offline Intermediate Member
    Join Date
    Jul 2007
    Location
    Wilmington, DE
    Posts
    18
    Rep Power
    8

    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

  2. #2
    reza225 is offline Advanced Member
    Join Date
    Aug 2006
    Location
    San Diego
    Posts
    193
    Rep Power
    8

    Default

    could it be a permissions problem?

  3. #3
    lzmarine is offline Intermediate Member
    Join Date
    Jul 2007
    Location
    Wilmington, DE
    Posts
    18
    Rep Power
    8

    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.

  4. #4
    dwmtractor's Avatar
    dwmtractor is offline Moderator
    Join Date
    Jul 2007
    Location
    San Jose, CA
    Posts
    1,027
    Rep Power
    10

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  2. Postfix problem
    By jimbo in forum Administrators
    Replies: 46
    Last Post: 07-23-2007, 05:24 AM
  3. 3.0 to 4.5.3 Upgrade failed (mysql error)
    By dealt in forum Installation
    Replies: 35
    Last Post: 03-19-2007, 10:30 PM
  4. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01:01 PM
  5. Building native libraries on MacOS X
    By ajmas in forum Developers
    Replies: 3
    Last Post: 10-14-2005, 11:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •