how can I use zmlmtpinject?

Ask questions about your setup or get help installing ZCS server (ZD section below).
gmorchio
Posts: 4
Joined: Fri Sep 12, 2014 10:00 pm

how can I use zmlmtpinject?

Postby gmorchio » Wed Nov 16, 2005 7:56 am

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


maestronn
Posts: 2
Joined: Fri Sep 12, 2014 9:58 pm

how can I use zmlmtpinject?

Postby maestronn » Wed Nov 16, 2005 10:20 am

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.
rsharpe
Outstanding Member
Outstanding Member
Posts: 254
Joined: Fri Sep 12, 2014 9:59 pm

how can I use zmlmtpinject?

Postby rsharpe » Wed Nov 16, 2005 10:27 am

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.
gmorchio
Posts: 4
Joined: Fri Sep 12, 2014 10:00 pm

how can I use zmlmtpinject?

Postby gmorchio » Wed Nov 16, 2005 11:18 am

[quote user="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.[/QUOTE]
Yes... that was almost straight forward. THanks!!
Regards

Giovanni

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 5 guests