Results 1 to 4 of 4

Thread: import Maildir messages into a different folder

  1. #1
    alimovz is offline Senior Member
    Join Date
    Nov 2006
    Posts
    52
    Rep Power
    8

    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

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,585
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    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!

  4. #4
    ajayrockrock is offline Active Member
    Join Date
    May 2007
    Location
    Riverside, CA
    Posts
    27
    Rep Power
    8

    Default

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

    Zmmailbox - Zimbra :: Wiki

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. messages stuck in deffered folder
    By RISKone in forum Installation
    Replies: 4
    Last Post: 07-04-2007, 12:03 PM
  2. Import wizzard 'scrambles' messages
    By oliware in forum Zimbra Connector for Outlook
    Replies: 5
    Last Post: 06-28-2007, 11:17 AM
  3. Replies: 5
    Last Post: 02-09-2007, 10:10 PM
  4. Spam assassain not traiing properly!
    By Mike T in forum Administrators
    Replies: 1
    Last Post: 10-09-2006, 01:34 PM
  5. Replies: 42
    Last Post: 08-11-2006, 09:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •