Results 1 to 4 of 4

Thread: Zmlmtpinject Question

  1. #1
    carnold is offline Advanced Member
    Join Date
    Jul 2007
    Posts
    227
    Rep Power
    8

    Default Zmlmtpinject Question

    Major disaster upgrading from 7.2 to 8 on SLES11. I have ZCS8 now installed, users created and all seems to be flowing now. However, i nee to put the .msg messages back into the users mailbox. I am looking at:
    Recover data from store folders
    and trying to understand the syntax. Injecting a whole folder of files would be:
    zmlmtpinject -r user@example.com -s sender@domain.com -d /opt/zimbra/location/#/#/

    Its the email addresses that i don't understand, user@example.com -s sender@domain.com. The user@example.com should be the mailbox user that i want to inject? For the sender@domain.com, am i suppose to know the sender of the email being injected? can i leave that off of the command?

    [EDIT]
    I left the sender@domain.com out and it seem to inject the messages. The only problem now is keeping the date header correct. The link in that OP leads to a blank page. Anyone know how to keep the date while using zmlmtpinject?
    Also, it looks like some of the injected emails are from my sent box as i get email from me (that were sent to someone else).
    [/EDIT]
    Last edited by carnold; 10-26-2012 at 05:55 AM.

  2. #2
    carnold is offline Advanced Member
    Join Date
    Jul 2007
    Posts
    227
    Rep Power
    8

    Default

    Quote Originally Posted by carnold View Post
    Major disaster upgrading from 7.2 to 8 on SLES11. I have ZCS8 now installed, users created and all seems to be flowing now. However, i nee to put the .msg messages back into the users mailbox. I am looking at:
    Recover data from store folders
    and trying to understand the syntax. Injecting a whole folder of files would be:
    zmlmtpinject -r user@example.com -s sender@domain.com -d /opt/zimbra/location/#/#/

    Its the email addresses that i don't understand, user@example.com -s sender@domain.com. The user@example.com should be the mailbox user that i want to inject? For the sender@domain.com, am i suppose to know the sender of the email being injected? can i leave that off of the command?

    [EDIT]
    I left the sender@domain.com out and it seem to inject the messages. The only problem now is keeping the date header correct. The link in that OP leads to a blank page. Anyone know how to keep the date while using zmlmtpinject?
    Also, it looks like some of the injected emails are from my sent box as i get email from me (that were sent to someone else).
    [/EDIT]
    Due to lack of responses, i guess i am missing something rather easy or it is not possible to keep date in tact?

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

    Default

    Quote Originally Posted by carnold View Post
    Due to lack of responses, i guess i am missing something rather easy or it is not possible to keep date in tact?
    zmlmtpinject : a gift and a question
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    carnold is offline Advanced Member
    Join Date
    Jul 2007
    Posts
    227
    Rep Power
    8

    Default

    Quote Originally Posted by phoenix View Post
    Found those scripts that are suppose to add the X-Received-Header but it does not appear to work as the messages injected still show as received today.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Using zmlmtpinject
    By tron in forum Administrators
    Replies: 10
    Last Post: 12-07-2012, 11:25 AM
  2. zmlmtpinject : a gift and a question
    By underdog in forum Migration
    Replies: 0
    Last Post: 06-16-2010, 01:51 AM
  3. Changes to the zmlmtpinject CLI in 6.0
    By bburtin in forum Administrators
    Replies: 0
    Last Post: 05-11-2009, 04:32 PM
  4. About zmlmtpinject
    By chanck in forum Administrators
    Replies: 1
    Last Post: 03-20-2006, 09:17 AM
  5. how can I use zmlmtpinject?
    By gmorchio in forum Installation
    Replies: 3
    Last Post: 11-16-2005, 10:18 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
  •