Questions tagged [msmtp]
The msmtp tag has no usage guidance.
22
questions
4
votes
1
answer
4k
views
msmtp error: errormsg='the server sent an empty reply' exitcode=EX_PROTOCOL
I see this error message in the log of msmtp. What does it mean? How to fix the problem?
I previous used tor's socks proxy and I don't see this message. But when I switch the proxy to a shadowsocks ...
3
votes
3
answers
4k
views
PHP's mail() function working in CLI but not in Apache
I'm using msmtp as a relay and trying to send an email with the mail() function. It works perfectly in CLI, but does nothing in Apache. My PHP configs for cli and apache are identical, there are no ...
2
votes
1
answer
1k
views
SELinux preventing Fail2Ban from emailing notification via msmtp
I have msmtp as a null client connecting to my AWS SES account for SMTP, delivering alerts such as cron, monit and soon hopefully Fail2Ban to my email addresses. However, Fail2Ban isn't playing ball, ...
2
votes
1
answer
3k
views
Forwarding emails from postfix to exchange server?
I have some web application which is used as a webmail client to exchange. I can pull emails from exchange server via IMAP, but problem is at sending mails.
Application is using MSMTP client to send ...
2
votes
2
answers
876
views
Can't send mail via php with msmtp
I want the server able to send mail via gmail smtp.
The installation of msmtp was successful. I able to send using msmtp via the command line. However, when I try to send via php, it got me this error....
2
votes
1
answer
733
views
Smartd unable to send mail
I have a CentOS 8-stream server. I was setting up smartmontools to monitor my drives. The MTA is msmtp. To test the setup, I modified my smartd.conf by adding:
/dev/sda -a -m [email protected] -M test
...
1
vote
2
answers
952
views
msmtp and OVH mail
I'd like to send a mail when a user authenticates on a Debian 9 server. I use OVH mail server. I've set up msmtp like so :
account myaccount
tls_starttls off
logfile ~/.msmtp.log
host ssl0.ovh.net
...
1
vote
1
answer
390
views
msmtp sendmail substitutions don't work (%U etc.)
I'm running msmtp 1.8.3-1 on Debian buster, and it's configured and everything works except the sendmail substitutions.
I have a from %[email protected] line in my /etc/msmtprc file but I can't ...
1
vote
1
answer
415
views
How can I get msmtp to send system messages to my email?
I used to use ssmtp on Debian Stretch. Whenever there are system emails, they would get sent to my admin email. It was quite good because I would get a report on all my servers. This was true until in ...
1
vote
1
answer
7k
views
PHP mail() function working from command line but not working with apache
My problem is that php script which has to send mail doesn't send it if I run it in browser, but works in cli.
This doesn't help
PHP's mail() function working in CLI but not in Apache
In both /...
1
vote
0
answers
126
views
Request tracker v4 in CentOS 6.2 returned 74
I have installed the RT v4 in CentOS
and I have this message:
Nov 11 20:57:54 ticket RTmailer: CALL msmtp -nt -oi -t RETURNED 74
If I run "msmpt" command from the shell it works fine.
/opt/rt4/etc/...
0
votes
1
answer
585
views
Is it possible to setup msmtp for proper authentification in a Dockerfile?
I am running a php:7.2-apache container and I want to send mails. As ssmtp is retired, I want to use msmtp but I face authentication problems with msmtp.
My goal: Setup msmtp for a docker container ...
0
votes
2
answers
490
views
install msmtp amazon linux
My goal is to get the PHP mail() function to work on Amazon Linux. So the best option seems to be to install msmtp (found in EPEL repository) but I get a dependency error.
I run run sudo yum --...
0
votes
1
answer
1k
views
Request Tracker and msmtp error (RETURNED 78)
I have Request Tracker 4.4 up and running. Sometimes email messages that it sends are going to spam. So I decided to use msmtp to send messages through SMTP with authentication.
I used this manual: ...
0
votes
1
answer
148
views
How to send Monit alerts with MSMTP?
I've got a Debian 11 system running as a local file server. I want to keep it as simple as possible but have some basic monitoring from Monit. I've installed and configured msmtp and msmtp-mta and I'...
0
votes
0
answers
919
views
Sending mail with msmtp failed -no such file or directory
at the moment I try to send mails with msmtp from my Debian Buster vServer to my mail address. I've installed and configured msmtp like many tutorials. But when I test it I just get the error message
...
0
votes
1
answer
714
views
postfix - error sending email
When I try to send an email using mutt (and msmtp) i get the following error:
msmtp: envelope from address [email protected] not accepted by the server
msmtp: server message: 530 5.7.0 Must issue a ...
0
votes
1
answer
35
views
Will msmtp fallback to unencrypted connections if encrypted connections fail?
My ~/.msmtprc config file says to connect to a server on port 25 with tls on and tls_starttls on. Is there a risk that, if the encrypted connection setup fails for some reason, then msmtp will ...
0
votes
1
answer
432
views
Postfix Illegal address syntax from docker container in MAIL command when sending email from php
I'm trying to setup email with postfix image and msmtp from php. Sending emails from command line works from wordpress container to postfix using msmtp (I'm using docker compose but I think it's not ...
0
votes
0
answers
59
views
K8s & Docker - ideal image design for sensitive params on GCP
I'm working on a Docker image that bundles Apache with PHP7 and uses msmtp for Sendgrid integration. The reason I like msmtp is there is no separate running process so it bundles nicely without need ...
0
votes
1
answer
592
views
Request Tracker and msmtp multiple accounts
I have Request Tracker 4.4 succesfully set up to use msmtp to send emails using account "[email protected]" (used this manual: https://rt-wiki.bestpractical.com/wiki/Msmtp).
But, I need to send mail ...
-1
votes
1
answer
1k
views
aliases not working when sending email using 'mail' and 'msmtp' [closed]
I have a Raspberry Pi and installed msmtp, msmtp-mta and mailutils. I send emails via Google SMTP and it works great for specific email addresses. If I try to send emails to "root" it works ...