Results 1 to 4 of 4

Thread: how can I use zmlmtpinject?

  1. #1
    gmorchio is offline New Member
    Join Date
    Nov 2005
    Location
    Santiago, Chile
    Posts
    4
    Rep Power
    9

    Unhappy how can I use zmlmtpinject?

    Hi there!

    I'm just screwed trying to migrate from M1 to M2 , at least I backed up the store. I'm was trying to use zmlmtpinject but I haven't found the way to use it.
    Could anyone explain the use of it? I haven't found any references of it.
    anyone .. help!! I have to reinject old messages into the new system.

    Thanks!
    Regards
    Giovanni

  2. #2
    maestronn is offline Starter Member
    Join Date
    Oct 2005
    Posts
    2
    Rep Power
    9

    Default

    I injected messages into M1 from a maildir buy using:
    /opt/zimbra/bin/zmlmtpinject -s olduser /path/to/maildir/* -r zimbrauser@domain.com

    I had to figure that out by trail & error. Maybe someone can post the full syntax and options for this.

  3. #3
    rsharpe is offline Elite Member & Volunteer
    Join Date
    Nov 2005
    Location
    London, ON
    Posts
    255
    Rep Power
    9

    Default

    usage: LmtpInject [options] [files]
    where [options] are one of:
    -a,--address lmtp server (default localhost)
    -d,--directory message file directory
    -D,--domain default per-connection recipient domain
    (default example.zimbra.com)
    -N,--every report progress after every N messages
    (default 100)
    -p,--port lmtp server port (default 7025)
    -q,--quiet don't print per-message status
    -r,--recipient envelope recipients (rcpt to). This option
    accepts multiple arguments, so it can't be last if a list of input files
    is used.
    -S,--stopAfter stop after sending this many messages after
    warm-up
    -s,--sender envelope sender (mail from)
    -t,--threads number of worker threads (default 1)
    -T,--trace trace server/client traffic
    -u,--username username prefix (default "user")
    -w,--warmUpThreshold warm-up server with first N messages, then
    start measuring (default no warm-up)
    -z,--repeat repeatedly inject these messages NUM times
    and [files] contain rfc822 messages. If directory is specified, then
    [files] are ignored.

  4. #4
    gmorchio is offline New Member
    Join Date
    Nov 2005
    Location
    Santiago, Chile
    Posts
    4
    Rep Power
    9

    Default Yes, it worked

    Quote Originally Posted by maestronn
    I injected messages into M1 from a maildir buy using:
    /opt/zimbra/bin/zmlmtpinject -s olduser /path/to/maildir/* -r zimbrauser@domain.com

    I had to figure that out by trail & error. Maybe someone can post the full syntax and options for this.
    Yes... that was almost straight forward. THanks!!

    Regards
    Giovanni

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Using zmlmtpinject
    By tron in forum Administrators
    Replies: 10
    Last Post: 12-07-2012, 11:25 AM
  2. zmlmtpinject errors
    By wfweaver in forum Administrators
    Replies: 1
    Last Post: 06-29-2007, 09:38 AM
  3. About zmlmtpinject
    By chanck in forum Administrators
    Replies: 1
    Last Post: 03-20-2006, 09:17 AM
  4. zmlmtpinject sometimes hangs on errors
    By jigi in forum Administrators
    Replies: 6
    Last Post: 01-18-2006, 09:14 PM
  5. zmlmtpinject not working
    By tron in forum Administrators
    Replies: 6
    Last Post: 10-15-2005, 04:48 PM

Posting Permissions

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