[Dovecot] How do I do this with mdbox?

Odhiambo Washington odhiambo at gmail.com
Sat Jan 29 16:37:21 EET 2011


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 at 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!!


More information about the dovecot mailing list