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
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:42How 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:00Improved (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:30Generated by openring
/comments ~umgeher/changelog@lists.sr.ht?Subject=Re: msmtp
/permalink https://umgeher.org/posts/2022/01/msmtp.html