umgeher's changelog

mbsync

A alguns dias atras em um pvt…

hmm, como sugestao no seu post do pass, coloca como usar o pass no offlineimap kkk

estou usando outro, vou escrever, vai curtir mais

mbsync/isync e’ um programa para fazer sync de mailboxes. Simples e facil de usar.

.mbsyncrc

CopyArrivalDate yes
Create Both
Expunge Both
Remove Both
Sync All
SyncState *

IMAPAccount umgeher
Host meuHost
User meuUser
PassCmd "pass email/umgeher/me"
SSLType IMAPS
AuthMechs LOGIN

IMAPStore umgeher-remote
Account umgeher

MaildirStore umgeher-local
Path ~/mail/
Inbox ~/mail/inbox

Channel umgeher-drafts
Far :umgeher-remote:Drafts
Near :umgeher-local:drafts

Channel umgeher-inbox
Far :umgeher-remote:INBOX
Near :umgeher-local:inbox

Channel umgeher-sent
Far :umgeher-remote:Sent
Near :umgeher-local:sent

Group umgeher
Channel umgeher-drafts
Channel umgeher-inbox
Channel umgeher-sent

Meu arquivo de configuracao nao tem nada de mais, a unica coisa “diferente” e que recomendo e’ o uso do PassCmd. Com ele nao colocamos nosso password fixo no arquivo de configuracao. Podemos usar outro software para entregar o password ao mbsync. No meu caso eu uso o pass.

Mas poderia ser o gnupg1. Exemplo:

PassCmd "gpg --quiet --no-tty --for-your-eyes-only -d ~/.mbsync-password.pgp"

Assim voce pode ter o seu password guardado de forma segura e simples.

Obrigado ao Lucas por me sugerir mais um assunto.

Articles from blogs I follow around the net

AI: the not-so-good parts

Hey, if you normally read the written form of my talks, I highly suggest watching or listening to the video for this one. The topic I'm covering is something I'm quite passionate about and I don't think that my ton…

via Xe Iaso's blog 2025-01-16 00:00

Emacs? No, emacsclient!

This is a shoutout for all of you who are tired of waiting emacs to load on startup or annoyed to feel forced to leave an instance open. emacsclient can save you from that. All you have to do is to leave an daemon open. Don’t use (server-start) because tha…

via Lucas E M M. opinions 2024-01-16 21:01

Effortless OpenBSD Audio and Desktop Screen Recording Guide

Rafael Sadowski (rsadowski@) has added a new post to his Shut up and hack series, titled Effortless OpenBSD Audio and Desktop Screen Recording Guide, where he takes the reader through the steps needed to configure your OpenBSD system for audio and video reco…

via OpenBSD Journal 2024-01-15 17:07

Generated by openring