SUP-SYNC-BACK-MAILDIR(1)
π SUP-SYNC-BACK-MAILDIR(1) π
okay bestie, welcome to sup-sync-back-maildir β yeah it's a whole mouthful but it's so worth it, i promise π«Ά this is the manual page for the tool, and by the end you're gonna be syncing like a main character, no cap.
β¨ NAME β¨
sup-sync-back-maildir β export Xapian entries to Maildir sources on disk π
πΈ SYNOPSIS πΈ
sup-sync-back-maildir [options] [source uri...]
π¦ DESCRIPTION π¦
so basically? this script goes through the Xapian entries for a Maildir source you give it and renames the e-mail files on disk β like, it changes the maildir flags β to match up with the labels stored in the index. it's giving "make the disk match the vibes." β¨
the whole point is it exports all the changes you made in Sup out to your Maildirs, so they can then be propagated to your IMAP server with, like, offlineimap. iconic behavior honestly.
it also goes the other way a little bit: the script merges some Maildir flags into Sup, like R (replied) and P (passed, forwarded). for example, say you have an e-mail file like this:
foo_bar:2,FRS
where the flags are favorite, replied, seen β and its Xapian entry has the labels 'starred'. the merge operation will add the 'replied' label to the Xapian entry. see how that works? cute, right? π
if you choose not to merge (-m) you will lose information ('replied'), and in that same example the file will be renamed tofoo_bar:2,FS. not the slay you want. π
running this script is strongly recommended when you're setting the "sync_back_to_maildir" option from false to true in config.yaml, or when you're changing the "sync_back" flag to true for a source in sources.yaml. do it. trust. π«Ά
and if you don't give it any source at all? the default behavior is to sync back all Maildir sources that are marked as usual and that haven't disabled sync back using the configuration parameter sync_back = false in sources.yaml.
π OPTIONS π
-n,--no-confirmβ don't ask for confirmation before synchronizing. just go, bestie, no questions asked.-m,--no-mergeβ don't merge the new supported Maildir flags (RandP). remember the warning up there β¬οΈ you lose info this way.-l,--list-sourcesβ lists your Maildir sources and then dips (exits). a little vibe check on what you've got π-u,--unusual-sources-tooβ sync the unusual sources too, but only if no specific source information is given. giving them their moment π«Ά--versionβ prints the version and exits. simple. clean. β¨-h,--helpβ shows a brief help message. the lil mini-tutorial π
π FILES π
$HOME/.sup/sources.yamlβ the configuration file for Sup mail sources. this is where the whole source situation lives π
π SEE ALSO π
sup(1), sup-add(1), sup-config(1), sup-dump(1), sup-sync(1), sup-tweak-labels(1)
the whole friend group fr fr π
π REPORTING BUGS π
you are welcome to submit bug reports to the Sup issue tracker, which lives at:
<https://github.com/sup-heliotrope/sup/issues>
please do, they wanna hear it π«Ά
β CONTACT INFORMATION β
- The Sup web page:
<http://supmua.org/> - Code repository:
<https://github.com/sup-heliotrope/sup/> - Sup Wiki:
<https://github.com/sup-heliotrope/sup/wiki/> - Sup IRC channel:
#sup @ freenode.net - Mailing list:
supmua@googlegroups.comsupmua+subscribe@googlegroups.com- Archives:
<https://groups.google.com/d/forum/supmua/>
come hang out, iykyk πΈ
π COPYRIGHT π
Copyright Β© 2006-2009 William Morgan <mworgan-sup@masanjin.net>
Copyright @ 2013-2014 Sup developers
Permission is granted to copy and distribute this manual under the terms of the GNU General Public License; either version 2 or (at your option) any later version. π
π§ AUTHORS π§
Sup was originally written by William Morgan <wmorgan-sup@masanjin.net> and is now developed and maintained by the Sup developers. legends, honestly π
and that's the whole page, bestie!! this was the Sup User Manual, dated August 25, 2014, for SUP-SYNC-BACK-MAILDIR(1). now go forth and sync, you absolute icon πβ¨π
π¦ where this page comes from
- debian bookworm: sup-mail 1.1-1 Β· GPL-2.0-or-later
- debian trixie: sup-mail 1.3-1 Β· GPL-2.0-or-later
- ubuntu jammy: sup-mail 1.0-6 Β· GPL-2.0-or-later
- ubuntu noble: sup-mail 1.1-1 Β· GPL-2.0-or-later
- ubuntu questing: sup-mail 1.3-1
- ubuntu resolute: sup-mail 1.3-1build1 Β· GPL-2.0-or-later
- ubuntu stonking: sup-mail 1.4-2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms