opendkim-expire(8)

✨ opendkim-expire β€” the OpenDKIM stats data expiration tool ✨

okay so bestie, welcome to opendkim-expire, section 8 of the System Manager's Manual πŸ’… this one's a lil system-management icon and she's here to do exactly one job and do it gorgeously.


🌸 SYNOPSIS 🌸

opendkim-expire [options]

that's it. no positional args, no drama. just vibes and flags πŸŽ€


πŸ’– DESCRIPTION πŸ’–

so opendkim-expire expires old records from the database that's part of the OpenDKIM statistics feature ✨ that's the whole thing. she goes into your stats DB and clears out the old stuff so it doesn't just sit there accumulating forever like unread messages in a group chat you refuse to open 😭

if you're running the OpenDKIM statistics feature, this is your girl. periodt.


πŸ‘‘ OPTIONS πŸ‘‘

every single one of them, no skips, no cap:

  • --dbhost=host β€” tries to connect to the database server living on the host you name. the default is "localhost" 🏠
  • --dbname=name β€” requests a connection to the database called name. default is "opendkim" πŸ’–
  • --dbpasswd=password β€” tries to authenticate to the database server with the password you give. default is "opendkim" πŸ”
  • --dbport=port β€” tries to connect to the database at the TCP port you specify. default is 3306 πŸ”Œ
  • --dbuser=user β€” tries to authenticate to the database server as the user you name. default is "opendkim" 🫢
  • --expire=days β€” the number of days of data to keep. default is 180. so like, anything older than that? gone. bye. not invited to the function πŸ’€
  • --help β€” prints a usage message and exits. your little "what do I do" button πŸ™ˆ
  • --verbose β€” requests verbose output. she'll tell you everything she's doing, main character energy fr fr πŸ—£οΈ
  • --version β€” prints version number and exits. flexes and leaves ⭐
heads up bestie: that --expire default of 180 means if you just run her with no flags, she's keeping 180 days of stats and yeeting the rest. no cap. πŸ”₯

🌈 VERSION 🌈

this man page covers the version of opendkim-expire that shipped with version 2.11.0 of OpenDKIM πŸ¦‹


Copyright (c) 2011, 2012, The Trusted Domain Project. All rights reserved. πŸ’œ


🧚 SEE ALSO 🧚


and that's the whole page bestie, you ate πŸ’… she's from The Trusted Domain Project, she's opendkim-expire(8) in the System Manager's Manual, and this is the version that shipped with OpenDKIM 2.11.0 ✨ go expire some records, you got this πŸ«ΆπŸ’–πŸŒΈ

πŸ“¦ where this page comes from