Questions tagged [msmtp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
699 views

How to continue using msmtp OAuth 2.0 for Gmail in mutt after oob deprecation?

background For two years I've been happily accessing my Gmail accounts with neomutt. I'm sync'ing between neomutt locally and my online Gmail account with mbsync and a "2-Step Verification" ...
user avatar
  • 305
0 votes
1 answer
51 views

Validation for local DKIM signature fails after sending through msmtp

due to my mail provider's setup, I need to DKIM sign my messages locally. I do this by piping messages composed in mutt through a simple Python script to msmtp. These messages will fail a DKIM check ...
user avatar
  • 415
1 vote
1 answer
907 views

Difference between SMTPd and SMTP

Hi can someone tell me what is the difference between the SMTPd and SMTP ?? i found that smtp is Postfix SMTP client and smtpd is Postfix SMTP server is this real ??? I found other information : ...
user avatar
0 votes
1 answer
3k views

Cannot find gpg.conf and gpg-agent.conf using gpg 2.2.12 on Raspbian Buster

I am using gpg to encrypt my email password that I pass on to msmtp in order to send email. I initially ran gpg --full-gen-key to generate a pair of keys. During the process, it asked me for a ...
user avatar
  • 121
2 votes
1 answer
387 views

How do I get mdadm to send its emails via msmtp?

I recently upgraded one of my systems to Debian Buster, and now I cannot get mdadm to send out its email messages. Previously I had ssmtp configured, and it worked just great, but it is no longer ...
user avatar
0 votes
1 answer
461 views

Reason for Failure to read stdin of passwordeval program of msmtp under cron

I use msmtp as the sendmail program on my Ubuntu 18.04 system. Rather than have the password of smtp service sitting in the clear in my msmtprc file, I have written a small ruby program that I call "...
user avatar
1 vote
1 answer
537 views

how to send mail attachment from ubuntu 16.04 using Gmail service?

I have been using filezilla to import/export some data from server. How to send a file in a zip file via email in unix?
user avatar
0 votes
1 answer
147 views

How do I get scripts to run prior to and after sending mail with msmtp?

I would like to use msmtp to send mail on my Linux machine. Before and after sending mail using this tool, I would like to execute some scripts to do some setup and teardown. I don't see an msmtp ...
user avatar
  • 349
2 votes
1 answer
262 views

About Smarthost TLS Fingerprints

How is the smarthost fingerprints determined? Do they depends on only the smarthost, or client as well? I configured my gmail smarthost fingerprint a while back in my old Ubuntu, and it worked well. ...
user avatar
  • 7,381
6 votes
2 answers
4k views

msmtp vs msmtp-mta package, which one to choose?

when installing msmtp under Debian/Ubuntu, which package should I choose, msmtp or msmtp-mta? what's the differences between them? All the help articles I read install msmtp only, but isn't msmtp-...
user avatar
  • 7,381
1 vote
1 answer
1k views

NAS4Free email broken (Gmail)

I have a NAS4Free machine which used to be able to automatically send me emails, like when the system booted, the UPS failed, etc. That feature hasn't been working for me since sometime in the version ...
user avatar
  • 240
6 votes
2 answers
6k views

send mail through msmtp

I've been trying to send mail with msmtp with no success Configuration file: ~/.msmtprc defaults auth on tls on tls_trust_file /etc/ssl/certs/ca-bundle.crt logfile ~/....
user avatar
  • 266
0 votes
1 answer
336 views

msmtp directory for sent mail

After sending message with msmtp -a account1 (integrated with mutt) sended message appears in ~/sent/new, how can I change this directory? .msmtprc: account account1 host smtp.gmail.com port 587 ...
user avatar
0 votes
1 answer
3k views

iCloud rejecting emails sent via smtp with error 550 5.7.0

I'm trying to set up msmtp with a MobileMe/iCloud account. I have 2 other accounts set up, and they both work just fine. But with the MobileMe account, I'm getting an error: msmtp: server message: ...
user avatar
0 votes
1 answer
793 views

Why does echo work through pipe but not cat with msmtp?

This works: echo "yada yada" | msmtp my@mail.com but not this: cat yadayada.txt | msmtp my@mail.com which delivers the email with empty content. Why does echo work through pipe but not cat ...
user avatar
  • 1,420
0 votes
1 answer
259 views

Mutt and msmtp interoperability

I am working on configuring /mutt/ to send mail via /msmtp/. Strangely, if I user /msmtp/ from shell, all okay, that means, that .msmtprc is correct. However, mail sent with mutt do not come. I have ...
user avatar
  • 341
1 vote
1 answer
2k views

local msmtp and ovh hosting

I have my personal email hosted on OVH (personal hosting plan) and I'm not able to send mails using msmtp. Here's a typical session ignoring system configuration file /etc/msmtprc: File o directory ...
user avatar
1 vote
1 answer
2k views

Why does mutt send the content-disposition:inline at the top?

My header from mutt and msmtp setup looks like the following From an.address@gmail.com Fri Dec 10 12:10:20 2010 Date: Fri, 10 Dec 2010 12:10:20 -0500 From: Name Name <an.address@gmail.com> To: {...
user avatar
  • 451
0 votes
1 answer
598 views

How can I use fetchmail (or another email grabber) with OSX keychain for authentication?

Many fetchmail tutorials I've read say putting your email account password clear-text in a config file is safe. However, I prefer security through layers [***silly example:* if my terminal is up and ...
user avatar
  • 53