Skip to content

Commit

Permalink
Fix typo in comments and messages
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidePrincipi committed Nov 13, 2024
1 parent 40f4db8 commit 8e7b0f4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ Migration notes:
its contents by either configuring it as shared, or by creating a
"root" user in the LDAP database with a new, secure password.

1. Quota temporarly unavailable. The new "quota count" Dovecot backend is
1. Quota temporarily unavailable. The new "quota count" Dovecot backend is
used. Large mailboxes need a while to reindex the quota size. During
reindexing, quota information is not available and the following
message is logged:
Expand Down
2 changes: 1 addition & 1 deletion dovecot/usr/local/bin/restore-folder
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ cd "${restoredir}"

read -r curquotalimit curquotamb < <(doveadm -f tab quota get -u "${user}" | awk -F $'\t' 'NR==2 {print $4 "\t" int($4/1024)}')
if [ "${curquotalimit}" != "-" ]; then
# Temporarly disable the user's quota
# Temporarily disable the user's quota
doveadm dict set -u "${user}" fs:posix:prefix=/var/lib/dovecot/dict/uquota/ shared/"${user}" 0
fi

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ try:
rquotas = mail.doveadm_query("quotaGet", {"allUsers":True})
except mail.DoveadmError as ex:
if ex.code == 75:
print(agent.SD_WARNING + "Quota information is temporarly unavailable. Try again later.", ex, file=sys.stderr)
print(agent.SD_WARNING + "Quota information is temporarily unavailable. Try again later.", ex, file=sys.stderr)
else:
print(agent.SD_ERROR + "quotaGet error", ex, file=sys.stderr)
except Exception:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ if proc_restore.returncode != 0:
print(agent.SD_ERR + f"Restic restore command failed with exit code {proc_restore.returncode}.", file=sys.stderr)
sys.exit(1)

# 1. Disable the user quota temporarly.
# 1. Disable the user quota temporarily.
# 2. Move the restored content under "Restored content" IMAP folder.
# Remove the destination if already exists.
# 3. Reindex the destination folder.
Expand Down

0 comments on commit 8e7b0f4

Please sign in to comment.