https://wiki.zimbra.com/api.php?action=feedcontributions&user=Sourabh+Bhushan&feedformat=atomZimbra :: Tech Center - User contributions [en]2024-03-29T08:37:59ZUser contributionsMediaWiki 1.39.0https://wiki.zimbra.com/index.php?title=Lmtpinject&diff=54552Lmtpinject2014-04-16T06:49:51Z<p>Sourabh Bhushan: </p>
<hr />
<div>*lmtp will only deliver mail to the inbox. You could try to create a filter on the user's mailbox first that moves all mail from the user to the sent folder.<br />
<br />
usage: zmlmtpinject -r <recip1> [recip2 ...] -s <sender> [options]<br />
<file1 [file2 ...] | -d <dir>><br />
-a,--address <arg> lmtp server (default localhost)<br />
-d,--directory <arg> message file directory<br />
-h,--help display usage information<br />
-N,--every <arg> report progress after every N messages (default<br />
100)<br />
--noValidation don't validate file content<br />
-p,--port <arg> lmtp server port (default 7025)<br />
-q,--quiet don't print status<br />
-r,--recipient <arg> envelope recipients (rcpt to). This option<br />
accepts multiple arguments, so it can't be last if<br />
a list of input files is used.<br />
-s,--sender envelope sender (mail from)<br />
--smtp use SMTP protocol instead of LMTP<br />
-T,--trace trace server/client traffic<br />
-t,--threads <arg> number of worker threads (default 1)<br />
-v,--verbose print detailed delivery status<br />
<br />
<br />
<br />
The following command. '-r' is the receiver, and '-s' is the sender. The sender can be anything and doesn't need to exist on the server:<br />
<br />
<br />
<br />
$ zmlmtpinject -r test@example.com -s test2@example.com -T -v /tmp/testemail<br />
<br />
<br />
<br />
<br />
** http://www.zimbra.com/forums/administrators/2199-about-zmlmtpinject-print.html<br />
<br />
{{Article Footer|unknown|5/1/2009}}<br />
<br />
[[Category:Administration]]</div>Sourabh Bhushanhttps://wiki.zimbra.com/index.php?title=Lmtpinject&diff=54551Lmtpinject2014-04-16T06:33:29Z<p>Sourabh Bhushan: </p>
<hr />
<div>*lmtp will only deliver mail to the inbox. You could try to create a filter on the user's mailbox first that moves all mail from the user to the sent folder.<br />
<br />
usage: zmlmtpinject -r <recip1> [recip2 ...] -s <sender> [options]<br />
<file1 [file2 ...] | -d <dir>><br />
-a,--address <arg> lmtp server (default localhost)<br />
-d,--directory <arg> message file directory<br />
-h,--help display usage information<br />
-N,--every <arg> report progress after every N messages (default<br />
100)<br />
--noValidation don't validate file content<br />
-p,--port <arg> lmtp server port (default 7025)<br />
-q,--quiet don't print status<br />
-r,--recipient <arg> envelope recipients (rcpt to). This option<br />
accepts multiple arguments, so it can't be last if<br />
a list of input files is used.<br />
-s,--sender envelope sender (mail from)<br />
--smtp use SMTP protocol instead of LMTP<br />
-T,--trace trace server/client traffic<br />
-t,--threads <arg> number of worker threads (default 1)<br />
-v,--verbose print detailed delivery status<br />
<br />
<br />
<br />
The following command. '-r' is the receiver, and '-s' is the sender. The sender can be anything, and doesn't need to exist on the server:<br />
<br />
<br />
<br />
$ zmlmtpinject -r test@example.com -s test2@example.com -T -v /tmp/testemail<br />
<br />
<br />
<br />
<br />
** http://www.zimbra.com/forums/administrators/2199-about-zmlmtpinject-print.html<br />
<br />
{{Article Footer|unknown|5/1/2009}}<br />
<br />
[[Category:Administration]]</div>Sourabh Bhushanhttps://wiki.zimbra.com/index.php?title=Lmtpinject&diff=54550Lmtpinject2014-04-16T06:32:51Z<p>Sourabh Bhushan: </p>
<hr />
<div>*lmtp will only deliver mail to the inbox. You could try to create a filter on the user's mailbox first that moves all mail from the user to the sent folder.<br />
<br />
usage: zmlmtpinject -r <recip1> [recip2 ...] -s <sender> [options]<br />
<file1 [file2 ...] | -d <dir>><br />
-a,--address <arg> lmtp server (default localhost)<br />
-d,--directory <arg> message file directory<br />
-h,--help display usage information<br />
-N,--every <arg> report progress after every N messages (default<br />
100)<br />
--noValidation don't validate file content<br />
-p,--port <arg> lmtp server port (default 7025)<br />
-q,--quiet don't print status<br />
-r,--recipient <arg> envelope recipients (rcpt to). This option<br />
accepts multiple arguments, so it can't be last if<br />
a list of input files is used.<br />
-s,--sender envelope sender (mail from)<br />
--smtp use SMTP protocol instead of LMTP<br />
-T,--trace trace server/client traffic<br />
-t,--threads <arg> number of worker threads (default 1)<br />
-v,--verbose print detailed delivery status<br />
<br />
<br />
<br />
The following command. '-r' is the receiver, and '-s' is the sender. The sender can be anything, and doesn't need to exist on the server:<br />
<br />
# su - zimbra<br />
<br />
$ zmlmtpinject -r test@example.com -s test2@example.com -T -v /tmp/testemail<br />
<br />
<br />
<br />
<br />
** http://www.zimbra.com/forums/administrators/2199-about-zmlmtpinject-print.html<br />
<br />
{{Article Footer|unknown|5/1/2009}}<br />
<br />
[[Category:Administration]]</div>Sourabh Bhushanhttps://wiki.zimbra.com/index.php?title=Lmtpinject&diff=54549Lmtpinject2014-04-16T06:31:52Z<p>Sourabh Bhushan: </p>
<hr />
<div>*lmtp will only deliver mail to the inbox. You could try to create a filter on the user's mailbox first that moves all mail from the user to the sent folder.<br />
<br />
usage: zmlmtpinject -r <recip1> [recip2 ...] -s <sender> [options]<br />
<file1 [file2 ...] | -d <dir>><br />
-a,--address <arg> lmtp server (default localhost)<br />
-d,--directory <arg> message file directory<br />
-h,--help display usage information<br />
-N,--every <arg> report progress after every N messages (default<br />
100)<br />
--noValidation don't validate file content<br />
-p,--port <arg> lmtp server port (default 7025)<br />
-q,--quiet don't print status<br />
-r,--recipient <arg> envelope recipients (rcpt to). This option<br />
accepts multiple arguments, so it can't be last if<br />
a list of input files is used.<br />
-s,--sender envelope sender (mail from)<br />
--smtp use SMTP protocol instead of LMTP<br />
-T,--trace trace server/client traffic<br />
-t,--threads <arg> number of worker threads (default 1)<br />
-v,--verbose print detailed delivery status<br />
<br />
<br />
<br />
The following command. '-r' is the receiver, and '-s' is the sender. The sender can be anything, and doesn't need to exist on the server:<br />
<br />
'''# su - zimbra<br />
$ zmlmtpinject -r test@example.com -s test2@example.com -T -v /tmp/testemail<br />
<br />
'''<br />
<br />
<br />
** http://www.zimbra.com/forums/administrators/2199-about-zmlmtpinject-print.html<br />
<br />
{{Article Footer|unknown|5/1/2009}}<br />
<br />
[[Category:Administration]]</div>Sourabh Bhushan