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

j2k25 - OpenBSD Hackathon Japan 2025 (rsadowski@)

Fresh from the just concluded j2k25 hackathon in Nara, Japan, Rafael Sadowski (rsadowski@) has published his report on his blog: Week 2: The j2k25 Japan Hackathon We arrived in Nara during the late afternoon. After checking into our hotel, goda@, my wife and I…

via OpenBSD Journal 2025-06-01 10:42

How to trigger a command on Linux when disconnected from power

# Introduction After thinking about BusKill product that triggers a command once the USB cord disconnects, I have been thinking at a simple alternative. => https://www.buskill.in BusKill official project website When using a laptop connected to power …

via Solene'% 2025-05-31 00:00

Improved (maybe) indenting on save

I realized that sometimes identing the whole buffer might not be the desired output. That because if the file is on different identation, your git commit might be hard to follow. Because of that I studied a bit emacs lisp and came up with similar idea. On …

via Lucas E M M. opinions 2025-05-30 11:30

Generated by openring