Skip to main content

Questions tagged [msmtp]

The tag has no usage guidance.

9 questions with no upvoted or accepted answers
7 votes
1 answer
5k 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" ...
joharr's user avatar
  • 373
0 votes
0 answers
58 views

Is it possible to configure dkim signing outgoing emails with msmtp?

Is it possible just install opendkim, generate keys, and specify some options for msmtp to automatically send dkim-signed email? My server (Ubuntu 20.04) uses msmtp-mta with following config. defaults ...
Ivan Doronin's user avatar
0 votes
0 answers
274 views

errormsg='the server sent an invalid reply' exitcode=EX_PROTOCOL

I have a php program that uses msmtp. I have two msmtp accounts defined in my local .msmtprc file. One works the other gives me the error message in the title. The account "george" works. ...
George 's user avatar
0 votes
1 answer
228 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 ...
janeden's user avatar
  • 435
0 votes
1 answer
750 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 "...
Daniel Doherty's user avatar
0 votes
1 answer
209 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 ...
Roxy's user avatar
  • 379
0 votes
1 answer
449 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 ...
ShadowPrince's 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: ...
Gordon Fontenot's user avatar
0 votes
1 answer
877 views

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

This works: echo "yada yada" | msmtp [email protected] but not this: cat yadayada.txt | msmtp [email protected] which delivers the email with empty content. Why does echo work through pipe but not cat ...
user19496's user avatar
  • 1,520