Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

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 11-16-2005, 06:56 AM
New Member
 
Posts: 4
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
Reply With Quote
  #2 (permalink)  
Old 11-16-2005, 09:20 AM
Starter Member
 
Posts: 2
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.
Reply With Quote
  #3 (permalink)  
Old 11-16-2005, 09:27 AM
Elite Member & Volunteer
 
Posts: 255
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.
Reply With Quote
  #4 (permalink)  
Old 11-16-2005, 10:18 AM
New Member
 
Posts: 4
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
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.