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

Securing backups using S3 storage

# Introduction In this blog post, you will learn how to make secure backups using Restic and a S3 compatible object storage. Backups are incredibly important, you may lose important files that only existed on your computer, you may lose access to some e…

via Solene'% 2024-10-22 00:00

Docker builds over SSH

Plan 9 clustering at home

via Xe Iaso's blog 2024-10-18 00:00

Restclient is dead… Now we have verb!

Recently I found an interesting mode in emacs to manage and run http requests! enjoy! heheh

via Lucas E M M. opinions 2024-10-16 15:26

Generated by openring