[Dovecot] Dovecot deliver into folder question

Marc Perkel marc at perkel.com
Wed Jan 8 18:24:03 EET 2014


On 1/6/2014 11:28 PM, Steffen Kaiser wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Mon, 6 Jan 2014, Marc Perkel wrote:
>
>> On 1/6/2014 12:27 PM, Charles Marcus wrote:
>>> On 2014-01-06 3:20 PM, Marc Perkel <marc at perkel.com> wrote:
>>>> If I want to user dovecot deliver into a folder that is not at the 
>>>> root level - how do I do that? How do I specify a folder in a folder? 
>>>
>>> For *all* messages? Or for certain messages?
>>>
>>> Kind of an incomplete question.
>>>
>>
>> Certain messages. I'm talking about the deliver utility - the -m option.
>>
>> Usage: dovecot-lda [-c <config file>] [-a <address>] [-d <username>] 
>> [-p <path>]
>>                   [-f <envelope sender>] [-m <mailbox>] [-e] [-k]
>>
>> when specifying the mailbox - how do you specify a subfolder? Do you 
>> use a / separator?
>
> You have to experiment a bit. As far as I remember, there had been bug 
> reports in some versions that maybe a mixture of "/" and the 
> configured separator must be used, e.g.
>
> prefix = shared.
> separator = .
>
> try:
> - -m shared.sub1.sub2.sub3
> - -m shared.sub1/sub2/sub3
> - -m shared/sub1/sub2/sub3
>
> When I used Dovecot LDA, the first variant worked.

Yes - I tried that and it worked with the period. However I think if I 
weren't using maildir format it might have failed. There should be an 
official way to do this.



More information about the dovecot mailing list