Skip to content

Update lazy expunge documentation example#1531

Open
listerr wants to merge 1 commit intodovecot:mainfrom
listerr:patch-1
Open

Update lazy expunge documentation example#1531
listerr wants to merge 1 commit intodovecot:mainfrom
listerr:patch-1

Conversation

@listerr
Copy link
Copy Markdown

@listerr listerr commented May 3, 2026

I could not get this example to work:

2026-05-03T11:33:38.013704+01:00 turing dovecot: imap(user@example.com)<207022><ZMaTWOdQtKzURTGS>: Error: Mailbox Trash: Laz
y-expunge transaction failed: Mailbox Trash: UID 94164: lazy_expunge: Couldn't open expunge mailbox: Failed to open mailbox
 .EXPUNGED: Invalid mailbox name: Begins with hierarchy separator

Then the ACL didn't apply for some reason.

Added fts_autoindex = no, as this seems like a good idea to avoid unnecessary fts indexing.

Updated config example works on 2.4.3

I could not get this example to work:

```
2026-05-03T11:33:38.013704+01:00 turing dovecot: imap(user@example.com)<207022><ZMaTWOdQtKzURTGS>: Error: Mailbox Trash: Laz
y-expunge transaction failed: Mailbox Trash: UID 94164: lazy_expunge: Couldn't open expunge mailbox: Failed to open mailbox
 .EXPUNGED: Invalid mailbox name: Begins with hierarchy separator
```

Then the ACL didn't apply for some reason.

Added `fts_autoindex = no`, as this seems like a good idea to avoid unnecessary fts indexing.

Updated config example works on 2.4.3
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 3, 2026

@check-spelling-bot Report

🔴 Please review

See the 📂 files view, the 📜action log, or 📝 job summary for details.

Unrecognized words (1)

fulltext

To accept these unrecognized words as correct, you could run the following commands

... in a clone of the git@github.com:listerr/documentation.git repository
on the patch-1 branch (ℹ️ how do I use this?):

curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.26/apply.pl' |
perl - 'https://github.com/dovecot/documentation/actions/runs/25277802552/attempts/1' &&
git commit -m 'Update check-spelling metadata'
Warnings ⚠️ (1)

See the 📂 files view, the 📜action log, or 📝 job summary for details.

⚠️ Warnings Count
⚠️ duplicate-pattern 1

See ⚠️ Event descriptions for more information.

If the flagged items are 🤯 false positives

If items relate to a ...

  • binary file (or some other file you wouldn't want to check at all).

    Please add a file path to the excludes.txt file matching the containing file.

    File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.

    ^ refers to the file's path from the root of the repository, so ^README\.md$ would exclude README.md (on whichever branch you're using).

  • well-formed pattern.

    If you can write a pattern that would match it,
    try adding it to the patterns.txt file.

    Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.

    Note that patterns can't match multiline strings.

@cmouse
Copy link
Copy Markdown
Contributor

cmouse commented May 3, 2026

Hi, the problem is that your separator=. and example is for separator=/

@listerr
Copy link
Copy Markdown
Author

listerr commented May 3, 2026 via email

@cmouse
Copy link
Copy Markdown
Contributor

cmouse commented May 3, 2026

I guess admins like .dotfolders, but practically its just a name so could be expunged too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants