Skip to content

Setup cronjobs to remove old mails #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
link2xt opened this issue Mar 26, 2024 · 1 comment
Open

Setup cronjobs to remove old mails #3

link2xt opened this issue Mar 26, 2024 · 1 comment

Comments

@link2xt
Copy link
Collaborator

link2xt commented Mar 26, 2024

No description provided.

@link2xt
Copy link
Collaborator Author

link2xt commented Mar 28, 2024

Should probably use fd because find is slow.

root@nine /home/vmail/mail # time find /home/vmail/mail/nine.testrun.org  -path '*/maildirsize' -type f >/dev/null

real	1m9.907s
user	0m30.439s
sys	0m38.951s
root@nine /home/vmail/mail/nine.testrun.org # time fdfind --exact-depth 2 maildirsize -t f > /dev/null

real	0m11.057s
user	0m41.379s
sys	0m43.629s

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

No branches or pull requests

1 participant