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 01-25-2007, 09: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-26-2007, 12:49 AM
Zimbra Consultant & Moderator
 
Posts: 19,639
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, 03:50 PM
Zimbra Employee
 
Posts: 1,434
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
  #4 (permalink)  
Old 03-03-2010, 01:04 PM
Active Member
 
Posts: 27
Default

Just in case anyone sees this thread 3 years later (like me), then this wiki page is very helpful:

Zmmailbox - Zimbra :: Wiki
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.