Questions tagged [ssmtp]

Simple MTA to deliver mail through a mail relay.

58 questions
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
  • 515
  • 1
  • 4
  • 10
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
  • 501
  • 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,024
  • 10
  • 34
  • 50
0
votes
0 answers

Generating Message-ID for mails sent by crond

On my NixOS installation I have Vixie cron installed, that runs regular jobs. The output for the scripts that are run is sent by e-mail using a ssmtp on the same host, that forwards the mails to my standard mail server (Postfix with rspamd). My…
0
votes
0 answers

SSMTP: Map local user (UID greater than 1000) to an external email address

I've configured SSMTP to send system messages for users with a UID < 1000 in /etc/ssmtp/ssmtp.conf: root=to@mydomain.com rewriteDomain=mydomain.com If I send an email to root (echo test | sendmail -v root) for example it gets properly delivered to…
manifestor
  • 5,329
  • 5
  • 21
  • 33
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…
0
votes
0 answers

Postfix is trying to every email to the sender host

Postfix is trying to send email to the recipient as well as the sender host itself. For example I'm sending the email from server001 and when I check postfix logs, it sends to the recipient as well as the server hostname. server001 is configured to…
user630702
  • 465
  • 6
  • 25
-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
  • 393
  • 1
  • 2
  • 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,818
  • 1
  • 22
  • 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