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 04-01-2007, 12:16 PM
Beginner Member
 
Posts: 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.
(zmtrainsa broken after upgrade to v 4.0)



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.
Reply With Quote
  #2 (permalink)  
Old 04-16-2007, 10:02 PM
Active Member
 
Posts: 44
Default

I am getting the same error
Reply With Quote
  #3 (permalink)  
Old 04-17-2007, 01:11 AM
Former Zimbran
 
Posts: 5,606
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.
Reply With Quote
  #4 (permalink)  
Old 04-17-2007, 01:36 AM
Starter Member
 
Posts: 2
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.
Reply With Quote
  #5 (permalink)  
Old 04-17-2007, 10:44 AM
Active Member
 
Posts: 44
Default

I'm on CentOS
Reply With Quote
  #6 (permalink)  
Old 04-18-2007, 12:40 AM
Starter Member
 
Posts: 2
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
File Type: zip zmtrainsa.zip (1.6 KB, 91 views)
Reply With Quote
  #7 (permalink)  
Old 04-27-2007, 04:17 AM
Junior Member
 
Posts: 6
Default

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

Thanks!
Reply With Quote
  #8 (permalink)  
Old 04-27-2007, 07:35 AM
Active Member
 
Posts: 44
Default

That worked for me too. I'm running CentOS 4.3, with Zimbra OSS 4.5.3
Reply With Quote
  #9 (permalink)  
Old 04-27-2007, 02:19 PM
Starter Member
 
Posts: 1
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!!!!!
Reply With Quote
  #10 (permalink)  
Old 04-30-2007, 03:52 PM
dvb dvb is offline
Intermediate Member
 
Posts: 18
Default Worked here as well.

I, too, got the message:

Quote:
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.
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.