Questions tagged [ssmtp]

Simple MTA to deliver mail through a mail relay.

57 questions
72
votes
7 answers

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 all mail for userids < 1000 # Make this empty to…
Connect
  • 831
13
votes
4 answers

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 information as possible). Thanks! :-)
9
votes
1 answer

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) SMTP client but I first thought I’d examine what…
8
votes
3 answers

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@mydomain.com I'm using ssmtp to send emails using my…
James
  • 345
6
votes
3 answers

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?
DD.
  • 3,254
5
votes
3 answers

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 cannot escape nor quote the password. I have only…
5
votes
1 answer

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 and I get an email from my local user. This works:…
4
votes
1 answer

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 ( via ssmtp ): As a relay, mails are sent…
vandel
  • 73
4
votes
1 answer

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-102-706058/reference.pdf document. I'm using…
4
votes
2 answers

Forcing email address cron is sent FROM

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 emails sent from cron jobs are being rejected due…
3
votes
2 answers

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 command: echo "body" | mail -s "test"…
3
votes
0 answers

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 generates FROM of the mail like this:…
3
votes
1 answer

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 for mail.server.com (xx.xx.xx.xx) Host is up…
ethrbunny
  • 2,361
  • 4
  • 43
  • 80
3
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
  • 163
3
votes
2 answers

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.e. with Google Apps. The websites on the VPS need…
Björn
  • 131
1
2 3 4