Questions tagged [ssmtp]

Simple MTA to deliver mail through a mail relay.

57 questions
0
votes
1 answer

Sending outgoing mail from multiple e-mail accounts (of different domains hosted on the same server) using sSMTP

I'm hosting multiple domains in my public html folder of an ubuntu-nginx vps server. And I currently have my 'ssmtp.conf' file set up successfully to send outgoing mail(contact, registration, verification, forgot password etc using php 'mail()')…
Aj334
  • 1
0
votes
1 answer

Unable to send external email via crontab

I'm trying to send email out from crontab. I've tried making crontab run a basic shell script, as well as specifying the actual command within the crontab. I've tried doing this with mpack and ssmtp . I've noticed that if i execute the command or…
Vince
  • 1
0
votes
3 answers

linux ssmtp error Cannot open smtp.gmail.com:587

I can not route may emails vie gmail.com. I use ssmtp facility. My config files in /etc/ssmtp are root:yyyyy@gmail.com:smtp.gmail.com:587 maciek:yyyyy@gmail.com:smtp.gmail.com:587 and…
mackowiakp
  • 259
  • 2
  • 3
  • 10
0
votes
1 answer

SSMTP and .forward

I configured the SSMTP in a ubuntu server 13.04. Configured the root user email address. Everything works correctly. But, now I want to configure the "~/.forward" to send all emails to another address. I created the file at the root user home…
Beto Neto
  • 595
  • 1
  • 4
  • 11
0
votes
1 answer

Send mail with ssmtp without creating a file

I am able to send an email using ssmtp using the following command line : ssmtp my@email.com < ./textfile.txt ...but I want to send a message from a cron task, and on the fly, without creating the file. I tried ssmtp my@email.com < echo "Text body…
Josef van Niekerk
  • 511
  • 4
  • 8
  • 15
0
votes
1 answer

Ubuntu 12.10 Sendmail cannot connect ip:25

I have recently set up an old box with Ubuntu 12.10 and LAMP running on it. I am using php as my cron jobs and would like to send an email as part of the scripts. I have set up sSMTP / Sendmail instead of a full mail server because there is already…
AzzerB
  • 101
0
votes
2 answers

sSMTP From Address

Is there a way to configure sSMTP to use a different name when sending emails? I dont want my emails to my linux account as the username.
DD.
  • 3,114
  • 11
  • 35
  • 50
0
votes
0 answers

A script can send emails when I run it manually, but not when run by crontab

I've written a script that emails me some information using ssmtp from an Ubuntu server. It works fine when I run it as root, but it fails when it's run with root's crontab. I can see this error in the logs: Unable to set From="me@example.com" This…
nadrad
  • 1
0
votes
2 answers

ssmtp don't work and don't want to log

I've configured SSMTP to send mail, but the problem is that i can't send mail from my webserver and there is no logs in /var/log. Sometimes, i've got Sender mismatch in apache logs. My config : Debian 11, and webserver into a Docker container. This…
Matancy
  • 105
  • 3
-1
votes
1 answer

How to setup SMTP receiver, without postfix, sendmail or other complex software

I have successfully configured ssmtp to send emails from our local server (using a single external mail account) for sending reports, build results and so on. The other task is to let our software we are tesing to send email via this linux box, so…
Illarion Kovalchuk
  • 443
  • 1
  • 3
  • 11
-1
votes
1 answer

Is it safe to make ssmtp SUID root?

I'm using ssmtp, and I would like to not make my /etc/ssmtp/ssmtp.conf world-readable, because it has my gateway password in cleartext. But if it is mode 600, then ssmtp run as an unprivileged user errors out with "ssmtp: Cannot open mailhub:25",…
Jo Liss
  • 2,878
  • 2
  • 23
  • 23
-5
votes
1 answer

Simple Linux SMTP Server

I need to provide 3 SMTP servers for clients to use for printers and scanners that require an SMTP server to send email out, they will be load balanced with DNS round robin. All I need it to do is send out email as an open relay (it will be behind a…
Riley
  • 103
  • 2
  • 14
1 2 3
4