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 second

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

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

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 updated

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

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 folder

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 the

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 goal

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 in

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 t

Re: online conversion using replication?

2018-09-02 Thread Daniel Miller
ee https://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 serv

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

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. 

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 onl

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

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

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 j

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 did

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 diff

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. Howe

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 mat

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 problem

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 1:45:

Re: Replication weirdness

2021-12-03 Thread Daniel Miller
refore only one operation 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 Sub

Re[2]: Replication weirdness

2021-12-03 Thread Daniel Miller
al sync 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 Su

Re[3]: Replication weirdness

2021-12-03 Thread Daniel Miller
0700009db5accb for mailboxes Sent 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 P

Re[4]: Replication weirdness

2021-12-03 Thread Daniel Miller
ate 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

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[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) #

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 ../sysdeps/unix/sysv/linux/raise.c

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? -- Da

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

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: 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: 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. Chang

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 fr

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 on

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 AquaMail,

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. Everythi

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 s

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

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[2]: Support for MULTISEARCH

2020-05-09 Thread Daniel Miller
g to hear 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 p

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

2020-05-11 Thread Daniel Miller
11, 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: > > > > > > &g

Re: Dovecot and Solr 6

2016-08-05 Thread Daniel Miller
On 7/7/2016 2:31 PM, KSB wrote: On 2016.07.06. 22:51, KSB wrote: Hi! Dovecot 2.2.24 Had set up solr and new schema collection. Copied dovecot provided schema. There was an error with booleans (while getting schema via http), which I "solved" by removing "add-unknown-fields-to-the-schema" from so

Solr 6.4.1

2017-02-08 Thread Daniel Miller
I've been running Solr for a while (4.10.3) - wanted to make the jump to the latest & greatest. I installed 6.4.1, copied over my schema.xml - and after a couple false starts where I needed to tweak it work with the new version...it works! I did not copy the database, started from scratch, an

Re: Solr 6.4.1

2017-02-09 Thread Daniel Miller
Does this work (pcap attached)? Daniel On 2/8/2017 10:57 PM, Aki Tuomi wrote: On 09.02.2017 07:54, Daniel Miller wrote: I've been running Solr for a while (4.10.3) - wanted to make the jump to the latest & greatest. I installed 6.4.1, copied over my schema.xml - and after a cou

Re: Solr 6.4.1

2017-02-10 Thread Daniel Miller
2.2.18 On 2/9/2017 11:13 PM, Aki Tuomi wrote: What dovecot version are you using? On 10.02.2017 09:12, Aki Tuomi wrote: Yeah, thanks. It seems that there indeed is content-type header (there should not be). We'll look into it. Aki On 10.02.2017 01:44, Daniel Miller wrote: Does this

Solr 6.4.2

2017-03-13 Thread Daniel Miller
For those trying Solr - version 6.4.2 fixed a number of bugs in the 6.4.x series. Speed is incredible. If you haven't tried it - I strongly recommend it! And, using the included installation script (with Solr) combined with my schema - installation was painless. I'm now running in single co

Corruption & migration

2017-03-20 Thread Daniel Miller
I have an existing server using mdbox & sis. There is a quantity of corruption - I have no idea where it came in. I'd had a previous rebuild some years ago and I thought I had a clean datastore. By "corruption" I mean missing attachments and either missing or mixed-up emails. I've setup a

Re: Corruption & migration

2017-03-20 Thread Daniel Miller
mydomain.com): Error: Remote command returned error 75: ssh -lvmail 192.168.0.4 doveadm dsync-server -uu...@mydomain.com I don't know if the transaction lock issue will fix itself via repeated replication runs. But I have no idea what the "error 75" is. Daniel On 3/20/20

Re: Corruption & migration

2017-03-21 Thread Daniel Miller
dsync-remote(u...@mydomain.com): Error: dsync(localhost): read() failed: read((fd)) failed: dot-input stream ends without '.' line (last sent=mail_request (EOL), last recv=mail) Daniel On 3/20/2017 11:30 PM, Daniel Miller wrote: I'm getting close - I believe I have one-way replica

replicator crashing - oom

2017-03-21 Thread Daniel Miller
I have the following in my log: Mar 21 14:46:59 bubba dovecot: replicator: Panic: data stack: Out of memory when allocating 1073741864 bytes Mar 21 14:46:59 bubba dovecot: replicator: Error: Raw backtrace: /usr/local/lib/dovecot/libdovecot.so.0(+0x97c90) [0x7f4638a7cc90] -> /usr/local/lib/dove

Re: replicator crashing - oom

2017-03-22 Thread Daniel Miller
x27;s /usr/lib/dovecot/replicator Aki On 21.03.2017 23:48, Daniel Miller wrote: I have the following in my log: Mar 21 14:46:59 bubba dovecot: replicator: Panic: data stack: Out of memory when allocating 1073741864 bytes Mar 21 14:46:59 bubba dovecot: replicator: Error: Raw backtrace: /usr

Re: replicator crashing - oom

2017-03-22 Thread Daniel Miller
3 #24 0x7fddaf961fc3 in master_service_run (service=0xf8c5c0, callback=callback@entry=0x404720 ) at master-service.c:641 #25 0x0040342a in main (argc=1, argv=0xf8c390) at replicator.c:112 Daniel On 3/22/2017 9:11 AM, Daniel Miller wrote: Where would I find the core file? I

Re: replicator crashing - oom

2017-03-23 Thread Daniel Miller
tl kernel.core_pattern usually indicates where cores are placed. If it says 'core' you are probably not gonna find it. Aki On 22.03.2017 18:11, Daniel Miller wrote: Where would I find the core file? I'm not finding anything obvious. The replicator path is /usr/local/libexec/dovec

FTS on shared/virtual folders

2017-03-23 Thread Daniel Miller
A question on how FTS is implemented with regards to shared & virtual mailbox. In particular - with Solr. Does Dovecot treat each shared and virtual mailbox as completely independent - which means Solr would reindex each appearance independently? If that's the case, has any thought been give

Re: replicator crashing - oom

2017-03-24 Thread Daniel Miller
On 3/24/2017 6:52 AM, Timo Sirainen wrote: On 24 Mar 2017, at 3.46, Daniel Miller wrote: #14 replicator_queue_handle_sync_lookups (user=0xfa3fc0, queue=0xf92260) at replicator-queue.c:278 Oh, you're using synchronous replication (replication_sync_timeout setting). I don't think

fts error recovery

2017-04-25 Thread Daniel Miller
When a message is received, that is supposed to be added to the fts index, and an fts error occurs (like the Solr server is offline for some reason) - Dovecot logs that error and stores the message. Later, the fts system is available and new messages are added to the fts index without issue.

localhost logins

2017-06-23 Thread Daniel Miller
While auditing my logs after an account was compromised, I see a number of entries like: Jun 23 11:32:18 bubba dovecot: auth: ldap("one-of-my-accounts",127.0.0.1): invalid credentials I'm trying to figure out where this login attempt is coming from. I do run ASSP (an SMTP proxy) on this ser

Re: localhost logins

2017-06-26 Thread Daniel Miller
On 2017-06-23 15:09, Marcus Rueckert wrote: On Fri, 23 Jun 2017 11:38:28 -0700 Daniel Miller wrote: While auditing my logs after an account was compromised, I see a number of entries like: Jun 23 11:32:18 bubba dovecot: auth: ldap("one-of-my-accounts",127.0.0.1): invalid c

Re: localhost logins

2017-06-27 Thread Daniel Miller
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 wrote: While auditing my logs after an account was compromised, I see a number of entries like: Jun 23 11:32:18

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 wrote: While auditing my logs after an account was compromised, I see a

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: 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 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 version are

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: auth_policy_server_

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

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 shou

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 reload

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/

mdbox attachment errors

2015-02-26 Thread Daniel Miller
Getting some errors like: Feb 26 12:19:43 bubba dovecot: imap(dmil...@amfes.com): Error: read(attachments-connector(/var/mail/amfes.com/dmiller/mdbox/storage/m.7089)) failed: read(/var/mail/attachments/f6/f4/f6f4f3b882bf3488af632389d4aaba8adc332b12-60ab750a1aa4b554da169db5accb[base64:18 b

Rebuilding SIS attachment links from log

2015-03-03 Thread Daniel Miller
This seems simple enough...I'm just not script wizard. If someone can throw together a starting point I can test and tweak it from there. It seems to me: 1. Read /var/mail/mail.err or specified logfile 2. For each "failed: read(/var/mail/attachments/aa/bb/attachmentHash-userHash" line,

Re: Rebuilding SIS attachment links from log

2015-03-03 Thread Daniel Miller
execute dovesisfix and see if it helps. -- Daniel On 3/3/2015 1:08 PM, Daniel Miller wrote: This seems simple enough...I'm just not script wizard. If someone can throw together a starting point I can test and tweak it from there. It seems to me: 1. Read /var/mail/mail.err or specified lo

Re: Rebuilding SIS attachment links from log

2015-03-04 Thread Daniel Miller
quot;%P\n"); do doveadm dump -t dbox "$f" | egrep "^msg.ext-ref" | while read z; do set -- $z while [ -n "$1" ]; do if [[ $1 == */* ]]; then test -r "$attdir/$1" && echo "$1" >>"$maildir/files.ok" ||

Re: v2.2.16 release candidate released

2015-03-06 Thread Daniel Miller
On 3/6/2015 7:53 AM, Timo Sirainen wrote: http://dovecot.org/releases/2.2/rc/dovecot-2.2.16.rc1.tar.gz http://dovecot.org/releases/2.2/rc/dovecot-2.2.16.rc1.tar.gz.sig Looks like it's been a long time since v2.2.15. There have been a ton of changes since it was released though, so here's a rele

Identify mail for attachment hash

2015-03-06 Thread Daniel Miller
How can I find the message associated with a given attachment hash? For example, if I know that: /ff/23/ff23873c712474ad0f48cbd81485eaeaba3d8468-e1b4513a2eb8eb53b1649db5accb is missing, I want to find the message associated with it so I can determine if it's critical and I need to recover

Re: Dovecot Oy merger with Open-Xchange AG

2015-03-25 Thread Daniel Miller
On 3/19/2015 3:26 AM, Timo Sirainen wrote: Hi all, Today I can finally announce that Dovecot Oy company has merged with Open-Xchange AG. This helps us to get more Dovecot developers, support people and so on. Most importantly, eventually it should allow me to get back to doing what I like the

Re: Disk space usage with mdbox

2015-04-03 Thread Daniel Miller
Shot in the dark here...haven't tried it myself so no promises. There's probably a much better way to do this but sometimes a little "brute force" helps. Theoretical steps: 1. Stop all mail processes - both SMTP and IMAP. 2. Use "doveadm sync" to backup the user mailbox, e.g., doveadm bac

Re: Updating Solr - was Disk space usage with mdbox

2015-04-14 Thread Daniel Miller
d - is that unneeded? -- Daniel On 4/12/2015 6:53 AM, Timo Sirainen wrote: On 10 Apr 2015, at 21:55, Daniel Miller wrote: Why things happen is one of the great mysteries and joys of being a sysadmin... As for cleaning up SIS, I believe the "doveadm purge" command takes care of it.

Virtual Mailboxes

2015-06-20 Thread Daniel Miller
Having some trouble with my first attempt at virtual mailboxes.  I've enabled the plugin in 10-mail.conf, added a virtual namespace, and created the dovecot-virtual files in the folders. I see the folder names in the list when I refresh the folders available for subscription - but the folders c

Multiple core solr support

2015-10-10 Thread Daniel Miller
Is it possible to use variables, such as domain or username, in the plugin url declaration? This would allow using multiple cores to separate the stored indexes. So when my own giant mailbox gets corrupt...I don't have to rebuild everybody's... Something like url=http://mysolr.server.com:898

[Dovecot] solr substring schema.xml

2011-05-29 Thread Daniel Miller
I'm trying a modified schema.xml with solr - it appears I now have substring searches! I took the schema.xml file shipped with Dovecot, and modified the text field definition to be: words="stopwords.txt"/> generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0"/>

[Dovecot] Admin access to shared mailboxes

2011-05-30 Thread Daniel Miller
Having enabled shared mailboxes - is there a way to provide access to all users' mailboxes by a given user? Instead of having to manually provide ACL rights to every mailbox of every user? -- Daniel

[Dovecot] dbox single instance storage maintenance

2011-05-31 Thread Daniel Miller
Does the "doveadm purge" operation delete unused attachments? -- Daniel

Re: [Dovecot] solr substring schema.xml

2011-06-03 Thread Daniel Miller
On 6/3/2011 5:54 AM, Timo Sirainen wrote: On Sun, 2011-05-29 at 02:09 -0700, Daniel Miller wrote: I'm trying a modified schema.xml with solr - it appears I now have substring searches! How large are your indexes compared to mailbox size? du -c -b /var/mail/domain = 4913315733 du -c -b

Empty mailboxes

2014-09-14 Thread Daniel Miller
This is driving me nuts. I need to rebuild a server - got a notification the main drive is failing, and it's been a year or two, so it's time. Got a new drive, fresh install of Ubuntu Tantric, started installing everything needed. Data stored on a RAID array - nicely available separate from

Re: Empty mailboxes

2014-09-22 Thread Daniel Miller
n wrote: Increase the logging level and see where the problem is. On 15 September 2014 08:00, Daniel Miller wrote: This is driving me nuts. I need to rebuild a server - got a notification the main drive is failing, and it's been a year or two, so it's time. Got a new drive,

Re: Empty mailboxes

2014-09-23 Thread Daniel Miller
7;t re-create that link in the new setup. I KNEW it was going to be something simple, stupid, and totally my fault... Daniel On 9/22/2014 11:38 PM, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 22 Sep 2014, Daniel Miller wrote: I set auth_debug=yes and mail_debug

Shared mailboxes using SQL

2014-11-25 Thread Daniel Miller
I recently tried to change from the simple file to a SQL dictionary for ACL. While the Wiki instructions seemed fairly clear I was having errors. After some further digging, and a little thinking - I read the errors and tried to infer what was happening. I have some IMAP groups configured fo

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" files,

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: 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 schema.xm

Re: Solr

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

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 in

Re: Solr

2018-12-12 Thread Daniel Miller via dovecot
On 12/11/2018 4:46 AM, Joan Moreau via dovecot wrote: I shared the errors already so many times (check this mailinling for "solr" in teh title) Contrary to what you say, with SOlr 7.5 and Dovecot git,  I had to remove the "managed-schema" to make solr respond a bit properly. It relies on sc

Re: Solr

2018-12-15 Thread Daniel Miller via dovecot
;/> stored="true"/> stored="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 erro

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

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 SSH-over-IMAP

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 - https

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 d

  1   2   >