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 (11) Thread Tools Display Modes
  11 links from elsewhere to this Post. Click to view. #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: 11,505
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
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0