Hi all,
Is there a way to inject mail into a mailbox folder instead of just into the 'Inbox'?
Using a command similar to:
zmlmtpinject -r user@domain.com -s sender@domain.com /opt/zimbra/location/#/#/msg/123-4.msg
Or would I have to use REST to do it?
Thanks
zmlmtpinject into mailbox folder
Re: zmlmtpinject into mailbox folder
Hi,
this would usually be done using REST (or IMAP, for that matter).
this would usually be done using REST (or IMAP, for that matter).
Re: zmlmtpinject into mailbox folder
Thanks. Got it working with:
/opt/zimbra/bin/zmmailbox -z -m user@domain.com addMessage /inbox/imported /opt/STORE/250/msg/2/17976-71969.msg
SOLVED
/opt/zimbra/bin/zmmailbox -z -m user@domain.com addMessage /inbox/imported /opt/STORE/250/msg/2/17976-71969.msg
SOLVED
Re: zmlmtpinject into mailbox folder
Hi,
I've tried your command { /opt/zimbra/bin/zmmailbox -z -m user@domain.com addMessage /inbox/imported /opt/STORE/250/msg/2/17976-71969.msg}
but I got emty messages from unkown sender do you have any ideea
I've tried your command { /opt/zimbra/bin/zmmailbox -z -m user@domain.com addMessage /inbox/imported /opt/STORE/250/msg/2/17976-71969.msg}
but I got emty messages from unkown sender do you have any ideea
Re: zmlmtpinject into mailbox folder
Hi,
Please verify the path is correct. Could you try this command:
/opt/zimbra/bin/zmmailbox -z -m user@domain.com addMessage /inbox/imported /opt/zimbra/store/250/msg/2/17976-71969.msg
You can also take the reference here for zmmailbox.
https://wiki.zimbra.com/wiki/Zmmailbox
Please verify the path is correct. Could you try this command:
/opt/zimbra/bin/zmmailbox -z -m user@domain.com addMessage /inbox/imported /opt/zimbra/store/250/msg/2/17976-71969.msg
You can also take the reference here for zmmailbox.
https://wiki.zimbra.com/wiki/Zmmailbox
Re: zmlmtpinject into mailbox folder
Hi there
Thank you so much for that command, it works, /opt/zimbra/bin/zmmailbox -z -m user@domain.com addMessage /inbox /opt/zimbra/store/0/17/msg/0/*.*
SOLVED
Regards
Thank you so much for that command, it works, /opt/zimbra/bin/zmmailbox -z -m user@domain.com addMessage /inbox /opt/zimbra/store/0/17/msg/0/*.*
SOLVED
Regards