PTEXPIRE(8)

πŸ“¦
version 3.12.3 Β· 4 versions
, in ubuntu stonking

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

okay bestie, so this is a page from the Cyrus IMAP manual β€” section 8, system admin girly territory. pull up a chair, we're cleaning up cache 🧹✨


✨ NAME ✨

ptexpire β€” Cyrus IMAP documentation, and also: a lil program that expires pts cache DB entries on command. like, you say jump, it says how high πŸŽ€


🌸 SYNOPSIS 🌸

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

that's it. that's the whole vibe. πŸ¦‹


πŸ’… DESCRIPTION πŸ’…

so here's the tea: ptexpire sweeps the ptscache_db database and deletes every entry older than the expiry duration. and what's the expiry duration, you ask? it defaults to 5400 seconds β€” that's 3 hours, for the math girlies πŸ•’πŸ’–

want a different window? change it with the -E option. easy. iconique.

OR β€” and this is the other mode, bestie β€” if you pass it a list of usernames, it deletes just those usernames, and it does it immediately. no waiting around, no sweep, just instant. periodt. πŸ’…

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


πŸŽ€ OPTIONS πŸŽ€

  • -C config-file β€” use the config file config-file you specified instead of the default imapd.conf(5). your config, your rules πŸ’œ
  • -E seconds, `--expire-duration=seconds β€” set the expiry duration to seconds. want a shorter leash? longer? go off, set the number πŸ“

🌈 FILES 🌈

  • /etc/imapd.conf

⭐ SEE ALSO ⭐


🧚 AUTHOR 🧚

the Cyrus Team, and Nic Bernstein (Onlight). legends, honestly. πŸ‘‘


1993–2026, The Cyrus Team


ok wait one more thing β€” this is version 3.12.3, dated Jul 15, 2026, from the PTEXPIRE(8) page, Cyrus IMAP. love that for us. bye bestie, go sweep some cache πŸ’–βœ¨πŸ¦‹πŸŽ€
πŸ“¦ where this page comes from