umgeher's changelog

msmtp

A alguns dias atras em um pvt…

mate, uma duvida: vc usa algum tipo de security pra enviar email? eu devo me preocupar pra comecar a usar um? obviamente uso mutt ainda =] com msmtp

sim. hehehe. pqp

msmtp e’ um programa super facil e simples de usar, e praticamente 100% de compatibilidade com o sendmail. Perfeito para usar com o melhor de todos os MTA IMHO. O mutt (eu ainda vou escrever sobre ele).

.msmtprc

account default
host meuHost
port 587
protocol smtp
auth on
from me@umgeher.org
user umgeher
passwordeval "pass email/umgeher/me"
tls on
tls_nocertcheck

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

Mas poderia ser o gnupg1. Exemplo:

passwordeval "gpg --quiet --no-tty --for-your-eyes-only -d ~/.msmtp-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

OpenBSD 7.7 Released

The OpenBSD project has announced OpenBSD 7.7, its 58th release. The new release contains a number of significant improvements, including but certainly not limited to: Multiple SMP improvements have been made. TCP output and TCP timers now run in parallel. Only TC…

via OpenBSD Journal 2025-04-27 18:30

Running repl commands in cider (emacs)

Ok, I will admit.. this took a while. But I have found a nice way of doing this. What is this? Well, let’s say let’s say that you have a command to start your server in user namespace. With this cool feature, now you can run this with a emacs command (or s…

via Lucas E M M. opinions 2025-04-23 19:46

Resistance from the tech sector

As of late, most of us have been reading the news with a sense of anxious trepidation. At least, those of us who read from a position of relative comfort and privilege. Many more read the news with fear. Some of us are already no longer in a position to read…

via Drew DeVault's blog 2025-04-20 00:00

Generated by openring