Questions tagged [ssmtp]

The tag has no usage guidance.

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

Cron process calling sendmail (ssmtp) seemingly succeeds but without actually sending email

I have found several other threads about sendmail or ssmtp failing to send emails through CRON processes BASH scripts, but my issue appears to be a little different. This is not a PATH variable ...
0
votes
1answer
53 views

ssmtp error on trying to send emails

I'm trying to send emails from command line because I need to create a shell script later to send an email. this is my configuration: # # Config file for sSMTP sendmail # # The person who gets all ...
1
vote
0answers
157 views

Possible to rewrite TO: field with ssmtp?

I'm trying to re-write the TO: header in sent emails with ssmtp. I've configured mail sent to root to be sent via ssmtp (by creating a symlink at /etc/sendmail). It is redirected to the /etc/aliases ...
0
votes
0answers
351 views

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 ...
2
votes
1answer
850 views

mail issues “535 Authentication credentials invalid”

I'm trying to send mails from command line with my 1and1 credentials. But if the following configuration worked to send mails from my nexcloud server : send mode : smtp encryption : SSL/TLS from ...
0
votes
2answers
472 views

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 ...
1
vote
1answer
551 views

postfix relay with opendkim

i'm using opendkim + postfix as a MTA for my website , everything is working: mail are signed by DKIM , gmail mark them as "pass" the issue is when i'm using this config as a relay from another vm ( ...
4
votes
3answers
1k views

What characters are illegal in password in ssmtp.conf?

I'm running Ubuntu Server 16.04 with the ssmtp package for sendmail. I've read from a variety of places that you cannot use "special" characters in the password, and I've discovered it's true that I ...
1
vote
2answers
3k views

smtp delivery banner - unable to send mails via outlook

I am unable to send and receive mails via Outlook. I keep getting the following error message from ssmtp. ssmtp: 550 5.3.4 554-554 5.2.0 STOREDRV.Deliver; delivery result banner Here is the content ...
0
votes
2answers
4k views

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 ssmtp.conf: root=info@mydomain.com rewriteDomain=mydomain.com hostname=myHostnameHere FromLineOverride=YES ...
2
votes
1answer
5k views

ssmtp settings for namecheap: Invalid response SMTP Server (STARTTLS)

I am trying to configure ssmtp to use the namecheap smtp server to send emails. My current configuration: root=my@email.com mailhub=mail.privateemail.com:465 rewriteDomain=email.com hostname=email....
2
votes
2answers
1k views

Fail2ban not respecting email settings

In Fail2ban I have set up my email settings as: # Destination email address used solely for the interpolations in # jail.{conf,local} configuration files. destemail = me@hotmail.com # # Name of the ...
4
votes
3answers
2k views

Logwatch is not respecting MailFrom

I've gone through today to setup Logwatch on my server and have installed this all successfully. I've followed this guide on Digital Ocean and set the MailFrom parameter to: MailFrom = mailer@...
2
votes
2answers
1k views

ssmtp root alias doesn't work

my ssmtp doesn't change "To" from 'root' to my email. In my ssmtp.conf I have: root=servers@latina.com In debug output I found only one difference between working and not working commands: working ...
0
votes
1answer
977 views

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 ...
2
votes
0answers
924 views

SSMTP disable root mail sending

I installed SSMTP to easily send emails from cli with GMail. There is a problem that all system messages from root (xy@gmail.com) are sent with email to ubuntuuser@gmail.com. How I can disable this? ...
0
votes
1answer
192 views

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....
0
votes
1answer
344 views

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....
0
votes
1answer
1k views

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 ...
7
votes
1answer
17k views

Why would an SMTP client send a RSET (Reset) command?

I’m trying to understand how exactly an email is processed by Postfix – and some of the finer details of SMTP mail transactions. My short-term goal is to debug a proprietary (binary, closed source) ...
1
vote
1answer
306 views

Relay Mail from an application to Gmail through ssmtp

i want make my linux server to receive mail from an host (LAN but if possible through Internet) and than relay to Gmail. I made the second part with ssmtp let the server send mail through Gmail using ...
0
votes
1answer
576 views

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, ...
0
votes
1answer
368 views

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 . ...
54
votes
7answers
193k views

how to fix “send-mail: Authorization failed 534 5.7.14 ”

I am trying to create e-mail alert on ssh root login so I had to install ssmtp and mail utility. Then I configured ssmtp.conf file as follows : # Config file for sSMTP sendmail # The person who gets ...
2
votes
1answer
5k views

ssmtp won't send cron email

I can't figure out why cron on my AWS EC2 (Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-32-generic x86_64)) can't seem to send email out via sSmtp to AWS SES. This works: echo "test" | ssmtp my@myemail.com ...
2
votes
0answers
697 views

global alias on sSMTP revaliases file

To send mail with sSMTP you have to add aliases for each user on /etc/ssmtp/revaliases My issue: User "user1" tries to send mail with ssmtp user1 don't have an entry in revaliases file ssmtp ...
3
votes
1answer
2k views

Xenserver 6.2 cannot send alert using gmail smtp

I'm using Xenserver 6.2 and configured ssmtp.conf an mail_alert.conf in order to receive alerts through email. I followed the instructions on http://support.citrix.com/servlet/KbServlet/download/34969-...
0
votes
3answers
17k views

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 ssmtp.conf: ...
3
votes
1answer
2k views

nagios: trouble using check_smtps command

I'm trying to use this command to check on port 587 for my postfix server. Using nmap -P0 mail.server.com I see this: Starting Nmap 5.51 ( http://nmap.org ) at 2013-11-04 05:01 PST Nmap scan report ...
0
votes
1answer
445 views

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 ...
1
vote
0answers
562 views

Using SSMTP with PHPMailer

I'm not sure if this need to be posted here or on StackOverflow because I'm not sure if the problem is with PHPMailer or SSMTP. I'm having some trouble sending emails using PHPMailer and SSMTP. I ...
1
vote
2answers
1k views

mail command does not return

On Ubuntu 13.04 I have been trying to send emails from the command line but the mail command will not return. I am running these from inside a putty terminal: sudo apt-get install mailutils sudo apt-...
-5
votes
1answer
3k views

Simple Linux SMTP Server [closed]

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 ...
0
votes
1answer
625 views

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 ...
1
vote
1answer
1k views

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 ...
2
votes
2answers
3k views

Forcing email address cron is sent FROM [duplicate]

I'm running Ubuntu on AWS and am using their SES (Simple Email Service) and sSmtp to email logs since that is the only need for email on the server. I have ssmtp sent up and everything works, except ...
2
votes
1answer
1k views

Error from logwatch while sending mail with ssmtp to SES

I'm running a server on AWS (ubuntu) and I need outgoing email to be able to email log files. To do this I'm using ssmtp and amazon's SES (Simple Email Service). I have the email addresses verified ...
1
vote
2answers
3k views

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". ...
0
votes
1answer
613 views

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 ...
2
votes
1answer
1k views

sSMTP rewritting From field in emails

My problem is that whenever my server sends emails, the sender field gets overwritten. From: should be: Web Site Name <admin@mywebsite.com> But email is delivered to the address from: World ...
1
vote
1answer
631 views

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 ...
3
votes
1answer
2k views

Prevent postmaster@domain.com bounces with sSMTP

Refrased question I have a VPS that only needs to send e-mail, so I don't have a pop3/imap deamon running like courier or dovecot. I have multiple domains that all have mailboxes hosted elsewhere, f....
1
vote
1answer
6k views

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 $ ...
1
vote
0answers
1k views

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?
3
votes
2answers
9k views

sSMTP Unable to send message using external mail server SMTP

I'm trying to finish up my Nagios install by having it email me. It was emailing me using /bin/mail so it always got sent to my spam folders. I installed sSMTP to try to send a request to my work's ...
7
votes
3answers
13k views

Log all mails and content (sSMTP)

How can I log all emails going through sSMTP? I can point my applications to a wrapper script, I just don't know how to write a wrapper script which logs headers and contents to a file (as much ...
5
votes
3answers
9k views

ssmtp - Mail command not found

I've installed ssmtp and I can send emails fine using the ssmtp command. However the mail command doesn't work. How do I set this up?
3
votes
4answers
582 views

PHP+sSMTP Non-Blocking

I am using sSMTP with PHP for e-mail sending and it works fine. The problem is that sSMTP performs the delivery synchronously which adds latency to my PHP scripts, letting the user waiting a little ...
-1
votes
1answer
485 views

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 ...
0
votes
2answers
2k views

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.