[Dovecot] deliver to namespace using "deliver"

Nikolay Shopik shopik at inblock.ru
Wed Mar 19 12:00:10 EET 2008


On 19.03.2008 12:45, Nikolay Shopik wrote:
> 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.
>
Oh yeah, I find it.
mailbox_transport = deliver -m stuff/mailbox
mailbox_transport_maps = hash:/etc/postfix/namespace_mailboxes



More information about the dovecot mailing list