Jouko Nikula
2014-Apr-02 10:27 UTC
[Dovecot] Disable maildir indexing and dovecot-uidlist on LMTP/LDA delivery
Hello all, Is there a way to use LMTP (or LDA) so that maildir index and dovecot-uidlist are not updated? My setup is such that mail delivery sees user's maildir as write only. This setup works well when using postfix for mail delivery, but when I try to switch to dovecot LMTP the lmtp process wants to read the dovecot-uidlist and fails on insufficient privileges. Is there a way around this without exposing the maildir and mail home for read access? Regards, Jouko Nikula
Tom Hendrikx
2014-Apr-02 14:48 UTC
[Dovecot] Disable maildir indexing and dovecot-uidlist on LMTP/LDA delivery
On 04/02/2014 12:27 PM, Jouko Nikula wrote:> Hello all, > > Is there a way to use LMTP (or LDA) so that maildir index and > dovecot-uidlist are not updated? > > My setup is such that mail delivery sees user's maildir as write only. This > setup works well when using postfix for mail delivery, but when I try to > switch to dovecot LMTP the lmtp process wants to read the dovecot-uidlist > and fails on insufficient privileges. Is there a way around this without > exposing the maildir and mail home for read access? > > Regards, > Jouko Nikula >When indexes cannot be updated upon delivery, there is no real benefit in using dovecot's delivery mechanisms. So you could just simply let postfix deliver the messages. Tom
Alessio Cecchi
2014-Apr-03 12:08 UTC
[Dovecot] Disable maildir indexing and dovecot-uidlist on LMTP/LDA delivery
Il 02/04/2014 12:27, Jouko Nikula ha scritto:> Hello all, > > Is there a way to use LMTP (or LDA) so that maildir index and > dovecot-uidlist are not updated? > > My setup is such that mail delivery sees user's maildir as write only. This > setup works well when using postfix for mail delivery, but when I try to > switch to dovecot LMTP the lmtp process wants to read the dovecot-uidlist > and fails on insufficient privileges. Is there a way around this without > exposing the maildir and mail home for read access? > > Regards, > Jouko Nikula >Hi, I'm running dovecot with index disabled on LDA (but isn't possibile to disable dovecot-uidlist update). Disable index update with LDA is usefull in some situation (one POP/IMAP server and two or more MX) and can be set up with: protocol lda { mail_location = whatever-you-have-now:INDEX=MEMORY } Take a look at this thread: http://www.dovecot.org/list/dovecot/2012-January/062924.html Ciao -- Alessio Cecchi is: @ ILS -> http://www.linux.it/~alessice/ on LinkedIn -> http://www.linkedin.com/in/alessice Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz Cloud Email Hosting -> http://www.qboxmail.com @ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it