smd-client(1)
π smd-client β the manual page, but make it a group chat π
okay so bestie, this is smd-client(1) from the Sync Mail Dir (smd) docs, and I'm gonna walk you through it like we're texting at 2am. sit down, hydrate, let's go π
β¨ NAME β¨
smd-client β receives diffs and performs actions π
like. it gets the diff. it does the thing. that's the whole job. iconic behavior tbh π
β¨ SYNOPSIS β¨
smd-client [-v|--verbose] [-d|--dry-run] [-t|--translator]
[-l|--local-sync] [--rename-only]
[--override-db dbf] endpoint mailboxes
so the vibe is: you give it an endpoint and your mailboxes, and all the flags are optional little sprinkles on top π§β¨
β¨ DESCRIPTION β¨
smd-client needs two things, and honestly? same.
- a name (
endpoint) for the client β and no cap, this name must not be used by others π« - a list of mailboxes (which are directories, just so we're clear)
and then it justβ¦ waits. on stdin. for a mail dir diff πΈ it's giving patient queen.
when the diff arrives, smd-client attempts to execute those actions β and along the way it may ask for stuff by printing data commands on stdout, and it expects the data back on stdin. it's a whole conversation. a dialogue. a little back-and-forth moment fr fr π¬
β¨ OPTIONS β¨
-t,--translatorβ specify a program that translates remote mailbox names into local ones. and okay, a fun detail: the translatorcat(aka the identity program, the "does nothing" queen) is optimized away β¨ so it just gets skipped entirely. lowkey efficient.-l,--local-syncβ local synchronization mode π and listen, no changes is made to the db-file becausesmd-servertakes care of it. so don't you worry about the db, she's handled π--rename-onlyβ do not synchronize the mailboxes at all π instead it generates the script~/smd-rename.shso you can uniform the file names in the mailbox. just a lil rename script, sitting in your home dir, waiting for you π- *
--override-db*dbfβ usedbfas the db-file. that's it. that's the whole thing. swap the db, slay π¦ -v,--verboseβ increase program verbosity (printed onstderr) π’ louder. chattier. more words. we love a talkative icon.-d,--dry-runβ do not perform any action for real π just. pretend. rehearse. manifest the sync without actually doing it. main character dress rehearsal energy π«Ά
β¨ NOTES β¨
heads up bestie βsmd-clientis a low level utility. you should use higher level tools likesmd-pull(1)andsmd-push(1)π‘ like yes you can use this directly, but it's the raw ingredient, not the meal. use the fancy ones unless you know exactly why you're here.
β¨ SEE ALSO β¨
go read them, they're the rest of the lore ππ
β¨ AUTHOR β¨
Enrico Tassi <gares@fettunta.org> β thank you for your service, king π
and that's the whole page, no notes, no cap, you're basically a smd-client expert now π
this masterpiece dropped on 21 April 2021, and it lives in the Sync Mail Dir (smd) documentation, page smd-client(1). periodt. π
β¨π
π¦ where this page comes from
- ubuntu jammy: syncmaildir 1.3.0-1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms