Questions tagged [msmtp]

23 questions
11
votes
2 answers

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-mta, the regular MTA, a better option? Also, All…
xpt
  • 9,385
  • 44
  • 120
  • 178
10
votes
2 answers

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" app password (Sign in with App Passwords). sending email…
joharr
  • 425
7
votes
2 answers

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 ~/.msmtp.log account iisr host smtp.yandex.com port…
Noor
  • 286
3
votes
1 answer

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 passphrase. The process has completed…
iLW
  • 161
2
votes
1 answer

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 non esistente loaded user configuration file…
2
votes
1 answer

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 hosts (assuming it's my .msmtprc). The error…
2
votes
1 answer

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 : postfix/smtpd - This is typically the SMTP daemon…
Rayen Ben Said
  • 91
  • 2
  • 3
  • 9
2
votes
1 answer

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 maintained. I tried, but was unable to get exim4…
2
votes
1 answer

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. However when configuring it again in my new…
xpt
  • 9,385
  • 44
  • 120
  • 178
1
vote
1 answer

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 To: {0xFACEB00C>>2 in decimal}@fb.com Subject:…
phwd
  • 451
1
vote
1 answer

Why does email monitoring via msmtp (for a mdadm RAID) work via user but fails when run through sudo?

I just set up a RAID 1 array using mdadm on Debian. I am trying to enable mdadm email monitoring using msmtp. I am following the msmtp documentation (https://marlam.de/msmtp/msmtp.html#Examples) and want to store my Gmail app password using either…
1
vote
1 answer

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 "authinfo" that takes a hostname on the command…
1
vote
1 answer

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
  • 111
1
vote
1 answer

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 10 range, if not longer. How can I fix it? I'm…
cp.engr
  • 242
0
votes
1 answer

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 protocol smtp auth on from user password tls…
1
2