mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 01:16:01 +03:00
[GH-ISSUE #1988] doveadm -A reports "User no longer exists" #1490
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#1490
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @neonknight on GitHub (Jul 14, 2020).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1988
Impacted versions
Steps to reproduce
doveadm search -A mailbox Trash savedbefore 14dCurrent behavior
command prints info message:
doveadm(): Info: User no longer exists, skipping
Expected behavior
no bogus info/warning/error message should occur
Resolution suggestion:
default admin and other global admin users can be saved without email address, resulting in dovecot iterate_query resulting empty user:
This can be bypassed by altering the iterate_query in /etc/dovecot/dovecot-sql.conf.ext to require the email field to be set:
iterate_query = SELECT email AS user FROM core_user WHERE email != ''Is this applicable or would this break other functionality?
@tonioo commented on GitHub (Sep 15, 2020):
@neonknight Can tell me how you created an admin without password?
@neonknight commented on GitHub (Sep 16, 2020):
s/password/email address/
my bad... I fixed the ticket.
@tonioo commented on GitHub (Oct 21, 2020):
@neonknight I think user query used to include such a filter but there was a problem with it. Unfortunately, I can't remember which one...
@stale[bot] commented on GitHub (Dec 22, 2020):
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.