[Dovecot] mailbox lock

mouss mouss at netoyen.net
Thu Aug 28 22:41:01 EEST 2008


Thiago Monaco Papageorgiou wrote:
> Hello!
> 
> I need to use my lock method into the dovecot to block a mailbox. I am 
> using maildir format, is there an API that I can implement? I need it 
> because there are others systems which already use my lock method.

why would you lock in a maildir? maildir was designed to avoid locks. do 
you have an external app that "plays" with mail files? in a maildir, it 
may be as easy as:

# mkdir mydir
# mv cur/$filename mydir/
# do what you want in mydir/



More information about the dovecot mailing list