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 in the forums, please register and review our posting policy & tips. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack (11) Thread Tools Display Modes
  11 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 01-25-2007, 08:54 PM
Senior Member
 
Posts: 51
Unhappy import Maildir messages into a different folder

hi guys,

I use this command to import a single message into a user's mailbox:

Code:
 sudo -u zimbra /opt/zimbra/bin/zmlmtpinject -s someuser /tmp/Maildir/new/1169406181.5969.server.com,S=13648 -r fara@mydomain.com
The command above successfully imports that message into INBOX of user fara on my Zimbra server.

The question is how do I use the same command to import that message into a different folder, not INBOX, but say "backup"? I believe there should be a flag that will do it, but I cannot find documentation of this.

Any help appreciated.

Thanks
Reply With Quote
  #2 (permalink)  
Old 01-25-2007, 11:49 PM
Zimbra Contractor
 
Posts: 10,049
Default

I don't know if there is an option to choose a folder, I'd guess the assumption is that it's for the default inbox. Why not just set-up a filter on the mailbox to move everything into a named folder?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 01-26-2007, 02:50 PM
Zimbra Employee
 
Posts: 1,433
Default zmmailbox

You should also be able to use the zmmailbox program to add a file (or a folder of message files) to a given folder.

Use zmmailbox addMessage {dest-folder-path} {filename-or-dir} [{filename-or-dir} ...] to do this.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
messages stuck in deffered folder RISKone Installation 4 07-04-2007 12:03 PM
Import wizzard 'scrambles' messages oliware Zimbra Connector for Outlook 5 06-28-2007 11:17 AM
why aren't these spam messages going to the Junk folder? (4.5.1) shaver Administrators 5 02-09-2007 09:10 PM
Spam assassain not traiing properly! Mike T Administrators 1 10-09-2006 01:34 PM
Migration ERR. :could not open the default message store nabmed Administrators 42 08-11-2006 09:50 AM

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com

sourceforge.net



 

Search Engine Optimization by vBSEO 3.1.0