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: 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
If you're just speed testing for writing probably sdbox or maildir would be the fastest. Daniel On 9/17/2019 1:09 PM, Marc Roos via dovecot wrote: Yes dovecot is showing the inserted messages until the stall. Looks like it is an issue with imap test because I am able to empty the mailbox

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
I'm running 7.5.0.  The solrconfig.xml file is what I've modified over time - I haven't started one from scratch for a while but perhaps I'll try. Have you tried using the complete config that I sent you?  With *all* the files I included - and *none* of yours? -- Daniel On 1/1/2019 4:12

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