[Dovecot] How do I do this with mdbox?
In my life with Maildir, mails were stored as single files, each mail per file. It was pretty easy to resend an e-mail from a Maildir folder to another address, by causing the mail to be re-injected into my MTA (Exim) queue for processing:
I'd use a very simple shell script to achieve the above:
#!/bin/sh email=$(find $*) { for x in ${email}; do sendmail president@egypt.gov < ${x}; done }
Now, with mdbox container/storage, it beats me how to achieve the same.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223
Damn!!
On 29.1.2011, at 16.37, Odhiambo Washington wrote:
#!/bin/sh email=$(find $*) { for x in ${email}; do sendmail president@egypt.gov < ${x}; done }
Now, with mdbox container/storage, it beats me how to achieve the same.
See the example at the bottom of http://wiki2.dovecot.org/Tools/Doveadm/Search
participants (2)
-
Odhiambo Washington
-
Timo Sirainen