Questions tagged [ssmtp]

Simple MTA to deliver mail through a mail relay.

57 questions
3
votes
4 answers

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 too long. Is there a way to make it work…
raugfer
  • 221
  • 1
  • 2
  • 5
2
votes
1 answer

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 mail for userids < 1000 # Make this empty to disable…
Oscar Vazquez
  • 141
  • 1
  • 8
2
votes
0 answers

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 entry, but the TO: header is always the user…
brandeded
  • 1,845
  • 8
  • 32
  • 50
2
votes
1 answer

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 address : contact@mydomain.fr Authentication method :…
vmonteco
  • 119
  • 1
  • 5
2
votes
1 answer

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…
Sgoettschkes
  • 189
  • 1
  • 1
  • 9
2
votes
2 answers

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 sender for mta actions sendername =…
James
  • 345
  • 3
  • 11
2
votes
0 answers

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? ssmtp.conf: # Config file for sSMTP sendmail # #…
user66638
  • 377
  • 3
  • 7
  • 21
2
votes
1 answer

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 and everything works fine when I run tests from…
Roger Gilbrat
  • 271
  • 5
  • 9
2
votes
1 answer

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 But email is delivered to the address from: World Wide Web Owner Or while sending the…
Scott
  • 153
  • 1
  • 6
2
votes
2 answers

Sending mail in localhost:25 with Ssmtp

I already have Ssmtp installed and working in a Centos 5.7 machine with Gmail configured. I can send mails in th shell without problems. Now i want to use the ssmtp to allow a web app (installed in the same machine) to send mails but for do this i…
Juan
  • 119
  • 1
  • 2
  • 10
1
vote
1 answer

mailx default FROM: address

I'm setting up email alert for unattended upgrades on ubuntu 18.04. It looks like unattended-upgrades cannot set the 'FROM' address and rely on mailx. On mailx I'm using SMTP so the from address must be qualified. I get error that the from address…
Niro
  • 1,401
  • 4
  • 20
  • 36
1
vote
3 answers

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 of…
user2402244
  • 51
  • 1
  • 2
  • 4
1
vote
1 answer

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 ssmtp email@address.com < msg.txt The other part…
smark91
  • 106
  • 9
1
vote
0 answers

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 have configured SSMTP to use an external server to…
1
vote
2 answers

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-get install sendemail echo "test message" |…
Nash0
  • 111
  • 1
  • 5