dspam_clean(1)

πŸ“¦ version 3.10.2, in nixos 26.05, nixpkgs unstable

πŸŽ€ NAME πŸŽ€

dspam_clean β€” perform periodic maintenance of metadata.

okay bestie, welcome to dspam_clean(1): the lowkey housekeeping icon of DSPAM. It does periodic housecleaning on DSPAM's metadata dictionary by deleting old or useless data. It's giving digital declutter, and honestly? obsessed. 🧹✨

🌸 SYNOPSIS 🌸

dspam_clean [--profile=PROFILE] [-s[signature_life]]
[-p[probability_life]] [-u[sl,hcl,shl,ihl]] [user1 user2 ... userN]

πŸ¦‹ DESCRIPTION πŸ¦‹

dspam_clean is used to perform periodic housecleaning on DSPAM's metadata dictionary by deleting old or useless data. Yes, that's the whole main-character job. We love a focused queen. πŸ’…

fair warning, bestie: dspam_clean has no effect if you use the "hash" storage driver. In that case, you should use the tools cssclean and csscompress (which do not currently have manual pages). not me having to tell you the sidequest tools are undocumented 😭

✨ OPTIONS ✨

raw-page formatting tea β˜•: the original fuses these as -sPerforms, -pDeletes, and -uDeletes, but the actual flags are -s, -p, and -u. formatting chaos, but we move. 🫢
  • --profile=PROFILE β€” Specify a storage profile from dspam.conf. The storage profile selected will be used for all database connectivity. See dspam.conf for more information.
  • -s (-s[signature_life]) β€” Performs stale signature purging. If a value is specified, the default value of 14 days will be overridden. Specifying an age of 0 will delete all signatures from the user(s) processed. bye-bye stale sigs πŸ‘‹
  • -p (-p[probability_life]) β€” Deletes all tokens from the target user(s) database whose probability is between 0.35 and 0.65 (fairly neutral, useless data). If a value is specified, the default life of 30 days will be overridden. It's a good idea to use this flag once with a life of 0 days for users after a significant amount of corpus training. neutral-token cleanup, very demure, very mindful πŸŽ€
  • -u (-u[sl,hcl,shl,ihl]) β€” Deletes all unused tokens from a user's dataset. Four different life values are used:
    • sl β€” Stale tokens which have not been used for a long period of time
    • hcl β€” Tokens with a total hit count below 5 (which will be assigned a hapaxial value by DSPAM)
    • shl β€” Tokens with a single spam hit
    • ihl β€” Tokens with a single innocent hit

Ages may be overridden by specifying a format string, such as -u30,15,10,10 where each number represents the respective life. Specifying a life of zero will delete all unused tokens in the category.

  • user1 user2 ... userN β€” Specify the username(s) to perform the selected maintenance operations on. If no username is specified, all users are processed. group chat says everyone gets maintenance πŸ’–

πŸ’€ EXIT VALUE πŸ’€

  • 0 β€” Operation was successful.
  • other β€” Operation resulted in an error.

Copyright Β© 2002-2012 DSPAM Project All rights reserved.

For more information, see http://dspam.sourceforge.net.

🌈 SEE ALSO 🌈

dspam(1), dspam_admin(1), dspam_crc(1), dspam_dump(1), dspam_logrotate(1), dspam_merge(1), dspam_stats(1), dspam_train(1)

xoxo, DSPAM Β· Apr 17, 2010 Β· dspam_clean(1) πŸ’…

πŸ“¦ where this page comes from