John Gateley
2019-Dec-01 21:18 UTC
Fast searching from android device with Dovecot/Maildir
Hello, I am using dovecot as an imap server, mail is stored in mail directories. Configuration is below. One mail directory has about 14 Gb of mail in the inbox and .Sent directories. Searching from an Android phone with gmail is slow or doesn't work (it times out). Is there a configuration for Dovecot that can improve this? A better e-mail client for Android? Thanks, John root at giraffe:~# dovecot --version 2.2.27 (c0f36b0) root at giraffe:~# doveconf -an # 2.2.27 (c0f36b0): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.16 (fed8554) # OS: Linux 4.9.0-11-amd64 x86_64 Debian 9.11 ... mail_location = maildir:~/Maildir namespace inbox { ? inbox = yes ? location ? mailbox Drafts { ??? special_use = \Drafts ? } ? mailbox Junk { ??? special_use = \Junk ? } ? mailbox Sent { ??? special_use = \Sent ? } ? mailbox "Sent Messages" { ??? special_use = \Sent ? } ? mailbox Trash { ??? special_use = \Trash ? } ? prefix } ... protocols = " imap" ...
Hi, you probably need to set up some kind of FTS backend and index your mails. See https://doc.dovecot.org/configuration_manual/fts/ <https://doc.dovecot.org/configuration_manual/fts/> Sami> On 1 Dec 2019, at 23.18, John Gateley via dovecot <dovecot at dovecot.org> wrote: > > Hello, > > I am using dovecot as an imap server, mail is stored in mail directories. > Configuration is below. > > One mail directory has about 14 Gb of mail in the inbox and .Sent directories. > > Searching from an Android phone with gmail is slow or doesn't work (it times out). > > Is there a configuration for Dovecot that can improve this? A better e-mail client > for Android? > > Thanks, > > John > > > root at giraffe:~# dovecot --version > 2.2.27 (c0f36b0) > root at giraffe:~# doveconf -an > # 2.2.27 (c0f36b0): /etc/dovecot/dovecot.conf > # Pigeonhole version 0.4.16 (fed8554) > # OS: Linux 4.9.0-11-amd64 x86_64 Debian 9.11 > ... > mail_location = maildir:~/Maildir > namespace inbox { > inbox = yes > location > mailbox Drafts { > special_use = \Drafts > } > mailbox Junk { > special_use = \Junk > } > mailbox Sent { > special_use = \Sent > } > mailbox "Sent Messages" { > special_use = \Sent > } > mailbox Trash { > special_use = \Trash > } > prefix > } > ... > protocols = " imap" > ...-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20191202/1db76833/attachment-0001.html>
Frank-Ulrich Sommer
2019-Dec-03 01:25 UTC
Fast searching from android device with Dovecot/Maildir
I dont't know the capabilities of gmail, but IMAP supports server side search which is quite fast if the Solr full text search plugin for dovecot is used (wiki.dovecot.org/Plugins/FTS/Solr). For debian "dovecot-solr" can be used. For Android K9-Mail does not really support server side search, Aquamail does and for other mail clients I don't know. Am 1. Dezember 2019 22:18:37 MEZ schrieb John Gateley via dovecot <dovecot at dovecot.org>:>Hello, > >I am using dovecot as an imap server, mail is stored in mail >directories. >Configuration is below. > >One mail directory has about 14 Gb of mail in the inbox and .Sent >directories. > >Searching from an Android phone with gmail is slow or doesn't work (it >times out). > >Is there a configuration for Dovecot that can improve this? A better >e-mail client >for Android? > >Thanks, > >John > > >root at giraffe:~# dovecot --version >2.2.27 (c0f36b0) >root at giraffe:~# doveconf -an ># 2.2.27 (c0f36b0): /etc/dovecot/dovecot.conf ># Pigeonhole version 0.4.16 (fed8554) ># OS: Linux 4.9.0-11-amd64 x86_64 Debian 9.11 >... >mail_location = maildir:~/Maildir >namespace inbox { > ? inbox = yes > ? location > ? mailbox Drafts { > ??? special_use = \Drafts > ? } > ? mailbox Junk { > ??? special_use = \Junk > ? } > ? mailbox Sent { > ??? special_use = \Sent > ? } > ? mailbox "Sent Messages" { > ??? special_use = \Sent > ? } > ? mailbox Trash { > ??? special_use = \Trash > ? } > ? prefix >} >... >protocols = " imap" >...-- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20191203/28ad5d1c/attachment.html>
John Gateley
2019-Dec-03 15:12 UTC
Fast searching from android device with Dovecot/Maildir
Thank you Frank-Ulrich, this looks perfect. John On 12/2/19 7:25 PM, Frank-Ulrich Sommer via dovecot wrote:> I dont't know the capabilities of gmail, but IMAP supports server side > search which is quite fast if the Solr full text search plugin for > dovecot is used (wiki.dovecot.org/Plugins/FTS/Solr). For debian > "dovecot-solr" can be used. > > For Android K9-Mail does not really support server side search, > Aquamail does and for other mail clients I don't know. > > Am 1. Dezember 2019 22:18:37 MEZ schrieb John Gateley via dovecot > <dovecot at dovecot.org>: > > Hello, > > I am using dovecot as an imap server, mail is stored in mail directories. > Configuration is below. > > One mail directory has about 14 Gb of mail in the inbox and .Sent > directories. > > Searching from an Android phone with gmail is slow or doesn't work (it > times out). > > Is there a configuration for Dovecot that can improve this? A better > e-mail client > for Android? > > Thanks, > > John >-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20191203/56819eb1/attachment.html>
Maybe Matching Threads
- Fast searching from android device with Dovecot/Maildir
- Dovecot can't log in Virtual user - please help
- Fwd: Everything works except sending mail
- Dovecot can't log in Virtual user - please help
- Dovecot 2.2.27 proxy - enforcing per client IP connection limits