Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: zmtrainsa: Raw Location "-" is not supported

  1. #1
    Join Date
    Apr 2007
    Posts
    0
    Rep Power
    0

    Default zmtrainsa: Raw Location "-" is not supported

    OS: Ubuntu 6.10 Server
    Zimbra: 4.5.4

    New to zimbra and trying to get the spam filters to work.

    First got the can't find rules and did the symlink fix found on the forums.
    (http://www.zimbra.com/forums/showpos...2&postcount=20)



    Now I receive the following when running zmtrainsa on all messages:

    reading message user@server:X of Y (XXXX header octects) . ( XXXXX body octects) ..........archive-iterator: raw location "-" is not supported at /opt/zimbra/zimbramon/lib/MailSpamAssassin/ArchiveIterator.pm line 734.

    after that I get a

    Learned from 0 message(s) (0 message(s) examined).
    not flushed
    Training DSPAM


    Any help would be appreciated.

  2. #2
    Join Date
    Aug 2006
    Location
    Michigan
    Posts
    44
    Rep Power
    9

    Default

    I am getting the same error

  3. #3
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Are you both using Ubuntu?
    I don't see a bug on this. Just to clarify, you BOTH are having this SAME issue?

    If so, please file a bug on this.

  4. #4
    Join Date
    Apr 2007
    Location
    Bay Area
    Posts
    2
    Rep Power
    8

    Default zmtrainsa: Raw Location "-" is not supported

    I am also seeing the same problem running a new clean install of 4.5.4 on Ubuntu 6.10.

    I filed bug 16177.

  5. #5
    Join Date
    Aug 2006
    Location
    Michigan
    Posts
    44
    Rep Power
    9

    Default

    I'm on CentOS

  6. #6
    Join Date
    Apr 2007
    Location
    Bay Area
    Posts
    2
    Rep Power
    8

    Default zmtrainsa: Raw Location "-" is not supported

    I put a few more details in the bug, but I made some changes to zmtrainsa to fix this problem (and also the problem where spamassassin can't find the rules - you don't need the symlink.) My version is attached. Replace /opt/zimbra/bin/zmtrainsa in your installation with this version (save your unmodified version somewhere.) Please let me know if it fixes your problems.

    - Bob
    Attached Files Attached Files

  7. #7
    Join Date
    Oct 2006
    Posts
    6
    Rep Power
    9

    Default

    Solution seems to work for me (CentOS 4.3 / Zimbra OSS 4.5.4).

    Thanks!

  8. #8
    Join Date
    Aug 2006
    Location
    Michigan
    Posts
    44
    Rep Power
    9

    Default

    That worked for me too. I'm running CentOS 4.3, with Zimbra OSS 4.5.3

  9. #9
    Join Date
    Apr 2007
    Posts
    1
    Rep Power
    8

    Cool I had the same problem...

    The new zmtrainsa in this thread fixed it.

    Running Ubuntu...

    Linux version 2.6.15-26-server (buildd@terranova) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 SMP Fri Sep 8 21:00:37 UTC 2006

    and

    Zimbra 4.5.4_GA_763.UBUNTU6


    Other than that ZIMBRA RAWX!!!!!

  10. #10
    Join Date
    Nov 2006
    Posts
    18
    Rep Power
    8

    Default Worked here as well.

    I, too, got the message:

    reading message xxxx@xxxxx.com:1 of 4 (2533 header octets) .. (15091 body octets) ......archive-iterator: raw location "-" is not supported at /opt/zimbra/zimbramon/lib/Mail/SpamAssassin/ArchiveIterator.pm line 734.
    The modified zmtrainsa posted in this thread seems to have fixed the problem on 4.5.4 NETWORK on CentOS 4.

    I am still having issues with zmtrainsa complaining about not finding attachments sent from other clients, but I will post that to another thread.

Similar Threads

  1. zmtrainsa - can't find site rules
    By reza225 in forum Administrators
    Replies: 9
    Last Post: 07-09-2007, 12:19 PM
  2. "-" is not supported
    By fernandoflorez in forum Administrators
    Replies: 6
    Last Post: 06-11-2007, 06:18 PM
  3. Rewrote zmtrainsa for DSPAM
    By unilogic in forum Developers
    Replies: 18
    Last Post: 01-12-2006, 05:03 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
  •