mailbox.auto ignores dovecot-uidlist.lock

Tom Sommer mail at tomsommer.dk
Thu May 19 08:37:05 UTC 2016


On 2016-05-19 08:07, Steffen Kaiser wrote:

> On Wed, 18 May 2016, Tom Sommer wrote:
>> On 2016-05-18 11:52, Aki Tuomi wrote:
>>> On 18.05.2016 12:44, Tom Sommer wrote:
>>>> I'm trying to lock down a maildir from modifications using
>>>> dovecot-uidlist.lock, but when a user with mailbox.auto = create 
>>>> logs
>>>> in, then the folder is created regardless of dovecot-uidlist.lock
>>>> existing or not.
>>>> 
>>>> Is there no way to prevent dovecot from touching anything in a 
>>>> maildir
>>>> folder?
>>>> 
>>> Could you provide more information, like:
>>> 
>>> what you are trying to achieve
>>> what did you do
>>> what you configuration looks like
>>> what version you are using
>> 
>> I'm trying to move all files and folder from /foo.com/bar/ to 
>> /foo.com/bar/Maildir without moving .dovecot.svbin and .dovecot.sieve 
>> etc. (homedir files)
>> 
>> So I wanted to lock the folder, kick the user and the move the 
>> files/folders, but the user logs in just after I kick him and so the 
>> auto-folders are created and my migration script fails, locking the 
>> folder with dovecot-uidlist.lock and maildirlock does not work in this 
>> case.
> 
> Check out:
> 
> http://wiki2.dovecot.org/Authentication/RestrictAccess?highlight=%28user%29|%28deny%29

Yea, I was just hoping there was a way without having to mess with 
passdb


More information about the dovecot mailing list