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. Best regards. -- Thiago Monaco Papageorgiou <thiago.monaco at corp.terra.com.br> ________________________ Terra Networks Brasil S/A Tel: +55 (51) 3284-4274
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/