rt-email-...uth-tokens(8)
π rt-email-expiring-auth-tokens β the manual page, bestie edition
okay so you're reading the rt-email-...uth-tokens(8) page from the Request Tracker Reference and honestly? this one's a whole vibe. it's giving "polite reminder emails, but automated." let's get into it π
β¨ NAME β¨
rt-email-expiring-auth-tokens β email users about expiring auth tokens
like. the name literally says it. no cap. π
πΈ SYNOPSIS πΈ
rt-email-expiring-auth-tokens --expires-by '7 days' --template 'Auth tokens expiring in 7 days in HTML' [--email-to 'admin@domain.com,other@domain.com'] [--user-filter 'apiuser,otheruser']
that's the whole move right there. the [...] bits are optional, the rest is the moment. periodt. β¨
π¦ DESCRIPTION π¦
This script is a tool to email users about their expiring auth tokens. that's it. that's the job. she's a notifier and she's slaying it. π
now here's the tea, and it's important: you may have some users used only for API access that do not have valid email addresses. yes bestie, real problem. nobody to email = email goes nowhere = nobody fixes their token = chaos. π
so use the email-to and user-filter options to send emails about their expiring tokens to a valid email address instead. redirect the mail, save the day. you're the main character here. π
π OPTIONS π
every flag, all of them, no skips. this is the good part.
expires-byβ all auth tokens that will expire between today and this date will be included in the email. format isYYYY-MM-DDor any date format supported byTime::ParseDate. so yes, talk to her however you like, she speaks fluent date. ποΈexpires-onβ all auth tokens that expire on this exact date will be included in the email. one day, one moment, very specific of you, we love that. format isYYYY-MM-DDor any date format supported byTime::ParseDate. same energy as above. β¨templateβ specify name or id of template you want to use. you got a cute little email template? name it or number it, she'll find it. πemail-toβ send the email to these email addresses instead of the user's email address. accepts a comma separated string of email addresses. this is the one for your API-only ghost users fr fr. π»user-filterβ a comma separated string of usernames for filtering the users to check for expiring auth tokens. narrow the search, get specific, love a curated list. πprintβ print the expiring auth tokens toSTDOUT; don't email them. dry run energy. look at the list, nod, feel powerful. πhelpβ print this message. the classic. she's always there for you. π«Ά
β οΈ heads up bestie: bothexpires-byandexpires-ontakeYYYY-MM-DDor any date format supported byTime::ParseDate. don't get creative with formats she doesn't know, or you'll be sad. π
π a lil sign-off π
this glorious piece of documentation lives under perl v5.40.1, dated 2026-06-21. screenshot it, bookmark it, send it to the group chat. iykyk. π
go email those users. go be iconic. bye bestie!! π§β¨
π¦ where this page comes from
- ubuntu stonking: request-tracker5 5.0.10+dfsg-3 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms