Questions tagged [msmtp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 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
198 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
1 vote
1 answer
488 views

getting errors trying to send email using msmtp

I'm trying to get email working with msmtp (I used to have fetchmail+procmail for incoming and msmtp for outgoing---trying to restore that), but I'm getting the same errors when sending to different ...
Jim Graham's user avatar
6 votes
1 answer
4k 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
  • 363
0 votes
1 answer
198 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
  • 425
2 votes
1 answer
4k 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 : ...
Rayen Ben Said's user avatar
3 votes
1 answer
7k 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 ...
iLW's user avatar
  • 161
2 votes
1 answer
1k 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 ...
Leslie Rhorer's user avatar
0 votes
1 answer
701 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
1 vote
1 answer
658 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?
Ishwar Chandra Tiwari's user avatar
0 votes
1 answer
200 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
2 votes
1 answer
271 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. ...
xpt's user avatar
  • 8,651
10 votes
2 answers
6k 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-...
xpt's user avatar
  • 8,651
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 ...
cp.engr's user avatar
  • 242
6 votes
2 answers
7k 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 ~/....
Noor's user avatar
  • 266
0 votes
1 answer
419 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
871 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,490
0 votes
1 answer
338 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 ...
KAction's user avatar
  • 359
2 votes
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 ...
Federico klez Culloca's 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 [email protected] Fri Dec 10 12:10:20 2010 Date: Fri, 10 Dec 2010 12:10:20 -0500 From: Name Name <[email protected]> To: {...
phwd's user avatar
  • 451
0 votes
1 answer
608 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 ...
bias's user avatar
  • 53