Re: Message searching in Dovecot

2023-04-20 Thread John Gateley via dovecot



On 4/19/23 4:34 PM, John Gateley via dovecot wrote:


Hello,

For mobile clients (gmail on Android), I need a server side searching 
solution.


...



Thank you everyone for the suggestions. I will try them and report back.


John

___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org


Message searching in Dovecot

2023-04-19 Thread John Gateley via dovecot

Hello,

For mobile clients (gmail on Android), I need a server side searching 
solution.


A few months ago, I tried getting Solr to work with Dovecot, but failed.

The instructions here 
https://doc.dovecot.org/configuration_manual/fts/solr/ are quite out of 
date, they reference Debian 8 and 9 (current version 11), and Solr 7.7 
(current version 9.2)


My Solr experience is pretty much zero.

Questions/Requests:

 * Is there a different tool than Solr I should be using for this?
 * Does anyone have a recent version of Solr and Debian working?
 * If you do, would you be willing to help me?
 * I cannot afford much, this is a home mailserver for my wife and I,
   but I could pay a small consulting fee.

I use ansible to deploy the server, I'd be willing to contribute the 
playbooks somewhere for documentation, or help with the docs.


Thanks!

John
___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org


Solr for Dovecot on Debian 9, package has correct binary?

2019-12-10 Thread John Gateley via dovecot

Hello,

I am trying to get Solr full text searching working on Debian 9 with 
Dovecot, and I suspect

the binary for dovecot does not have solr enabled (--with-solr).

root@elephant:/etc/dovecot/conf.d# /usr/sbin/dovecot --build-options
Build options: ioloop=epoll notify=inotify ipv6 openssl io_block_size=8192
Mail storages: shared mdbox sdbox maildir mbox cydir imapc pop3c raw fail
SQL driver plugins: mysql postgresql sqlite
Passdb: checkpassword ldap pam passwd passwd-file shadow sql
Userdb: checkpassword ldap(plugin) nss passwd prefetch passwd-file sql
root@elephant:/etc/dovecot/conf.d#

If I want to use solr, do I have to build dovecot myself? I'd prefer to use
the debian package (Debian 9 for now).

Thanks!

John


Re: Fast searching from android device with Dovecot/Maildir

2019-12-03 Thread John Gateley via dovecot

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 
:


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





Fast searching from android device with Dovecot/Maildir

2019-12-01 Thread John Gateley via dovecot

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@giraffe:~# dovecot --version
2.2.27 (c0f36b0)
root@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"
...