Questions tagged [ssmtp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
30 views

ssmtp fails after second EHLO to google in raspbian

So I'm trying to get ssmtp setup on a raspberry pi for a diy security system. I created a new google account and enabled less secure apps. when I try sending an email it just fails without any error ...
0
votes
0answers
12 views

Crontab Sends blank email

I am writing a cron job that sends an email from a file using sendmail. Running the script manually works fine and uses the contents of the file. My script is just this #!/bin/bash sendmail me@...
1
vote
0answers
215 views

Docker: ssmtp in php container says “Cannot open mail:25”

There is an error if to call php mail function or run it using /usr/sbin/ssmtp -t: Cannot open mail:25 The configuration of /etc/ssmtp/ssmtp.conf root=postmaster mailhub=mail.domain.com ...
0
votes
1answer
581 views

SSMTP can't establish a startssl connection from a Raspberry Pi

I'm trying to set up automated e-mails on my raspberry pi, but it won't negotiate a STARTTLS session. The ssmtp.conf is as follows - root=postmaster mailhub={mailserver}:587 AuthUser={username} ...
0
votes
1answer
19 views

How to turn this send mail command from Posfix to Ssmtp?

I am new to superuser and I got stuck to turn mail command from Posfix to Ssmtp. Here is the command I am solving. THANKS SO MUCH in advance. 00 08 * * * tail -10000 /var/log/nginx/mydomain-access....
1
vote
2answers
239 views

ssmtp myaddress@gmail.com < file.log doesn't work. Body is blank

I'm running a simple rsync script where I log stdout and stderr to two different files, rsync_stdout.log and rsync_stderr.log. When I'm trying to email the content of rsync_stderr.log using: echo $(...
1
vote
2answers
363 views

Cronjob not running script

I've created a script to get my external IP address, check if it's changed and if it has, email it to me letting me know. Here's the script, aptly named ip.sh (server hostname is "odin"): #!/bin/sh ...
0
votes
2answers
389 views

How to direct output of cron job to a specific email address?

So, I almost have this working but I need a little help. I have a perl script that generates log messages. The script is triggered by cron every hour. The emails are getting generated and are sent via ...
0
votes
0answers
113 views

Use ssmtp to a gmail account from a server

I have an Ubuntu server which I'd like to use for sending emails through a gmail account. I use sSMTP, a simple unix email sending client. I double checked my configuration as per http://ubuntuforums....