Re: mbox 2 Maildir
Hi, Tamas Hegedus, 29.01.19: * Configuration uses mail_location = mbox:~/mails * setup per-user mail location and do for each user individually in a serial manner: -- doveadm sync maildir:~/Maildir; mbox is synced to Maildir, long running time -- doveadm sync maildir:~/Maildir; rerun to do it for new messages (fast) -- add USER to userdb and set extra field to maildir:~/Maildir users not present in the userdb should default to dovcot default; conditionally optional: doveadm auth cache flush IMHO there is no need to create or change special userdb entries. See https://wiki.dovecot.org/MailLocation: "By default the mail_location setting is empty, which means that Dovecot attempts to locate automatically where your mails are." Regards, Christian -- No signature available. smime.p7s Description: S/MIME Cryptographic Signature
Re: Dovecot and FTS experiment
W dniu 2019-01-29 19:37, Aki Tuomi napisał(a): Possibly, it's hard to say. It depends more about how much mail you have in total. You might need more than one server. One per backend is definetly too much. Great, thank you. I have more than 15TB of mails and I know that one Solr server could be not enough. But it is good that I not need to install Solr od every mail server. On that amount of data - I think that Solr server need more optimalization and I don't want to change configuration of mail servers. You can use doveadm dump /path/to/index/directory to view the contents on the indexes. Great command, thank you! I didn't know about it. You can just stop loading fts. Super. I like it :) You can run doveadm fts rescan -A and doveadm index -A "*" to perform full FTS indexing. Ok, thank you. I was afraid that there might be more dependencies.
Re: Dovecot and FTS experiment
W dniu 2019-01-29 23:48, Daniel Miller via dovecot napisał(a): You need to start somewhere. If you've never played with Solr before I suggest you start with one and get it working before you explore "sharding". When you're ready for that you should consult the solr mailing list. The importance of enough RAM for Solr cannot be overstated. Ok. Thank you. It's good to know that everything will work good with external Solr server. Most of the howto's that I read - describes local installation of every component, so I need to ensure that there wont be problems. 2. I notice - I have mail account with 3GB of mail. Index files in mail dir has 5MB. After indexing mailbox in Solr - index files has 15MB. What changes in those files? FTS indexing adds something to that files - but what? What mail storage format are you using? dbox? Thinking...I believe that Dovecot records which mails have been reported to the FTS. That may help account for the increased size. Today - maildir. But I have dbox migration in TODO. After another answear I know "doveadm dump" command, so I can check what are in indexes now.