Re: Possible hack via doveadm

2023-05-14 Thread Daniel Miller via dovecot
I only allow explicit service traffic through. IMAPS, SMTPS, etc. If doveadm is communicating via the IMAP(S) ports then all I can do via firewall is block countries. Which of course I can but I'm asking about any additional hardening for Dovecot itself. -- Daniel On May 13, 2023 6:25:06 PM

Re[9]: Replicator bug report

2021-12-11 Thread Daniel Miller
It appears when I set vsz_limit=0 it works without crashing. So the problem appears when setting an explicit maximum. -- Daniel On 12/7/2021 9:57:29 PM, "Aki Tuomi" wrote: On 7 December 2021 23.10.50 UTC, Daniel Miller wrote: On 12/7/2021 12:29:49 PM, "Daniel Miller&quo

Re[7]: Replicator bug report

2021-12-07 Thread Daniel Miller
On 12/7/2021 12:29:49 PM, "Daniel Miller" wrote: service replicator { vsz_limit = 2G } Aki Tried that - got another one. I just tried setting service replicator { vcsz_limit = 5G } and I still get: Dec 7 15:08:25 bubba dovecot: replicator: Panic: data stack: Out of m

vsz_limit

2021-12-07 Thread Daniel Miller
I just noticed, that when checking "doveconf -a" - all vsz_limit settings that are not explicitly given have a value of: 18446744073709551615 B I have this on two servers, one with an implicit default_vsz_limit=256M, the other with an explicit default_vsz_limit=2G. Is this correct? --

Re[6]: Replicator bug report

2021-12-07 Thread Daniel Miller
service replicator { vsz_limit = 2G } Aki Tried that - got another one. [New LWP 14072] Core was generated by `dovecot/replicator'. Program terminated with signal SIGABRT, Aborted. ---Type to continue, or q to quit--- #0 __GI_raise (sig=sig@entry=6) at

Re[4]: Replicator bug report

2021-12-07 Thread Daniel Miller - CLOUD
Use gdb /path/to/replicator /path/to/core bt full Aki root@bubba:/var/core# gdb /usr/lib/dovecot/replicator /var/core/11199.replicator GNU gdb (Ubuntu 8.1.1-0ubuntu1) 8.1.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later

Re[2]: Replicator bug report

2021-12-07 Thread Daniel Miller
-- Original Message -- Hi! Can you instead submit gdb bt full output and doveconf -n? Aki Certainly - but I need to know how. The problem is during TCP replication. Here is dovecot -n: # 2.3.17.1 (476cd46418): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.17.1 (a1a0b892) #

Replicator bug report

2021-12-07 Thread Daniel Miller
I've run dovecot-sysreport -o and generated a file - but it's a few gigs in size. Am I generating the core dump incorrectly? Should I do something different? -- Daniel

Re[5]: Replication weirdness

2021-12-04 Thread Daniel Miller - CLOUD
Another update. I dug deeper into the mailboxes - and found the "subscriptions" and actual mailboxes weren't correct in all cases. I guess when I shifted to the explicit INBOX/ namespace not all the existing boxes migrated correctly. So...after manually correcting all the "subscription"

Re[4]: Replication weirdness

2021-12-03 Thread Daniel Miller
mailbox GUID f4338038839caa613a1a0500b88bfabe for mailboxes INBOX/Sent Messages and INBOX/Sent - giving a new GUID bcf4f82702a4aa616c079db5accb to INBOX/Sent -- Daniel -- Original Message -- From: "Daniel Miller" To: "Daniel Miller" ; dovecot@dovecot.org Sent: 12/3/2021 3:13:55 PM Subje

Re[3]: Replication weirdness

2021-12-03 Thread Daniel Miller
ent and Sent Messages-temp-1 - giving a new GUID 60ad190102a4aa6182210500b88bfabe to Sent -- Daniel -- Original Message -- From: "Daniel Miller" To: "Daniel Miller" ; dovecot@dovecot.org Sent: 12/3/2021 2:42:12 PM Subject: Re[2]: Replication

Re[2]: Replication weirdness

2021-12-03 Thread Daniel Miller
nc I suppose is reasonable. A second...maybe? But I'm getting nervous I'm about to start seeing the endless temp folders again. -- Daniel -- Original Message -- From: "Daniel Miller" To: "Daniel Miller" ; dovecot@dovecot.org Sent: 12/3/2021 2:39:25 PM Subject: Re: Repl

Re: Replication weirdness

2021-12-03 Thread Daniel Miller
ation is allowed at a time. Am I correct, and whether or not I am - how can I correct these errors? Do I dare try going back to just "-N"? -- Daniel -- Original Message -- From: "Daniel Miller" To: dovecot@dovecot.org Sent: 12/3/2021 2:16:28 PM Subject: Replication weirdne

Re[2]: No source packages in APT repo?

2021-12-03 Thread Daniel Miller
+1. I *was* using the repo's packages for Ubuntu - but when I wanted to try fts-flatcurve I needed something to compile against. I'd rather do so against the repo sources if possible. -- Daniel -- Original Message -- From: "Shawn Heisey" To: dovecot@dovecot.org Sent: 12/3/2021

Replication weirdness

2021-12-03 Thread Daniel Miller
First, I have to say this. After configuring everything correctly - and that means *everything* correctly - Dovecot replication Just Works. I'm not sure how (yes I do - Timo & Co. Magic) - but it does. Real-time new sync is near instantaneous. Now the problem. Or the background for the

Re: Shared mailboxes setups and dictionaries

2020-09-15 Thread Daniel Miller
On 9/15/2020 10:07 AM, Matej Tyc wrote: On 14. 09. 20 22:46, Daniel Miller wrote: On 9/14/2020 1:19 PM, Matej Tyc wrote: ... When learning about how ACL work in e.g. [...] so I can't use it to reverse-engineer the correct syntax. The global ACLs are...global. They apply to all matching

Re: Shared mailboxes setups and dictionaries

2020-09-14 Thread Daniel Miller
On 9/14/2020 1:19 PM, Matej Tyc wrote: Hello, I am relatively new to the world of MTAs and MDAs, and I try to set up shared mailboxes. So far I have somehow succeeded - I have defined a shared namespace and I have managed to create per-mailbox ACL files thanks to the doveadm command.

dbox alternate storage and archived namespace

2020-09-09 Thread Daniel Miller
This may (and probably does) come under the heading of "really dumb ideas", but... Before I develop this further I need to ask - is it possible to have a "primary" mail_location using single-dbox with an alternate storage using multi-dbox? This is *not* the same as different storages for

Re[2]: [EXT] Re: Support for MULTISEARCH

2020-05-11 Thread Daniel Miller
2020 at 5:16 PM Aki Tuomi wrote: > > > > > On 11/05/2020 12:12 Joe Wong wrote: > > > > > > > > > > > > > > > > > > On Sun, May 10, 2020 at 3:54 PM Sami Ketola wrote: > > > > > >

Re[2]: Support for MULTISEARCH

2020-05-09 Thread Daniel Miller
Dovecot either already had support or there were plans to implement it. --- Daniel -- Original Message -- From: "Teemu Huovila" To: dovecot@dovecot.org Sent: 5/8/2020 5:49:34 AM Subject: Re: Support for MULTISEARCH On 6.5.2020 3.57, Daniel Miller wrote: Does Dovecot present

Support for MULTISEARCH

2020-05-05 Thread Daniel Miller
Does Dovecot presently support the MULTISEARCH command, or are there plans to do so? --- Daniel

Re: Headsup on feature removal

2020-03-29 Thread Daniel Miller
-- Original Message -- [...] To start, the following features are likely to be removed in next few releases of Dovecot. [...] - mailbox alias plugin Like autocreate, autosubscribe, and expire - Is there a built-in feature that makes this plugin obsolete? --- Daniel

Re[2]: Namespace problem? duplicated folders...

2020-03-29 Thread Daniel Miller
Try this: namespace inbox { hidden = no inbox = yes list = yes mailbox Drafts { auto = no special_use = \Drafts } mailbox Junk { auto = no special_use = \Junk } mailbox Sent { auto = no special_use = \Sent } mailbox "Sent Messages" { auto = no

Re: Shared Mailboxes with Multiple Domains

2020-02-17 Thread Daniel Miller
Any thoughts on this? --- Daniel -- Original Message -- From: "Daniel Miller" To: "Dovecot Mailing List" Sent: 2/12/2020 6:16:05 PM Subject: Shared Mailboxes with Multiple Domains Trying to track down a problem I've been dealing with for a while. Everyth

Shared Mailboxes with Multiple Domains

2020-02-12 Thread Daniel Miller
Trying to track down a problem I've been dealing with for a while. Everything else works fine - the problem is with shared mailboxes. My present, and desired, prefix for the shared namespace is: prefix = INBOX/shared/%%d/%%n/ Some mail clients, particularly Thunderbird and Android's

Split storage & solr

2020-01-29 Thread Daniel Miller
Is it possible to setup the following: 1. Primary mailserver with SMTP solutions and Dovecot. 2. Primary server will store recent mails. 3. Secondary server for archival storage and Solr. So I'm not looking for a distributed cluster - simply a splitting of designated functions. Clients would

Re: Namespace problem? duplicated folders...

2020-01-23 Thread Daniel Miller
And I should have seen that from your first post but output from "doveconf" is definitive. -- Daniel On 1/23/2020 6:57 PM, Daniel Miller wrote: Keeping in mind I'm 0% Dovecot certified and 100% certifiable... I'm guessing you have your namespace definition separate from your s

Re: Namespace problem? duplicated folders...

2020-01-23 Thread Daniel Miller
Keeping in mind I'm 0% Dovecot certified and 100% certifiable... I'm guessing you have your namespace definition separate from your special-use mailbox declarations. Possibly in 10-mail.conf and 15-mailboxes.conf? Not that it matters. First sugggestion - that first namespace definition.

Re: Namespace problem? duplicated folders...

2020-01-23 Thread Daniel Miller
Interesting. While I don't use mbox (dbox or maildir) I wouldn't think that would matter. Your namespace layout looks nearly the same as my own. But to verify what's going on - post the output of "doveconf namespace". Possibly just reviewing that output may tell you enough - otherwise share

Re: http API for IMAP

2019-11-15 Thread Daniel Miller via dovecot
On 11/13/2019 11:59 PM, Thomas Güttler via dovecot wrote: Am 13.11.19 um 17:21 schrieb Ralph Seichter via dovecot: * Thomas Güttler via dovecot: AFAIK you can't sent a link/URL to a mail on a shared folder to a friend. Like "Hi  bob, she loves me. See this message from here https:/./"

Re: MariaDB database for users and passwords?

2019-11-09 Thread Daniel Miller via dovecot
There is some ambiguity in the setting names, however: In the "upper" authentication config file (possibly conf.d/auth-sql.conf.ext) you define which "internal" driver the authentication system will use. These are...more of a top-level engine selection if you will - perhaps not what you'd

SQL iterate_query

2019-10-24 Thread Daniel Miller via dovecot
I've been hunting some ghost mailboxes - and I *think* I found the source. I use the complete email address as the username, and store such in a database. The storage structure is location=/var/mail/%d/%n. Not unusual I think. So all I *should* see from "ls /var/mail" would be a list of

subscription namespace

2019-10-24 Thread Daniel Miller via dovecot
The current documentation makes mention of a "special" subscription namespace. The example given: namespace subscriptions { subscriptions = yes prefix = "" list = no hidden = yes } namespace inbox { inbox = yes location = subscriptions = no [...] results in a startup error as

Re: Still trying to get past authorization problems

2019-10-24 Thread Daniel Miller via dovecot
In conf.d/10-logging.conf, set: auth_debug_passwords = yes mail_debug = yes verbose_ssl = yes You might try setting them one-by-one as having all three will give a ton of info, and auth_debug_passwords will expose all passwords used while set, but those settings should show you what the

Re: Password issue

2019-10-10 Thread Daniel Miller via dovecot
On 10/9/2019 6:58 PM, @lbutlr via dovecot wrote: On Oct 9, 2019, at 5:23 PM, @lbutlr wrote: Postfix logs "Client host rejected: Access denied” but as I said, other accounts can submit and there’s nothing special in the submission service in master.cf. submission inet n - n

Re: File manager or browser for IMAP?

2019-09-24 Thread Daniel Miller via dovecot
Not defending Thunderbird - but I don't understand your "taking hours to load my Dovecot IMAP". I suppose if you have sync enabled then the first time you connect to a large mailstore there would be an initial download. But...I always disable sync immediately upon setting up accounts in

Re: fts_solr: Error: fts_solr: received invalid uid '0'

2019-09-19 Thread Daniel Miller via dovecot
On 9/19/2019 6:28 AM, Fabian via dovecot wrote: Thanks for your response! No we are not limiting Soli’s memory usage. After your tip, we've also upgraded the memory to 32GB. But the behavior remains the same. I have also already considered that Dovecot may index the UID incorrectly. But if I

Re: Imaptest stall

2019-09-17 Thread Daniel Miller via dovecot
again via thunderbird. I am comparing write tests to different backends. -Original Message- From: Daniel Miller [mailto:dmil...@amfes.com] Sent: dinsdag 17 september 2019 22:06 To: Marc Roos; dovecot Subject: Re: Imaptest stall On 9/17/2019 12:58 AM, Marc Roos via dovecot wrote: I have

Re: Imaptest stall

2019-09-17 Thread Daniel Miller via dovecot
On 9/17/2019 12:58 AM, Marc Roos via dovecot wrote: I have been testing with imaptest and getting 'stalls', I tried even building from source and static. Even running it on the same host. Anyone knows what I could doing wrong? [@~]# ./imaptest - append=100,0 logout=0 host=192.168.10.44

Namespace overlap

2019-09-17 Thread Daniel Miller via dovecot
Given an existing default namespace: namespace inbox { type = private separator = / prefix = location = sdbox:/var/mail/%d/%n/sdbox inbox = yes hidden = no list = yes subscriptions = yes } And mailboxes like: INBOX INBOX/Archives INBOX/Archives/2018 if I then define a new

Re: fts_solr: Error: fts_solr: received invalid uid '0'

2019-09-16 Thread Daniel Miller via dovecot
On 9/13/2019 1:21 AM, Fabian via dovecot wrote: Hi, we are trying to add full text search functionality with Solr to our Doveoct setup. Our Versions: OS: Debian 9 Tried versions: - Dovecot 2.2.7 with Solr 3.6 - Dovecot 2.3.4 with Solr 8.2 (2.2.7 from offical Debian repository, 2.3.4 from

doveadm mailbox list

2019-09-08 Thread Daniel Miller via dovecot
It's quite likely I'm doing it wrong, but... Given a valid mailbox... doveadm mailbox list -u realmb returns "realmb" doveadm mailbox list -u real* returns "realmb" Seems reasonable. Now, with a non-existent mailbox... doveadm mailbox list -u bogus returns "bogus"

Namespace structure

2019-09-05 Thread Daniel Miller via dovecot
Is the following "legal" for Dovecot? And...is this separation recommended or a bad idea? Particularly I'm asking about the "archives" namespace - I haven't actually implemented this yet and I'm checking before I break something. 10-mail.conf # Primary private namespace # Using sdbox for

Re: Some questions

2019-07-09 Thread Daniel Miller via dovecot
On 7/9/2019 6:17 AM, Jérôme Bardot via dovecot wrote: Hello, This is my first email here. I want to understand well how dovecot is integrate with ldap in a postfix/dovecot/ldap setup. I use a debian server. Perfectly! More specifically what dovecot need in ldap to work. I saw we can use

Re: FTS Xapian

2019-06-09 Thread Daniel Miller via dovecot
wrote: Hi Are you using the latest git version ? WHich part exactly of your logs relates to "virtual folders do not work" ? On 2019-06-05 13:08, Daniel Miller via dovecot wrote: Logs: Jun 5 06:02:25 bubba dovecot: imap(dmil...@amfes.com)<25877>: Opening DB (RO) /var/mail/amfe

Re: FTS Xapian

2019-06-05 Thread Daniel Miller via dovecot
comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext namespace inbox { hidden = no inbox = yes list = yes location = mailbox "Deleted Messages" { auto = no

FTS Xapian

2019-06-04 Thread Daniel Miller via dovecot
For my primary namespace this is working fine - thanks to the developers! It also appears to work great for shared folders as well. But my virtual folders aren't returning results - at least not to the client. The logs show FTS Xapian opening several DB files and getting results - but nothing

Re: dynamic virtual mailboxes?

2019-05-06 Thread Daniel Miller via dovecot
On 5/5/2019 10:50 PM, MRob via dovecot wrote:> Thank you for helping but- Again, Dovecot terminology here, mailbox means 'folder' not the whole account Dynamic- https://www.mail-archive.com/dovecot@dovecot.org/msg71091.html Ahh...I understand what you want now. Yes it would be nice - no

Re: dynamic virtual mailboxes?

2019-05-04 Thread Daniel Miller via dovecot
On 5/3/2019 11:22 AM, MRob via dovecot wrote:> That is not dynamically generated and it isn't limited to just one mailbox (dovecot terminology here is confusing, normally a mailbox is a mail account (user), but in this context "mailbox" I guess mean "folder" which is how I am using it, as it is

Re: Understanding virtual mailboxes (examples in 15-mailboxes.conf)

2019-05-04 Thread Daniel Miller via dovecot
On 5/3/2019 11:18 AM, MRob via dovecot wrote:> Thank you, but question is about the example mailbox settings in 15-mailboxes.conf I found I can put those mailbox definitions in the new virtual namespace, still not sure if they would work if I kept them in the inbox namespace, maybe the

Re: dynamic virtual mailboxes?

2019-05-03 Thread Daniel Miller via dovecot
On 5/2/2019 12:47 PM, MRob via dovecot wrote: hi, I spent time learning about virtual mailboxes. Is there some way to create dynamic virtual mailboxes? I mean, when I look at a mailbox, I want to see only unread messages or flagged messages in that mailbox. contents of

Re: Understanding virtual mailboxes (examples in 15-mailboxes.conf)

2019-05-01 Thread Daniel Miller via dovecot
On 4/30/2019 11:13 PM, MRob via dovecot wrote: The examples in 15-mailboxes.conf # If you have a virtual "All messages" mailbox:   #mailbox virtual/All {   #  special_use = \All   #  comment = All my messages   #}   # If you have a virtual "Flagged" mailbox:   #mailbox virtual/Flagged {

Re: Sis to deduplicate attachments does not work?

2019-04-24 Thread Daniel Miller via dovecot
On April 23, 2019 10:54:38 PM luckydog xf wrote: Is it worthwile to use dbox? seeing from http://www.linuxmail.info/mbox-maildir-mail-storage-formats/ it may cause file lock and easy to corrupt. As with everything - it depends. You're asking me so these are *my* opinions - and I do not claim

Re: Sis to deduplicate attachments does not work?

2019-04-23 Thread Daniel Miller via dovecot
On 4/23/2019 1:53 AM, luckydog xf via dovecot wrote: Hi, I use sis to deduplicate attachments, here is my `doveconf -n` [...] mail_location = maildir:/var/mail/%n/Maildir [...] SIS is a function of dbox. You're using Maildir. -- Daniel

Re: Dovecot and FTS experiment

2019-01-29 Thread Daniel Miller via dovecot
On 1/29/2019 9:15 AM, Tomasz Nowak wrote: Hello, I'm trying to experiment with Dovecot and Solr server. I have >30k email addresses that I want to index to speed up searching and save IOPS on mail servers. For now - I'm doing some experiments and I'm testing how it is working. I'm thinking

Re: Rsync to backup dbox with SIS

2019-01-25 Thread Daniel Miller via dovecot
On 1/25/2019 1:33 PM, ash-dove...@comtek.co.uk wrote: We will be deploying a replacement Dovecot server soon, and we are planning to use maildir for the primary storage, but with an archive namespace using mdbox (or perhaps sdbox), and SIS. Our backup servers and (luke)warm spare server

Re: Solr

2019-01-05 Thread Daniel Miller via dovecot
On 1/5/2019 9:58 AM, Tanstaafl wrote: Thanks Daniel... So, as one who has no experience of the benefit of either... How does this compare with Squat? Meaning, Is it exponentially faster? Twice as fast? It's been many years since I last had a Squat setup - but that's my memory. -- Daniel

Re: Solr

2019-01-03 Thread Daniel Miller via dovecot
On 1/3/2019 10:56 AM, Tanstaafl wrote: On 12/21/2018, 11:19:42 AM, Daniel Miller via dovecot wrote: There is a *huge* difference between a functional Solr setup & squat Interesting. Care to elaborate? This is one of those things that has to be experienced to be understood.  When you

Re: Solr

2019-01-03 Thread Daniel Miller via dovecot
On 1/1/2019 3:49 PM, Joan Moreau via dovecot wrote: Hi Solr is a standard package in ArchLinux. ("pacman -S solr") . the systemd installation script is included (and it is launching /opt/solr/bin/solr.in.sh) Instance : sudo -u solr /opt/solr/bin/solr create -c dovecot -> this creates a

Re: Solr

2019-01-03 Thread Daniel Miller via dovecot
On 1/2/2019 12:59 AM, M. Balridge wrote: So, without rancour or antipathy, I ask the entire list: has ANYONE gotten a Dovecot/solr-fts-plugin setup to work that provides as a BASELINE, all of the following functionality: 1) The ability to search for a string within any of the structured fields

Re: Solr

2019-01-03 Thread Daniel Miller via dovecot
t is launching /opt/solr/bin/solr.in.sh) Instance : sudo -u solr /opt/solr/bin/solr create -c dovecot -> this creates a separate folder with default solrconfig.xml, schema.xml, etc.. I made a symlink of the data folder to a second drive (ext4) much bigger On 2018-12-31 14:09, Daniel Mil

Re: Solr

2018-12-30 Thread Daniel Miller via dovecot
On 12/29/2018 4:49 PM, Joan Moreau wrote: Also : - Java is 10.0.2 Same as me. - If i delete schema.xml but create only managed-schema, the solr refuses to start with a java error "schema.xml missing" Ok...so we need to do some more digging. How did you install Solr? (I downloaded a

Re: Solr

2018-12-30 Thread Daniel Miller via dovecot
On 12/29/2018 4:46 PM, Joan Moreau wrote: Hi Daniel, I am on Archlinux. Anyway, I adapted the scripts. 2 questions: 1 - It looks like we are not on the same version . I am on 7.5.0. Which version are you running ? Solr 7.5.0. 2 - Your conf shows that you let managed-schema but deleted

Re: Segfault report

2018-12-26 Thread Daniel Miller via dovecot
On 12/26/2018 1:32 AM, Aki Tuomi wrote: On 26 December 2018 at 11:26 Daniel Miller via dovecot wrote: Ubuntu 18.04, AMD Opteron, Dovecot Version 2.3.3, local file storage.  I believe it's one of my users checking mail remotely via mobile - don't remember if it's an iPhone or Android. I

Segfault report

2018-12-26 Thread Daniel Miller via dovecot
Ubuntu 18.04, AMD Opteron, Dovecot Version 2.3.3, local file storage.  I believe it's one of my users checking mail remotely via mobile - don't remember if it's an iPhone or Android. gdb backtrace: Reading symbols from /usr/local/libexec/dovecot/imap...done. [New LWP 13852] [Thread debugging

Re: Solr

2018-12-21 Thread Daniel Miller via dovecot
the right results to the end user) setup ? (3) If there iare no tangible reason, what about maintaining fts_squat , which did the job nicely for years and no complains about. On 2018-12-16 08:51, Daniel Miller via dovecot wrote: Joan, I understand and sympathize with your frustration - tryin

SIS feature request

2018-12-20 Thread Daniel Miller via dovecot
I tried SIS a couple years ago - I was very excited with the resulting decrease in storage requirements but the undiagnosed intermittent issues became too significant to ignore so I switched away.  Recently I was thinking about it again. The primary issue with SIS seemed to be links would be

Possible attack?

2018-12-17 Thread Daniel Miller via dovecot
I found an error in my log today... Dec 17 12:03:30 bubba dovecot: imap(us...@amfes.com)<23017>: Error: fts_solr: received invalid uid '0' Dec 17 12:04:44 bubba dovecot: imap(us...@amfes.com)<25004>: Fatal: master: service(imap): child 25004 killed with signal 11 (core dumps disabled -

ssh_dh?

2018-12-16 Thread Daniel Miller via dovecot
Don't know if this was corrected in 2.3.4 (haven't upgraded yet but didn't see it in the notes) - but in 2.3.3 I see this in my log: imap-login: Error: Diffie-Hellman key exchange requested, but no DH parameters provided. Set ssh_dh= So...either there's an undocumented feature of

Re: Upgrade to 2.3.1 has failed

2018-12-16 Thread Daniel Miller via dovecot
As a LetsEncrypt user myself, I have: ssl_cert = So nothing further should be required.  You say Dovecot fails to start - have you tried simply executing "dovecot -F"? Daniel On 12/16/2018 6:19 AM, C. Andrews Lavarre wrote: Phil hi. Thank you for explaining what the symbol does... so it is

Re: Solr

2018-12-15 Thread Daniel Miller via dovecot
="true"/> On 2018-12-15 20:54, Joan Moreau wrote: Daniel, I have done that so any times (deleteing the data folders, recreating the instance, restarting etc...) But this is really not the issue The issue is 1 - fts_solr reports errors in the log file (this is a pure

Re: Solr

2018-12-12 Thread Daniel Miller via dovecot
On 12/10/2018 10:02 PM, Joan Moreau wrote: Additionally, here the errors I get in logs: Dovecot: Dec 09 09:21:09 imap(j...@grosjo.net)<3349>: Error: fts_solr: received invalid uid '0' Dec 09 09:21:10 imap(j...@grosjo.net)<3349>: Error: fts_solr: received invalid uid '0' or 11 03:36:03

Re: Solr

2018-12-10 Thread Daniel Miller via dovecot
teAll="1"/> maxGramSize="15" /> protected="protwords.txt"/> ignoreCase="true" synonyms="synonyms.txt"/> ignoreCase="true"/> generateWordParts="1" generateNumberParts="1" splitOnCaseChange="1" splitO

Re: Solr

2018-12-10 Thread Daniel Miller via dovecot
On 12/4/2018 10:40 AM, Joan Moreau via dovecot wrote: In the Wiki, ( https://wiki.dovecot.org/Plugins/FTS/Solr ), it would nice to stipulate to the reader  to type the command : sudo -u solr /opt/solr/bin/solr create -c dovecot # to create the dovecot instance before updating the

Multi-server but small scale

2018-11-19 Thread Daniel Miller
I have a small but critical server that supports our group.  As a single server - it's obviously a single-point-of-failure for lots of things.  As I just experienced...again.  It was a lot more fun building systems from components when I was younger... Previously 3rd-party hosted solutions

Update virtual folders via doveadm?

2018-11-19 Thread Daniel Miller
I'm trying to have my server maintain it's FTS indexes reasonably current at all times.  From prior threads, and based on my namespace configuration, I have the following hourly cronjob: doveadm index -A -q '*' doveadm index -A -q 'shared/*' doveadm index -A -q 'virtual/*' This seems to work

Solr 7.5.0 managed-schema

2018-11-18 Thread Daniel Miller
The attached is the Dovecot schema I am now using for Solr 7.5.0 - no "deprecated" warnings! -- Daniel managed-schema Description: Binary data

Re: What causes folders to be reported as noselect?

2018-09-26 Thread Daniel Miller
On 2018-09-26 10:14, Aki Tuomi wrote: On 26 September 2018 at 18:42 Daniel Miller wrote: As the subject says.  This may be a bit open-ended - but it would really help troubleshooting some obscure folder issues. In my case, I happen to have both some "real" folders and also som

Possible bug - otherwise a public admission of oops

2018-09-26 Thread Daniel Miller
While trying to identify possible causes of wrong mail folder creation I did something...bad. Normally, I would recognize that deleting a mail folder would naturally delete all the contained mails. However...somehow my imaginative self decided that deleting a virtual folder via IMAP would

What causes folders to be reported as noselect?

2018-09-26 Thread Daniel Miller
As the subject says.  This may be a bit open-ended - but it would really help troubleshooting some obscure folder issues. In my case, I happen to have both some "real" folders and also some "virtual" folders that respond to IMAP LIST commands with the "\NoSelect" flag - and I don't know why. 

doveadm variables

2018-09-03 Thread Daniel Miller
Are variables such as %d and %n available to doveadm when executed from the command line?  Either when explicitly declaring the user via -u or when using all users with -A? -- Daniel

Re: online conversion using replication?

2018-09-02 Thread Daniel Miller
ttps://wiki2.dovecot.org/Migration/MailFormat --- Aki Tuomi Dovecot oy Original message From: Daniel Miller Date: 02/09/2018 04:14 (GMT+02:00) To: Dovecot Mailing List Subject: online conversion using replication? With a single server - and no intent to have a second server on

remove non-standard flags

2018-09-01 Thread Daniel Miller
Having relocated my virtual folders to a new namespace - I'm having some subscription challenges.  I'm able to reach them via telnet without issue - and some clients have better luck than others.  Some folders have no problems at all - some seem different. In trying to identify what might be

online conversion using replication?

2018-09-01 Thread Daniel Miller
With a single server - and no intent to have a second server online at this time - is it possible to use the replication service to keep a "live" backup? Or otherwise perform a storage format conversion? I'm presently using sdbox - and considering going back to mdbox though without SIS.  My

Update both virtual indexes & FTS indexes

2018-08-28 Thread Daniel Miller
Will the following command: doveadm index -A '*' Ensure all Dovecot indexes are current (including virtual mailboxes) and also update FTS?  Other than the time/resources needed to parse all users/mailboxes - is there a reason not to schedule this to run on a regular (hourly?) basis? My

Re: sdbox filesystem backup potential excludes

2018-08-16 Thread Daniel Miller
On 8/14/2018 10:41 PM, Aki Tuomi wrote: On 14.08.2018 21:23, Daniel Miller wrote: On 8/14/2018 12:55 AM, Aki Tuomi wrote: On 13.08.2018 19:51, Daniel Miller wrote: When doing a filesystem backup of an moderate sdbox mailstore (300GB) - are there any files that can be safely excluded from

Recommendations for backup methods

2018-08-14 Thread Daniel Miller
I've been re-thinking my backup strategy - I wanted to see what input others have.  At this time - I'm using sdbox as the primary storage format and running on a single server. Previously, all my backups were simple filesystem backups. Either inotify-based or cron-based.  The whole mail

Re: sdbox filesystem backup potential excludes

2018-08-14 Thread Daniel Miller
On 8/14/2018 12:55 AM, Aki Tuomi wrote: On 13.08.2018 19:51, Daniel Miller wrote: When doing a filesystem backup of an moderate sdbox mailstore (300GB) - are there any files that can be safely excluded from the backup? Like *.log or *.backup?  Or are they all "vital" for recovery? I

sdbox filesystem backup potential excludes

2018-08-13 Thread Daniel Miller
When doing a filesystem backup of an moderate sdbox mailstore (300GB) - are there any files that can be safely excluded from the backup?  Like *.log or *.backup?  Or are they all "vital" for recovery? I'm already excluding the sdbox/virtual folders as it looks like they get created and

DMARC mailing list rejections

2018-01-15 Thread Daniel Miller
I get about a half dozen rejection messages from various servers when I post to this list. Is there something I need to configure differently in my DMARC record to be better compliant? Daniel

Re: Submission/SMTP proxy server

2018-01-15 Thread Daniel Miller
On 1/14/2018 6:18 PM, Stephan Bosch wrote: Op 1/12/2018 om 8:18 PM schreef Daniel Miller: Sorry if this seems elementary - but a question on implementation/usage/purpose of this.  My understanding is at this time the SMTP proxy server is only that - it does not implement any further

Submission/SMTP proxy server

2018-01-12 Thread Daniel Miller
Sorry if this seems elementary - but a question on implementation/usage/purpose of this.  My understanding is at this time the SMTP proxy server is only that - it does not implement any further functionality.  So its availability now is purely for testing purposes.  Is that accurate? I

Re: Dovecot and Letsencrypt certs

2017-09-12 Thread Daniel Miller
And remove that "postfix reload" command - Postfix doesn't require explicit reloading. It'll pickup the changed cert automagically. Daniel On 9/12/2017 9:26 AM, Daniel Miller wrote: What's wrong with using a certbot "post-hook" script such as: #!/bin/bash echo "

Re: Dovecot and Letsencrypt certs

2017-09-12 Thread Daniel Miller
What's wrong with using a certbot "post-hook" script such as: #!/bin/bash echo "Letsencrypt renewal hook running..." echo "RENEWED_DOMAINS=$RENEWED_DOMAINS" echo "RENEWED_LINEAGE=$RENEWED_LINEAGE" if grep --quiet "your.email.domain" <<< "$RENEWED_DOMAINS"; then     /usr/local/sbin/dovecot

Re: Auth Policy Server/wforce/weakforced

2017-08-04 Thread Daniel Miller
On 8/4/2017 12:48 PM, Daniel Miller wrote: On 8/3/2017 6:11 AM, Teemu Huovila wrote: On 02.08.2017 23:35, Daniel Miller wrote: Is there explicit documentation available for the (probably trivial) configuration needed for Dovecot and Wforce? I'm probably missing something that should

Re: Auth Policy Server/wforce/weakforced

2017-08-04 Thread Daniel Miller
On 8/3/2017 6:11 AM, Teemu Huovila wrote: On 02.08.2017 23:35, Daniel Miller wrote: Is there explicit documentation available for the (probably trivial) configuration needed for Dovecot and Wforce? I'm probably missing something that should be perfectly obvious... Wforce appears to start

Auth Policy Server/wforce/weakforced

2017-08-02 Thread Daniel Miller
Is there explicit documentation available for the (probably trivial) configuration needed for Dovecot and Wforce? I'm probably missing something that should be perfectly obvious... Wforce appears to start without errors. I added a file to dovecot's conf.d: 95-policy.conf:

Re: Auth Policy Server

2017-06-30 Thread Daniel Miller
On 6/30/2017 12:05 PM, Aki Tuomi wrote: On June 30, 2017 at 9:49 PM Daniel Miller <dmil...@amfes.com> wrote: I've made a preliminary auth policy server in Perl - and it sort of works (mostly) - but I've got some questions on "proper" implementation. Hi! First of all, which

Auth Policy Server

2017-06-30 Thread Daniel Miller
I've made a preliminary auth policy server in Perl - and it sort of works (mostly) - but I've got some questions on "proper" implementation. It appears the communication is HTTP based - is the intent to talk to a "proper" webserver, or is a simple dedicated daemon appropriate (which is what I

Re: localhost logins

2017-06-27 Thread Daniel Miller
On 6/27/2017 1:33 AM, Daniel Miller wrote: On 6/27/2017 12:42 AM, Fabian Schmidt wrote: Am 26.06.17 schrieb Daniel Miller: On 2017-06-23 15:09, Marcus Rueckert wrote: On Fri, 23 Jun 2017 11:38:28 -0700 Daniel Miller <dmil...@amfes.com> wrote: While auditing my logs after an a

  1   2   >