Hi list, I would like to test new functionality in latest 1.1 release, but can't find information on wiki. How can I deliver messages to different namespaces using "deliver"?
On Tue, 2008-03-18 at 18:40 +0300, Nikolay Shopik wrote:> Hi list, > > I would like to test new functionality in latest 1.1 release, but > can't find information on wiki. How can I deliver messages to > different namespaces using "deliver"?Using the namespace prefix, just like it works in IMAP. For example if you have: namespace private { location = .. prefix = stuff/ } Then use deliver -m stuff/mailbox -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080319/0928674e/attachment-0002.bin>
On 19.03.2008 8:11, Timo Sirainen wrote:> On Tue, 2008-03-18 at 18:40 +0300, Nikolay Shopik wrote: > >> Hi list, >> >> I would like to test new functionality in latest 1.1 release, but >> can't find information on wiki. How can I deliver messages to >> different namespaces using "deliver"? >> > > Using the namespace prefix, just like it works in IMAP. For example if > you have: > > namespace private { > location = .. > prefix = stuff/ > } > > Then use deliver -m stuff/mailbox > >Sounds simple, but I'm unsure how do I tell postfix use this command only for some recipients. I'm already have flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient} for delivering to virtual users.