PTEXPIRE(8)

πŸ’– PTEXPIRE(8) πŸ’–

okay so this is the Cyrus IMAP manual page for ptexpire, bestie ✨


🌸 NAME 🌸

ptexpire β€” Cyrus IMAP documentation

it's the program that expires pts cache DB entries, on command. like, you tell it to, and it does. iconique behavior honestly πŸ‘‘


✨ SYNOPSIS ✨

ptexpire [-C filename] [-E seconds] [ username ...]

that's it. that's the whole vibe. πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

so ptexpire sweeps the ptscache_db database and deletes every entry that's older than the expiry duration. and what's the expiry duration, you ask? it defaults to 5400 seconds, which is 3 hours for the people who don't wanna do math πŸ’… and if you want it to be something else, you change it with the -E option. easy.

but wait, there's a whole other mode. if you pass it a list of usernames instead, it skips the sweeping thing entirely and just deletes those usernames, immediately. no waiting, no timer, just gone. periodt. 😭

also, ptexpire reads its config options out of the imapd.conf(5) file, unless you tell it otherwise with -C. iykyk.


πŸ’… OPTIONS πŸ’…

  • -C config-file β€” use the specified configuration file config-file instead of the default imapd.conf(5). it's giving "i brought my own config" energy 🫢
  • -E seconds, --expire-duration=seconds β€” set the expiry duration to seconds. that's the number. the seconds. your call, your rules ⭐

πŸ“ FILES πŸ“

  • /etc/imapd.conf

🌈 SEE ALSO 🌈


πŸ‘‘ AUTHOR πŸ‘‘

The Cyrus Team, Nic Bernstein (Onlight) β€” absolute legends, fr fr πŸ’œ


1993–2026, The Cyrus Team


and that's the whole page bestie, no cap πŸŽ€βœ¨

version 3.12.4, dated Sep 09, 2026 β€” sending you off with all the love, go expire those cache entries, you main character πŸ’–πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from