Results 1 to 7 of 7

Thread: "-" is not supported

  1. #1
    Join Date
    Sep 2006
    Posts
    252
    Rep Power
    9

    Default "-" is not supported

    Hello,

    I'm running zimbra 4.5.5 and i'm having troubles with spam training.

    I'm running zmtrainsa and i get this error:

    config: could not find site rules directory
    archive-iterator: raw location "-" is not supported at /opt/zimbra/zimbramon/lib/Mail/SpamAssassin/ArchiveIterator.pm line 734.

    Learned from 0 message(s) (0 message(s) examined).
    fetchmail: SIGPIPE lanzado desde un MDA o un error de socket de flujo
    fetchmail: error `socket' durante el envío al host SMTP mail.domain.com
    fetchmail: Estado de la consulta=2 (SOCKET)
    config: could not find site rules directory
    Training DSPAM


    Can anybody help me figure why this is happening?

    Thanks!

  2. #2
    Join Date
    May 2007
    Location
    San Mateo
    Posts
    68
    Rep Power
    8

    Default

    It looks you're using "-" for stdin and zmtrainsa is using it as a character.

    Looking at the script the fifth arg is a folder. So you're not going to have any luck with using "< somefolder" as a redirect either. You may be safe with some command but you may end up needing a loop depending on what you're trying to do.

    If you post your full command I may have had the time to look at it for you.

  3. #3
    Join Date
    Sep 2006
    Posts
    252
    Rep Power
    9

    Default

    Thanks.

    I'm using the following command:

    zmtrainsa mail.domain.com user@domain.com passw0rd spam /Junk

    Thanks,

  4. #4
    Join Date
    May 2007
    Location
    San Mateo
    Posts
    68
    Rep Power
    8

    Default

    Ok, so nothing to do with stdin on a shell command.

    So you have a folder at root called Junk? If /Junk exists do you have read permissions on the hierarchy? Your command looks OK so I'd guess it's either the name is wrong or bad permissions. If it's neither of these you'll need someone from Zimbra.

  5. #5
    Join Date
    Sep 2006
    Posts
    252
    Rep Power
    9

    Default

    it says how many items i have on that folder but it seems that it can't process them.

    I'll wait for someone at zimbra.

    Thanks a lot!

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Vote for the entry in bugzilla.

    [EDIT]BTW, in your example above you have '/Junk' - why the leading slash? It shouldn't be needed, 'Junk' should do. You don't need to use the Junk folder via zmtrainsa, anything in there will have been moved to the spam training folder and get trained automatically.
    Last edited by phoenix; 06-11-2007 at 12:10 PM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    Join Date
    Sep 2006
    Posts
    252
    Rep Power
    9

    Default

    Thanks!

Similar Threads

  1. Is Samsung Blackjack i607 supported by Zimbra Mobile?
    By jasmin_lu in forum Zimbra Mobile
    Replies: 2
    Last Post: 08-03-2007, 11:56 AM
  2. zmtrainsa: Raw Location "-" is not supported
    By Erkki in forum Administrators
    Replies: 13
    Last Post: 07-26-2007, 09:00 AM
  3. Replies: 6
    Last Post: 06-29-2007, 02:28 PM
  4. How long is each release supported for?
    By billybofh in forum Administrators
    Replies: 3
    Last Post: 01-25-2006, 11:12 AM

Posting Permissions

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