Questions tagged [ssmtp]

Simple MTA to deliver mail through a mail relay.

58 questions
1
vote
1 answer

Send email from Debian Sqeeze via Microsoft Exchange

I am currently in the final stages of building a website which is going to use PHP to send out emails. The domain for the company the site is for, is already using the domain's MX record to point to the company's Exchange server. My dedicated server…
danbroooks
  • 131
  • 5
1
vote
2 answers

linux, change "email from" address for user

I have ssmtp installed in order to use the company server to send emails from the machine. The problem is that the server is outlook and the emails have the "reply to" set to the user name: "root". This greatly upsets the outlook server, because it…
cristi
  • 565
  • 4
  • 18
1
vote
1 answer

Centos 5.xx Nagios sSMTP mail cannot be sent from nagios server, but works great from console

I spent last 3 hours of reasearch on how to get nagios to work with email notifications, i need to send emails form work where the only accesible smtp server is the company's one. i managed to get it done from the console using: mail…
adam
  • 11
  • 2
1
vote
1 answer

sSMTP on Ubuntu: "ssmtp: Cannot open smtp.gmail.com:587"

I have configured sSMTP on Ubuntu and it worked fine yesterday. But today when I am trying to send email it shows "ssmtp: Cannot open smtp.gmail.com:587" error message. $ apt-get install ssmtp $ vi…
Jerry
  • 179
  • 2
  • 8
  • 19
1
vote
0 answers

How to configure SSMTP to use the hostname from the host instead of hardcoding it in ssmtp.conf?

I want to deploy the ssmtp config to multiple machines and not have to hardcode the hostname to /etc/ssmtp/ssmtp.conf How can I do this?
sorin
  • 7,668
  • 24
  • 75
  • 100
1
vote
0 answers

Sending email with ssmtp From value issue

I am trying to send an email from my cron script using ssmtp, the email is working fine but the "From" value is always showing Ubuntu which I don't want to use because I need to use something like From="Cron Report…
Always Sunny
  • 111
  • 3
1
vote
1 answer

Using stunnel as proxy between SSL versions for SMTP with STARTTLS

I have a quite old software which doesn't support TLS 1.2. However SMTP Server only supports TLS 1.2. Now I wanted to use stunnel to connect to SMTP server and and also listening for smtp access. I have already a valid certificate for this server.…
Hannes
  • 157
  • 8
0
votes
0 answers

Sending mail with ssmtp over IPv4

Apparently DigitalOcean blocks outbound SMTP on IPv6. I can confirm this with telnet as follows: ⟫ telnet smtp.gmail.com 465 Trying 2607:f8b0:400d:c07::6c... > Waits for about 2 minutes before it continues < Trying…
aioobe
  • 361
  • 1
  • 4
  • 15
0
votes
2 answers

Single SMTP server for multiple originating domains (using ssmtp)

Is it OK to use a single SMTP server mail.domain1.com for authenticated mail sending from multiple originating domains other than domain1.com using ssmtp? If yes, what happens with FROM, SENDER, and REPLY-TO headers when an end-user fills a contact…
steakoverflow
  • 153
  • 1
  • 5
0
votes
2 answers

sSMTP: Cannot open smtp server

This is not a duplicate, I'm aware of the other question and it didn't help me. Here's my…
ForceMagic
  • 103
  • 1
  • 1
  • 4
0
votes
1 answer

smtp sending mail as "Charlie &"

I'm trying to use ssmtp to send mail from my jails to the mail hub in one of them. However, the from name isn't properly being renamed. The & isn't being replaced with root so I'm getting mails from Charlie &instead of Charlie Root. This is my…
basbebe
  • 313
  • 2
  • 16
0
votes
1 answer

Issue with sending email notifications using sSMTP and nagios(closed)

I have been fighting with this virtual server for a week to get it to send emails from nagios using sSMTP. I finally today got it to be able to send emails from the telnet, and through the nagios core. but the problem I am having seems to be lying…
Cody
  • 1
  • 3
0
votes
1 answer

Sending mail from perl applications with SSMTP

I am on host-server with Centos 7 and KVM virtualization. I have 2 guest systems which are in routed virtual LAN. One of them is WEB server, the other is a mail server. Web server has hostname example.com and mail server is mail.example.com (both…
tester3
  • 165
  • 2
  • 8
0
votes
1 answer

Crontabs and SSMTP?

I'm trying to send an email through cron and ssmtp. I created a script with this #!/bin/bash printf "Subject:test\n\Test text" | ssmtp email@adress.com The script works fine when run from the prompt but doesn't work through cron. Ssmtp is sending…
axlrose
  • 3
  • 2
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