Re: Aw: Re: mail-crypt long-term support? How to backup?

2023-08-04 Thread Ben Burk via dovecot
I use a sliding window of time to determine what to backup, so maildir fs and database changes don't matter to me. Files can move, be deleted, whatever. Doesn't matter. I can't use tar's incremental backups because mail has the potential to move around. That and the basename of the file has th

Re: Outlook not showing all email in inbox at random

2023-08-04 Thread David Koski
I found the problem in Dovecot.  It was an illusion that Thunderbird works.  Where in Outlook there are certain emails that stop synchronization, Thunderbird continues but without loading the specific emails.  I have copied content from a good email to the one that errors out due to "connection

Outlook not showing all email in inbox at random

2023-08-04 Thread David Koski
I manage IT for a small office with about 10 workstations.  Dovecot has been installed for years and is now at 2.3.4.1-5 (Debian).  I just discovered that the user cannot see many emails in the inbox. I was alerted when email was not appearing to be coming in for many hours.  Other users observ

fail2ban / ldap login failure

2023-08-04 Thread micha--- via dovecot
[Debian Bookworm + Dovecot 2] I have user database in ldap (samba). I want to use fail2ban to restrict unsuccessful login attempts, but... I cannot see "Authentication failure" message in ANY log. (/var/log/mail.log shows successful logins as well as disconnects.) How should I proceed? _

Aw: Re: mail-crypt long-term support? How to backup?

2023-08-04 Thread eaerhaerhaehae aehraerhaeha
1. I am more concerned about the integrity of the backup, so locking maildir and database changes during the process. I accidentally replied to aki only, but after compiling maildirlock myself it works.   2. For the backup I use rsync, to minimize the time of the lock being active. Althogh your s

Re: Re[6]: Pigeonhole redirect is adding a message-id header when it already exists

2023-08-04 Thread kevin--- via dovecot
Hi All Has there been any progress with this issue please? I am also seeing the problem, users with a "redirect "xx";" in their .dovecot.sieve file are seeing some emails bouncing: Aug 2 23:21:29 ocean dovecot: lmtp(xxx)<45389>: sieve: msgid=unspecified: redirect action: forwarded to Aug 2

RE: Using / in folder names

2023-08-04 Thread Scott
Ok, I got it working with LAYOUT=index * I am using SQL so the mail_location was being taken from there instead of the config, hence it was ignoring the config line * BROKENCHAR still doesn’t work even when added to SQL * I let dovecot auto create the home directories of user

RE: Using / in folder names

2023-08-04 Thread Scott
Hmm, am I doing something wrong ? It seems everything I try doesn’t work: a select "B/2" a NO [CANNOT] Invalid mailbox name: Name must not have '/' characters (0.001 + 0.000 secs). a create "B/2" a NO [CANNOT] Invalid mailbox name: Name must not have '/' characters (0.001 + 0.000 secs).

RE: Using / in folder names

2023-08-04 Thread Aki Tuomi via dovecot
You could test this out first on your test deployment. index layout is pretty permissive as it uses guids instead of names on disk.   Aki On 04/08/2023 16:22 EEST Scott wrote:     Like this ?   mail_location =

RE: Using / in folder names

2023-08-04 Thread Scott
Like this ? mail_location = maildir:/ssd_bkp/ingestmail/mail/%n@%d:BROKENCHAR=_ still throws the same error I could try migrating to a new layout but will it fix the issue ? I already imported about 250GB of data which I assume I have to throw away and start over ? Is this a bug i

RE: Using / in folder names

2023-08-04 Thread Aki Tuomi via dovecot
You could try adding :BROKENCHAR=^   to mail location, or you could migrate to LAYOUT=index.    Aki On 04/08/2023 15:25 EEST Scott wrote:     Hmm, this is what I have:   # 2.3.19.1 (9b53102964

RE: Using / in folder names

2023-08-04 Thread Scott
Hmm, this is what I have: # 2.3.19.1 (9b53102964): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.19 (4eae2f79) # OS: Linux 6.1.0-10-amd64 x86_64 Debian 12.1 nfs namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { s