Re: Failing to archive many messages

2024-05-18 Thread Francis Augusto Medeiros-Logeay via dovecot
Augusto Medeiros-Logeay Oslo, Norway On 2024-05-18 12:06, Marc wrote: Today I realized that it was indeed the sa-learn that is slowing down my Archiving. I added an «&» on the end of the line that calls the sa-learn (called by the report-ham.sieve script): exec /usr/bin/sa-learn -u ${1} -

Re: Failing to archive many messages

2024-05-18 Thread Francis Augusto Medeiros-Logeay via dovecot
ving got way faster this way… Best, Francis > On 9 May 2024, at 23:09, dovecot-requ...@dovecot.org wrote: > >> On 9 May 2024, at 19:45, dovecot-requ...@dovecot.org >> <mailto:dovecot-requ...@dovecot.org> wrote: >> >> Francis Augusto Medeiros-L

Re: Failing to archive many messages

2024-05-09 Thread Francis Augusto Medeiros-Logeay via dovecot
> On 9 May 2024, at 19:45, dovecot-requ...@dovecot.org wrote: > > Francis Augusto Medeiros-Logeay via dovecot skrev den 2024-05-09 12:29: > >>> If you want to analyze emails, why not do it with scheduled crons >>> after they are archived? > > maybe ask

Re: Authentication questions

2024-05-09 Thread Francis Augusto Medeiros-Logeay via dovecot
> On 9 May 2024, at 19:45, Aki Tuomi wrote: > > >> On 09/05/2024 20:15 EEST Francis Augusto Medeiros-Logeay via dovecot >> mailto:dovecot@dovecot.org>> wrote: >> >> >> Hi, >> >> I was wondering: >> >> 1 - Is it p

Re: Authentication questions

2024-05-09 Thread Francis Augusto Medeiros-Logeay via dovecot
> On 9 May 2024, at 19:45, Aki Tuomi wrote: > > >> On 09/05/2024 20:15 EEST Francis Augusto Medeiros-Logeay via dovecot >> mailto:dovecot@dovecot.org>> wrote: >> >> >> Hi, >> >> I was wondering: >> >> 1 - Is it p

Re: Failing to archive many messages

2024-05-09 Thread Francis Augusto Medeiros-Logeay via dovecot
> On 9 May 2024, at 12:55, dovecot-requ...@dovecot.org wrote: > > Francis Augusto Medeiros-Logeay via dovecot skrev den 2024-05-09 11:28: > >> Actually, I don’t know here if that’s the sieve that’s slowing down the >> process, or if it is something else. >> I

Authentication questions

2024-05-09 Thread Francis Augusto Medeiros-Logeay via dovecot
Hi, I was wondering: 1 - Is it possible to configure authentication methods per user? For example, oauth2 for most users, but plain for others? 2 - I had a feeling that when oauth2 authentication fails, dovecot tries to authenticate via plain with the received token. Doesn’t seem logical, but

Re: Failing to archive many messages

2024-05-09 Thread Francis Augusto Medeiros-Logeay via dovecot
= On 2024-05-09 12:03, Marc wrote: I see report-ham, instead of archiving? I am not entirely sure if this is an efficient approach to archiving. My users can only set a flag for 'auto archiving' via sieve and then 3 months after every year messages are being moved by cron jobs, and

Re: Failing to archive many messages

2024-05-09 Thread Francis Augusto Medeiros-Logeay via dovecot
> I noticed that my sieve rules are taking a very long time when archiving > messages. I can see on my logs that every message takes about two-three > seconds to be evaluated. > > I also noticed this happens for a few accounts. Do you know what could be > causing this? > > Best, > Francis >

Re: OAUTH2 problem when migrating to Ubuntu 24.04

2024-05-09 Thread Francis Augusto Medeiros-Logeay via dovecot
--- Francis Augusto Medeiros-Logeay Oslo, Norway On 2024-05-09 10:11, Aki Tuomi wrote: On 09/05/2024 10:46 EEST Francis Augusto Medeiros-Logeay via dovecot wrote: Hi, I have a Dovecot server on Ubuntu 22.04, which works fine with Oauth2. I am building a new container based on Ubuntu

OAUTH2 problem when migrating to Ubuntu 24.04

2024-05-09 Thread Francis Augusto Medeiros-Logeay via dovecot
Hi, I have a Dovecot server on Ubuntu 22.04, which works fine with Oauth2. I am building a new container based on Ubuntu 24.04. IMAP seems to work fine with plain authentication, but oauth2 fails (Dovecot v2.3.21). Same configuration as before. However, I got this message: May 09 09:41:57

Re: Failing to archive many messages

2024-05-09 Thread Francis Augusto Medeiros-Logeay via dovecot
I noticed that my sieve rules are taking a very long time when archiving messages. I can see on my logs that every message takes about two-three seconds to be evaluated. My sieve for the Archive is this: cat /var/mail/vmail/mail/sieve/global/report-ham.sieve require ["vnd.dovecot.pipe",

Re: Failing to archive many messages

2024-05-01 Thread Francis Augusto Medeiros-Logeay via dovecot
imap(fran...@mydomain.com)<292>: Error: sieve: Execution of script /var/mail/vmail/mail/sieve/global/report-ham.sieve failed May 01 14:43:17 imap: Error: plugin: eval failed: interrupted at /usr/bin/sa-learn line 513. May 01 14:43:17 imap: Error: ERROR: the Bayes learn function

Re: ENV{"PATH"}. errors on my log

2024-05-01 Thread Francis Augusto Medeiros-Logeay via dovecot
Thanks! I actually had a bash script that calls sa-learn, so I added `export PATH ...` there, and it worked. Best, Francis --- Francis Augusto Medeiros-Logeay Oslo, Norway On 2024-05-01 13:23, Aki Tuomi wrote: On 01/05/2024 13:59 EEST Francis Augusto Medeiros-Logeay via dovecot wrote

Failing to archive many messages

2024-05-01 Thread Francis Augusto Medeiros-Logeay via dovecot
Hi, When I archive one or two messages, the messages are correctly moved to the Archive. However, when I archive more messages - like 50 or more, dovecot seems to fail. The error I get is this one: Warning: Failed to do incremental sync for mailbox Archive, retry with a full sync (Modseq

ENV{"PATH"}. errors on my log

2024-05-01 Thread Francis Augusto Medeiros-Logeay via dovecot
be. Best, Francis -- Francis Augusto Medeiros-Logeay Oslo, Norway ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org

Ouath2 compatible mail clients

2023-11-23 Thread Francis Augusto Medeiros-Logeay via dovecot
Hi, Are there any oauth2 compatible mail clients out there? For Mac/iOS? I see that Mail for Mac supports it, but just for Exchange.  __ Francis Augusto Medeiros-Logeay Oslo, Norway Sent from a mobile device / Enviado a partir de dispositivo móvel

Re: [EXT] Re: dovecot and oauth2 (with keycloak) not working

2023-11-20 Thread Francis Augusto Medeiros-Logeay via dovecot
gotta fix Roundcube... Best, Francis On 2023-11-20 13:48, Francis Augusto Medeiros-Logeay wrote: --- Francis Augusto Medeiros-Logeay Oslo, Norway On 2023-11-20 09:04, Aki Tuomi wrote: On 20/11/2023 10:03 EET Francis Augusto Medeiros-Logeay wrote: > Try adding /?token= to tokeninfo_url. Dove

Re: [EXT] Re: dovecot and oauth2 (with keycloak) not working

2023-11-20 Thread Francis Augusto Medeiros-Logeay via dovecot
--- Francis Augusto Medeiros-Logeay Oslo, Norway On 2023-11-20 09:04, Aki Tuomi wrote: On 20/11/2023 10:03 EET Francis Augusto Medeiros-Logeay wrote: > Try adding /?token= to tokeninfo_url. Dovecot 2.3.7.2 will simply > concatenate tokeninfo_url and token, so you need to provide t

Re: dovecot and oauth2 (with keycloak) not working

2023-11-20 Thread Francis Augusto Medeiros-Logeay via dovecot
Try adding /?token= to tokeninfo_url. Dovecot 2.3.7.2 will simply concatenate tokeninfo_url and token, so you need to provide the URL in that fashion. Aki Thanks Aki. Still no go: Nov 20 08:59:19 auth: Debug: http-client: host auth.mydomain.com: Host created Nov 20 08:59:19 auth:

dovecot and oauth2 (with keycloak) not working

2023-11-19 Thread Francis Augusto Medeiros-Logeay via dovecot
Hi, I successfully configured Roundcube to use keycloak for oauth2. However, I am having trouble to make it work with dovecot. My configuration is this: cat dovecot-oauth2.conf.ext tokeninfo_url = https://auth.mydomain.com/realms/myrealm/protocol/openid-connect/userinfo introspection_url =

Shared mailboxes and indexes

2023-10-06 Thread Francis Augusto Medeiros-Logeay via dovecot
Hi, I googled a bit to see if I understand it, but no, I haven’t got anything that explains this: What’s exactly the difference between INDEX and INDEXPVT for shared mailboxes? Why are they pointing to the same folder on Dovecot example

Re: Changed separator, sub folders not showing new e-mail

2023-10-02 Thread Francis Augusto Medeiros-Logeay via dovecot
I found the answer here: https://apple.stackexchange.com/questions/441313/no-mailbox-doesnt-exist-separator-woes-in-mail-app-dovecot-interaction/441341#441341 Apparently on Mac one needs to update the separator on a file, since it doesn’t seem that the Mail.app does it for itself. On the

Changed separator, sub folders not showing new e-mail

2023-10-02 Thread Francis Augusto Medeiros-Logeay via dovecot
have a subfolder Test. Mails filtered to be dropped there, show fine. But I have one called Lists, with a sub folder called "Dovecot". I can't read mails that are under "Lists/Dovecot". Can anyone help? Best, Francis -- Francis Augusto Medeiros

Separators and shared namespaces

2023-09-28 Thread Francis Augusto Medeiros-Logeay via dovecot
Hi Martin, I had a similar problem: https://dovecot.org/mailman3/archives/list/dovecot@dovecot.org/thread/DNHM3OOV3SZUC2SIS7FMWL7MMT64F73T/ It seemed to me that using ‘.’ truncated the domain name when that was used in the paths, such as when using %d. Best, Francis

Re: Dovecot lda-dupes

2023-09-28 Thread Francis Augusto Medeiros-Logeay via dovecot
Hi, I have read elsewhere that the Maildir shouldn’t be at the home. But that’s how it worked for me since the start. I wonder if I could either change the location of these .dovecot.lda-dupes, or if I could change home without having to move the mailboxes of all the users. Today I have this:

Re: Dovecot lda-dupes

2023-09-28 Thread Francis Augusto Medeiros-Logeay via dovecot
Never mind, I found it. I had to add `replication_dsync_parameters`, with the default values, but with `-x shared` to exclude the namespace. Best, Francis ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to

Dovecot lda-dupes

2023-09-27 Thread Francis Augusto Medeiros-Logeay via dovecot
Hi, Since I enabled shared mailboxes I'm having these errors: Sep 27 21:22:41 doveadm(fran...@med-lo.eu): Error: Failed to access mailbox dovecot/lda-dupes: stat(/var/mail/vmail/med-lo.eu/francis/.dovecot.lda-dupes/tmp) failed: Not a directory And replication stopped. How can I fix this?

Re: Separators and shared namespaces

2023-09-27 Thread Francis Augusto Medeiros-Logeay via dovecot
Hi, When I used a ‘.’ as a separator, it seemed to truncate paths with the domain name, such as those with %%d. That happened only to shared namespaces. Best, Francis ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to

Exclude shared mailboxes from replication

2023-09-27 Thread Francis Augusto Medeiros-Logeay via dovecot
Hi, I was wondering if it is possible to exclude shared mailboxes from replication. I have us...@mydomain.com sharing mailboxes to us...@mydomain.com. However, since both mailboxes already replicate to a backup server, I wonder if it is possible to exclude the replicated mailboxes from

Re: All list=yes namespaces must use the same separator - don't they?

2023-09-25 Thread Francis Augusto Medeiros-Logeay via dovecot
It works everywhere now. I guess it just needed its sweet time. ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org

Re: All list=yes namespaces must use the same separator - don't they?

2023-09-25 Thread Francis Augusto Medeiros-Logeay via dovecot
I found what the problem was. It seems that using ‘.’ as a separator worked. But somehow folders and domain names with dots got messed up: maildir++: root=/var/mail/vmail/francisaugusto/francis, index=/var/mail/vmail/med-lo.eu/francis/shared/index/francis@francisaugusto,

All list=yes namespaces must use the same separator - don't they?

2023-09-25 Thread Francis Augusto Medeiros-Logeay via dovecot
} I don't have any separator configured explicitly, and when I see the config, the value is empty. So I don't really know what is the problem here. Any hints? Best, Francis -- Francis Augusto Medeiros-Logeay Oslo, Norway ___ dovecot mailing list --

Re: LDAP just for passdb

2022-10-14 Thread Francis Augusto Medeiros-Logeay
Again, a bit more reading got me to adding this to my passdb config: username_filter = *@domain-a.com This way, I can control which domains get to authenticate via my ldap backend, which gives me time to design a good way of saving other attributes there. If anyone have other ways of doing

Re: LDAP just for passdb

2022-10-14 Thread Francis Augusto Medeiros-Logeay
I actually saw that it was possible, and it works, but I came across another problem and I wonder if you have any tips about it: On my current dovecot setup, I use SQL as the backend. So I have the following users: fran...@domain-a.com fran...@domain-b.com

LDAP just for passdb

2022-10-14 Thread Francis Augusto Medeiros-Logeay
Hi, I couldn't find it in the documentation, so I was wondering - is it possible to configure Dovecot to use LDAP for passdb and keep using SQL for userdb? I would like to do that before I come up with a good strategy to expand my ldap schema to support other mail attributes for virtual

Dovecot, sa-learn and sieve - where to save the Bayes DB

2020-10-31 Thread Francis Augusto Medeiros-Logeay
with this? I tried it, setting it up with my virtual users path, but it didn't seem to make any difference when it comes to what I describe in this post. With or without it set up, the results above are the same. -- Francis Augusto Medeiros-Logeay Oslo, Norway

Re: Trying to use solr

2020-08-02 Thread Francis Augusto Medeiros-Logeay
On 26.07.2020 22:45, Shawn Heisey wrote: On 7/26/2020 3:48 AM, r...@med-lo.eu wrote: Thanks a lot Shawn. I will send the full error when I get home a week from now. But this was my first attempt to use solr - is it still subject to those conflicts? You'll have to be more specific ... but

Re: Doveadm Backup issues

2020-06-05 Thread Francis Augusto Medeiros-Logeay
On 6 Jun 2020, at 01:10, Bernardo Reino wrote: > > On Fri, 5 Jun 2020, Francis Augusto Medeiros-Logeay wrote: > >> Another related question: if backing up on another location on the same >> computer, using -A doesn't seem to recreate the structure of the original &g

Re: Doveadm Backup issues

2020-06-05 Thread Francis Augusto Medeiros-Logeay
there? Another related question: if backing up on another location on the same computer, using -A doesn't seem to recreate the structure of the original Maildir (for example, /var/mail/%d%n). Is there a way to do that? Best, Francis On 02.06.2020 14:31, Francis Augusto Medeiros-Logeay wrote: Hi, I'm

Doveadm Backup issues

2020-06-02 Thread Francis Augusto Medeiros-Logeay
m(theu...@thedomain.com): Fatal: execvp(ssh) failed: No such file or directory I'd be very thankful if someone could help me with this. Best, Francis -- Francis Augusto Medeiros-Logeay Oslo, Norway

Re: Simple backup of maildir folder

2020-05-31 Thread Francis Augusto Medeiros-Logeay
> On 31 May 2020, at 11:13, Laura Smith > wrote: > >  > > > Sent with ProtonMail Secure Email. > > ‐‐‐ Original Message ‐‐‐ >> On Sunday, 31 May 2020 09:35, @lbutlr wrote: >> >> >> >> A couple of notes on this quite useful script: >> >> My mktemp does not support -p (FreeBSD

Re: Simple backup of maildir folder

2020-05-30 Thread Francis Augusto Medeiros-Logeay
On 2020-05-30 07:49, Admin Beckspaced wrote: Am 29.05.2020 um 17:37 schrieb Francis Augusto Medeiros-Logeay: Hi, I want to do a simple backup of my maildir. I read here that maildirlock is not to count on in the future and the recommended option was to use doveadm backup. However, it seems

Re: migrating dovecot to new server

2020-05-29 Thread Francis Augusto Medeiros-Logeay
that it worked very well. __ Francis Augusto Medeiros-Logeay Oslo, Norway Sent from a mobile device / Enviado a partir de dispositivo móvel > On 29 May 2020, at 19:33, Aki Tuomi wrote: > >  >> On 29/05/2020 20:12 Ralph Seichter wrote: >> >> >> * David Mehler: >&g

Simple backup of maildir folder

2020-05-29 Thread Francis Augusto Medeiros-Logeay
my server so that this can work? Best, Francis --- Francis Augusto Medeiros-Logeay Oslo, Norway

Problems during replication

2020-05-02 Thread Francis Augusto Medeiros-Logeay
Hi, I migrated my dovecot instance to a new server. I moved the mail directories, databases, etc. Replication is on, and I keep having these errors: May 02 16:19:45 dsync-local(fran...@francisaugusto.com): Error: Couldn't lock /var/mail/vmail/francisaugusto.com/francis//.dovecot-sync.lock:

Replicating to an older version

2020-04-30 Thread Francis Augusto Medeiros-Logeay
Hi everyone, I have two servers running dovecot, both at version 2.2.33.2. One is a an mx-backup and they replicate to each other. I am moving the main server to a new VPS instance, and I'm planning the move carefully, including running dovecot on a container (Docker). I am basing my

Replicating to an older version

2020-04-30 Thread Francis Augusto Medeiros-Logeay
Hi everyone, I have two servers running dovecot, both at version 2.2.33.2. One is a an mx-backup and they replicate to each other. I am moving the main server to a new VPS instance, and I'm planning the move carefully, including running dovecot on a container (Docker). I am basing my

Re: Strategy for fts

2020-02-16 Thread Francis Augusto Medeiros-Logeay
This is very good news. I will certainly try it! Thanks for that! Best, Francis --- Francis Augusto Medeiros-Logeay Oslo, Norway On 15.02.2020 19:54, Joan Moreau wrote: I updated fts-xapian to make it compatible with dovecot 2.2 On 2020-02-04 12:37, Peter Chiochetti wrote: Am 04.02.20 um

Re: Email Server Backup Strategy

2020-02-10 Thread Francis Augusto Medeiros-Logeay
On 09.02.2020 19:08, Andrew McGlashan wrote: If rsync is not fast... then how about doing a snapshot and then rsync off the snapshot? (I do rsync over lvm snapshots to back up file systems cleanly) and, btw, perform file system dumps [ufsdump / ufsrestore like, but dump and restore on

Re: Email Server Backup Strategy

2020-02-10 Thread Francis Augusto Medeiros-Logeay
On 09.02.2020 19:08, Andrew McGlashan wrote: Hi, On 10/2/20 4:59 am, Francis Augusto Medeiros-Logeay wrote: What I do: 1 - I ran a maildirlock command to my mail folder 2 - I then rsync the folder where my maildirs are, as well as the indexes, to a remote location If rsync is not fast

Re: Email Server Backup Strategy

2020-02-10 Thread Francis Augusto Medeiros-Logeay
What I do: 1 - I ran a maildirlock command to my mail folder 2 - I then rsync the folder where my maildirs are, as well as the indexes, to a remote location 3 - I tar.gz the daily backup 4 - I kill the maildirlock process I also use replication of my server so that I keep getting mail when my

Re: Email Server Backup Strategy

2020-02-09 Thread Francis Augusto Medeiros-Logeay
What I do: 1 - I ran a maildirlock command to my mail folder 2 - I then rsync the folder where my maildirs are, as well as the indexes, to a remote location 3 - I tar.gz the daily backup 4 - I kill the maildirlock process I also use replication of my server so that I keep getting mail when my

re: Dovecot - Upgrade Solr 7.7.2 to 8.4.1

2020-02-05 Thread Francis Augusto Medeiros-Logeay
On 1/23/20 7:03 AM, Domenico Pastore wrote: So, with Dovecot is it possible to use Apache Solr 8.4? High RAM usage is the only problem? I'm using 8.4.0 and it works flawlessly. I want to install fts-solr, but must tutorials are mentioning solr 7.7.0. Any heads-up on what one must pay

Re: Strategy for fts

2020-02-05 Thread Francis Augusto Medeiros-Logeay
--- Francis Augusto Medeiros-Logeay Oslo, Norway On 04.02.2020 22:55, Peter Chiochetti wrote: Am 04.02.20 um 12:37 schrieb Peter Chiochetti: Am 04.02.20 um 11:46 schrieb Francis Augusto Medeiros-Logeay: Hi Philon, Thanks a lot for your thoughts! Can I ask you if using Solr improved things

Re: Strategy for fts

2020-02-05 Thread Francis Augusto Medeiros-Logeay
--- Francis Augusto Medeiros-Logeay Oslo, Norway On 04.02.2020 22:55, Peter Chiochetti wrote: Am 04.02.20 um 12:37 schrieb Peter Chiochetti: Am 04.02.20 um 11:46 schrieb Francis Augusto Medeiros-Logeay: Hi Philon, Thanks a lot for your thoughts! Can I ask you if using Solr improved things

Re: Strategy for fts and Replication

2020-02-04 Thread Francis Augusto Medeiros-Logeay
. Ii thought about the Xapian engine, but since it requires dovecot 2.3, I will have to wait. Best, Francis Philon On 31 Jan 2020, at 17:24, Francis Augusto Medeiros-Logeay wrote: Hi there, I got successfully to replicate my mail server to another dovecot install using dsync, mainly

Strategy for fts and Replication

2020-01-31 Thread Francis Augusto Medeiros-Logeay
Hi there, I got successfully to replicate my mail server to another dovecot install using dsync, mainly for redundancy, and it works great. I want to try to install fts, as some of the mailboxes have tens of thousands of messages, and it takes minutes to get some results when searching via