home · contact · privacy
Set up mail sending via emacs.
[config] / buster / home_files / user_eeepc / .mbsyncrc
index cab35a77e98a7f61734f127c6db70fb174d0a5e6..902c01acb03afc33e54e19633426e3dfb4acf864 100644 (file)
@@ -4,7 +4,7 @@ Host core.plomlompom.com
 User plom
 # For some reason, mbsync doesn't accept a PassCmd output beyond 79 chars,
 # therefore ~/.imap_pass should not be longer than that.
-PassCmd "cat ~/.imap_pass"
+PassCmd "cat ~/.auth_info | cut -d' ' -f8-"
 SSLType IMAPS
 AuthMechs LOGIN
 
@@ -24,3 +24,5 @@ Patterns *
 Create Both
 # Save the synchronization state files in the relevant directory
 SyncState *
+# If a mail is marked T ("Trashed") or deleted, remove it for real everywhere
+Expunge Both