Questions tagged [ssmtp]
74 questions
18
votes
8 answers
Linux configuration -- ssmtp: Cannot open smtp.gmail.com:587
Hi I have RHEL5 with ssmtp installed on it ssmtp-2.61-22.el5.i386.rpm
my /etc/ssmtp/ssmtp.conf updated as below…
![](../../users/profiles/5863866.webp)
Chandramani
- 313
- 1
- 2
- 7
11
votes
2 answers
sSMTP no longer works - 'Invalid response: 501 5.5.4 HELO/EHLO argument MYEMAILADDRESS@gmail.com invalid, closing connection.'
As the title/tags say, I run sSMTP on Linux for a PHP server.
Whenever I try to send an email, I get these errors (that do not show up in PHP, only in the logs/ 'sudo service sendmail status' or 'sudo service php5-fpm status')
From…
![](../../users/profiles/6037497.webp)
Tony Sesek
- 195
- 1
- 2
- 9
9
votes
4 answers
How to fix error with sending email using gmail?
I want to send email in my php/laravel app in ubuntu 18 under Digital Ocean and I found this
https://semantiko.com/how-to-fix-php-mail-function-on-ubuntu-server/
article
I filled related config files and send several email and I found in…
user2054381
7
votes
4 answers
Setting up sendgrid for rails..returning Authorization error
The emails now send from my local, but do not send from my box. I am returned this error. Anyone know what this might be?
Net::SMTPAuthenticationError (535 5.7.8 Error: authentication failed: authentication failure
):
My environments/production.rb…
![](../../users/profiles/93311.webp)
Trip
- 25,831
- 41
- 146
- 260
6
votes
1 answer
Is there any solution to execute binary in container that mount from host?
In my case , I have installed ssmtp package on my Unix based host .
Because of some reason , the best way in my situation is using ssmtp binary(under /usr/sbin) on my host to send mail (html file) in my APP container .
I attemp to mount the host…
![](../../users/profiles/4365123.webp)
Carr
- 2,331
- 1
- 16
- 25
4
votes
1 answer
How to change sender name in ssmtp?
I have installed ssmtp on my Linux server. Apache server works under www-data user, and send mail from ssmtp. In recieved emails I see www-data in sender name. How can I change it?
Here`s my…
![](../../users/profiles/4108542.webp)
Artem
- 493
- 5
- 19
3
votes
3 answers
how to send mail in python ssmtp vs smtplib
I need to send email in delbian linux. How to send? I run my server on 256 MB linux box and I heard postfix and sendmail is overkill.
Recently I came across the ssmtp, that seems to be an executable, needs to be executed as a process and called…
![](../../users/profiles/43056.webp)
Krish
- 903
- 2
- 16
- 25
3
votes
1 answer
ssmtp: 550 invalid DNS MX or A/AAAA resource record
I am trying to send a mail from centos machine, but I came to a problem. I have installed "mail" and ssmtp inside my linux machine and I got this response when I try to send a mail.
ssmtp: 550 invalid DNS MX or A/AAAA resource…
user7030890
3
votes
1 answer
inserting system date into subject field of ssmtp email
I'd like to know the syntax for inserting the current date/time into the subject line of an email sent by ssmtp.
I've got a cronjob emailing the tail of my syslog whenever the system reboots.
Here is the the cronjob:
@reboot tail -1000…
![](../../users/profiles/2418372.webp)
user2418372
- 33
- 4
3
votes
2 answers
sSMTP rewriting "From" field in emails
My problem is that whenever my server sends emails, the sender field gets overwritten.
From: should be: Web Site Name
But email is delivered to the address from:
World Wide Web Owner
Or while sending the…
![](../../users/profiles/1518126.webp)
Scott
- 5,309
- 15
- 31
- 40
2
votes
0 answers
Crontab/sSMTP Raspberry Pi sending mail from crontab
I'm having a problem where I made a shell file to send me an email. I then put this shell file to be run by crontab at reboot (I reboot daily at 5am before I go to school) sSMTP works already because when i goto the /usr/scripts directory and i run…
![](../../users/profiles/7412512.webp)
sjfklsdafjks
- 139
- 2
2
votes
1 answer
Using ssmtp to send HTML e-mails with mail (sendmail)
I configured my ssmtp as…
![](../../users/profiles/1444115.webp)
Bhesh Raj Sejawal
- 459
- 1
- 5
- 17
1
vote
1 answer
How to send email using ssmtp
I am attempting to write a script which send emails containing log messages...
Firstly, I have installed ssmtp and configured /etc/ssmtp/ssmtp.conf as follows:
#
# Config file for sSMTP sendmail
#
# The person who gets all mail for userids < 1000
#…
![](../../users/profiles/14997325.webp)
Dario Corrada
- 21
- 5
1
vote
0 answers
Formatting emails from crontab with ssmtp
I've seen a number of examples on how to setup ssmtp but can't seem to find clear answers how to configure crontab to send data to an email.
What I want to accomplish is a crontab config that will send emails with system stats
every 12 hours
at…
![](../../users/profiles/3002166.webp)
user3002166
- 580
- 5
- 20
1
vote
0 answers
SSMTP configuration works on Debian, but not on CentOS: (`Cannot open mail.domain.com:587`)
I have the same version of ssmtp installed on Debian 9 and CentOS 7.
Debian:
~# ssmtp -V
sSMTP 2.64 (Not sendmail at all)
CentOS:
# ssmtp -V
sSMTP 2.64 (Not sendmail at all)
I have identical configurations in /etc/ssmtp/ssmtp.conf for both…
![](../../users/profiles/7023816.webp)
Cameron Hudson
- 1,573
- 1
- 14
- 18